RabbitMQ management UI Error: "ReferenceError: display is not defined at Array.process"
search cancel

RabbitMQ management UI Error: "ReferenceError: display is not defined at Array.process"

book

Article ID: 297349

calendar_today

Updated On:

Products

Support Only for OpenSource RabbitMQ

Issue/Introduction

Sometimes, following an upgrade to some versions of RabbitMQ, the management UI throws an error as shown below.

"ReferenceError: display is not defined ReferenceError: display is not defined at Array.process (eval at compile (https://rmq-###/js/ejs-1.0.min.js:1:6654), :11:97) at EJS.render (https://rmq-###/js/ejs-1.0.min.js:1:1885) at format ((https://rmq-###/js/main.js:1156:21) at https://rmq-####/js/main.js:461:24 at with_reqs (https://rmq-####/js/main.js:1138:9) at https://rmq-###/js/main.js:1134:17 at req.onreadystatechange (https://rmq-####//js/main.js:1215:17)"

Environment

  • Product Version: 3.11
  • All Browsers

Cause

  • This is caused by changes in the management http api which can be incompatible with either the data or the JavaScript code that was cached by the browser from previous versions. The error in the management UI is a result of this incompatibility.
  • This is a known issue with upgrades to some RabbitMQ versions.

Resolution

Workaround:

Clear the browser cache or access the UI in 'Incognito' mode.

Additional Information

Review the release notes prior to the upgrade so that you can prepare for this step in the upgrade process. The release notes should have changes to management plugin api listed. For example, release notes for v3.11.12 lists changes to the management plugin api.