Default user cannot connect to a Web MQTT endpoint remotely but can when port forwarding is used #14275
-
Describe the bugRabbitMQ version: 4.1.2, deployed in a Kubernetes cluster using the Helm chart version 4.1.2. Reproduction steps
Expected behaviorAny client should be able to connect remotely to the /ws endpoint on port 15675. Additional context
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You haven't provided any evidence of a bug, not even any logs. We will not troubleshoot networking your Kubernetes cluster networking. Start with inspecting the logs on the target node, then see Troubleshooting Networking and Troubleshooting Authentication. |
Beta Was this translation helpful? Give feedback.
-
The default user can only connect from localhost for obvious security reasons. Port forwarding makes the connection look as if it was a local one but a direct remote connection is expected to be refused. Remote connections from loopback-restricted users will result in clear messages in the log files of the node that refuses such a connection. As Production Guidelines recommend, create a new user with generated credentials instead of relying on the default one (named |
Beta Was this translation helpful? Give feedback.
The default user can only connect from localhost for obvious security reasons. Port forwarding makes the connection look as if it was a local one but a direct remote connection is expected to be refused.
Remote connections from loopback-restricted users will result in clear messages in the log files of the node that refuses such a connection.
As Production Guidelines recommend, create a new user with generated credentials instead of relying on the default one (named
guest
by default). The loopback connection restriction won't app…