Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RabbitMQ localhost not working after running docker-compose #44

Closed
CodeWithKashif opened this issue Oct 18, 2019 · 8 comments
Closed

RabbitMQ localhost not working after running docker-compose #44

CodeWithKashif opened this issue Oct 18, 2019 · 8 comments
Assignees

Comments

@CodeWithKashif
Copy link

RabbitMQ localhost not working after running docker-compose up command

Getting following error on login
ReferenceError: disable_stats is not defined ReferenceError: disable_stats is not defined at Object.process (eval at compile (http://localhost:15672/js/ejs-1.0.min.js:1:6654), :6:29) at EJS.render (http://localhost:15672/js/ejs-1.0.min.js:1:1885) at format (http://localhost:15672/js/main.js:1086:21) at check_login (http://localhost:15672/js/main.js:89:34) at start_app_login (http://localhost:15672/js/main.js:75:9) at HTMLDocument. (http://localhost:15672/js/main.js:3:5) at e (http://localhost:15672/js/jquery-3.4.1.min.js:2:29453) at t (http://localhost:15672/js/jquery-3.4.1.min.js:2:29755)

@EdwinVW
Copy link
Owner

EdwinVW commented Oct 18, 2019

Hi @findkashif.

The RabbitMQ image is a standard image from Docker Hub. I've just removed the RabbitMQ docker image from my local machine and started Pitstop using docker-compose up. This automatically pulls the latest version of the image from docker hub. After everything was started, I was able to login to the management console and everything works as expected.

Maybe you can do the same to see whether this solves the issue:

  1. Stop all the containers (if they are still running): docker-compose down.
  2. Remove the RabbitMQ docker image: docker rmi rabbitmq:3-management.
  3. Restart the app: docker-compose up.
  4. Check the logging for any errors and wait until everything is started.

Because it's a standard image pulled from Docker Hub, I won't be able to help with the issue unfortunately. Maybe it's an issue with your Docker installation!?

@EdwinVW EdwinVW self-assigned this Oct 18, 2019
@EdwinVW
Copy link
Owner

EdwinVW commented Oct 21, 2019

Hi @findkashif. Can I close this issue?

@CodeWithKashif
Copy link
Author

Yeah this issue get resolved automatically after sometime.
sometime it start working after few minutes and sometime it takes up to some hours too.
however we can close it. thanks for your help!

@robsiera
Copy link

robsiera commented Feb 15, 2020

I have the same error on Windows (not Docker) after upgrading from v3.6.6 to v3.8.2.
No additional information in the logfile.
Search in google for [rabbitmq "disable_stats is not defined"] only gives me this github page.

EDIT: After stopping and starting the server and a Ctrl+F5 in the browser, the error disappeared

@ilgigrad
Copy link

ilgigrad commented Apr 20, 2020

I had the same error.
It can be solved by cleaning the browser's cache

@EdwinVW
Copy link
Owner

EdwinVW commented Apr 21, 2020

Thanks for the tip @ilgigrad !

@sajanssens
Copy link

@ilgigrad golden tip, thanks! Saved me a lot of time.

@callmegod66
Copy link

I have the same error on Windows (not Docker) after upgrading from v3.6.6 to v3.8.2. No additional information in the logfile. Search in google for [rabbitmq "disable_stats is not defined"] only gives me this github page.

EDIT: After stopping and starting the server and a Ctrl+F5 in the browser, the error disappeared

It really works.Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants