This repository was archived by the owner on Nov 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
This repository was archived by the owner on Nov 17, 2020. It is now read-only.
Failed connect to address "localhost", 8000 #63
Copy link
Copy link
Closed
Description
I'm using RabbitMQ 3.7.2 and getting the following error:
2017-12-23 19:42:20.351 [error] <0.2068.0> STOMP error frame sent:
Message: access_refused
Detail: "ACCESS_REFUSED - access to topic 'test' in exchange 'exchange' in vhost 'vhost' refused for user 'user', backend rabbit_auth_backend_http returned an error: {failed_connect,\n
...\n"
Server private detail: none
2017-12-23 19:42:23.468 [error] <0.2123.0> access to topic 'test' in exchange 'exchange' in vhost 'vhost' refused for user 'user', backend rabbit_auth_backend_http returned an error: {failed_connect,[{to_address,{"localhost",8000}},{inet,[i
net],econnrefused}]} 2017-12-23 19:42:23.469 [error] <0.2123.0> Channel error on connection <0.2113.0> (172.18.0.1:52446 -> 172.18.0.4:15671, vhost: 'vhost', user: 'user'), channel 1:
operation queue.bind caused a channel exception access_refused: access to topic 'test' in exchange 'exchange' in vhost 'vhost' refused for user 'user', backend rabbit_auth_backend_http returned an error: {failed_connect,
[{to_address,
{"localhost",
8000}},
{inet,
[inet],
econnrefused}]}
I think that "localhost:8000" is from PROJECT_ENV which is defined in Makefile and can't be overwritten by the configuration file:
auth_backends.1 = internal
auth_backends.2 = http
auth_http.http_method = post
auth_http.user_path = http://some_url
auth_http.vhost_path = http://some_url
auth_http.resource_path = http://some_url