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

unable to connect to node rabbit@rabbitmq: nodedown #87

Open
nikophil opened this issue Jun 1, 2017 · 3 comments
Open

unable to connect to node rabbit@rabbitmq: nodedown #87

nikophil opened this issue Jun 1, 2017 · 3 comments

Comments

@nikophil
Copy link

nikophil commented Jun 1, 2017

Hello,

i tried to use your container with docker-compose :

rabbitmq:
    image: smebberson/alpine-rabbitmq
    hostname: rabbitmq
    ports:
        - "5672:5672"
        - "15672:15672"
    environment:
        - RABBITMQ_ENABLE_MANAGEMENT_PLUGIN=true
        - RABBITMQ_USER=guest
        - RABBITMQ_PASS=guest
        - RABBITMQ_DEFAULT_VHOST=/

but whenever i'v found no way to connect to rabbitmq trhought php... and whenever i connect to the container, and try a "status", i got an error :

/ # rabbitmqctl status
Status of node rabbit@rabbitmq ...
Error: unable to connect to node rabbit@rabbitmq: nodedown

DIAGNOSTICS
===========

attempted to contact: [rabbit@rabbitmq]

rabbit@rabbitmq:
  * connected to epmd (port 4369) on rabbitmq
  * epmd reports node 'rabbit' running on port 25672
  * TCP connection succeeded but Erlang distribution failed
  * suggestion: hostname mismatch?
  * suggestion: is the cookie set correctly?
  * suggestion: is the Erlang distribution using TLS?

current node details:
- node name: 'rabbitmq-cli-34@rabbitmq'
- home dir: /root
- cookie hash: ixo/2Fe1uNQ6Am3pfIxF+A==

thanks for your help

@jinjin123
Copy link

@nikophil Guys, I have the same error ,did you find the way to fix it when we custom RABBITMQ_NODENAME issue

@IvanAlekseevichPopov
Copy link

Same issue

@jinjin123
Copy link

@nikophil Guys, I have the same error ,did you find the way to fix it when we custom RABBITMQ_NODENAME issue

Oh... , 4 years ago, the best ways is map to hosts configure, that shlb be work? The NodeName doesnt important

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

No branches or pull requests

3 participants