-
Notifications
You must be signed in to change notification settings - Fork 40
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
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: FatalException: Lost connection to the server #128
Comments
Port 15672 is usually reserved for the Management UI you see in the browser and the HTTP API. If you're using the default standard ports, the port setting should probably be 5672. |
I am changing port what you say and i take this error |
Have you made sure the local RabbitMQ server is running? If the server is running, do the server logs show the connection attempt? |
Note that the listening port section in the posted screenshot, shows that the amqp listener (which this library is meant to connect to) is bound to ::5672. |
|
I have a RabbitMQ broker in localhost in the port 15672 and I am trying to connect using your library to be able to listen messages through AMQP.
I could do it with c# but in flutter I am not be able to connect.
`ConnectionSettings settings = ConnectionSettings(
virtualHost: "mwmyjkim",
host: "localhost",
port: 15672,
authProvider: const PlainAuthenticator(
"username", "password"),
}`
Could not connect to 127.0.0.1:15672 after 1 attempts. Giving up" and if I put my ip address, it throws "FatalException: Lost connection to the server".
The text was updated successfully, but these errors were encountered: