bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.08k stars 4.49k forks source link

Rabbit MQ RABBITMQ_USERNAME and RABBITMQ_PASSWORD does not work anymore in docker #53771

Closed michael-eckhart-woellkart closed 7 months ago

michael-eckhart-woellkart commented 7 months ago

Name and Version

bitnami/rabbitmq:3.10

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. The issue occours on linux (Docker) and windows (Docker Dekstop) enviroments.
  2. We are using more ore less the default config
    rabbitmq:
    image: bitnami/rabbitmq
    restart: always 
    environment:
      - RABBITMQ_USERNAME=root
      - RABBITMQ_PASSWORD=example
      - RABBITMQ_PLUGINS=rabbitmq_management,rabbitmq_management_visualiser,rabbitmq_amqp1_0
    healthcheck:
      test: rabbitmq-diagnostics -q listeners
      interval: 3s
      timeout: 10s
      retries: 60
  3. The setup is started as docker-compose and some other services connects to the reabbitMQ.
  4. Since some days we get this error:
    2023-12-13 06:54:59 2023-12-13 05:54:59.992200+00:00 [info] <0.622.0> accepting AMQP connection <0.622.0> (172.19.0.6:35704 -> 172.19.0.4:5672)
    2023-12-13 06:55:00 2023-12-13 05:55:00.026579+00:00 [error] <0.622.0> Error on AMQP connection <0.622.0> (172.19.0.6:35704 -> 172.19.0.4:5672, state: starting):
    2023-12-13 06:55:00 2023-12-13 05:55:00.026579+00:00 [error] <0.622.0> PLAIN login refused: user 'root' can only connect via localhost
    2023-12-13 06:55:00 2023-12-13 05:55:00.028814+00:00 [info] <0.622.0> closing AMQP connection <0.622.0> (172.19.0.6:35704 -> 172.19.0.4:5672)
    2023-12-13 06:55:06 2023-12-13 05:55:06.920263+00:00 [info] <0.639.0> accepting AMQP connection <0.639.0> (172.19.0.6:35738 -> 172.19.0.4:5672)
    2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0> closing AMQP connection <0.639.0> (172.19.0.6:35738 -> 172.19.0.4:5672):
    2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0> {handshake_error,starting,0,
    2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0>                  {'v1_0.error',{symbol,<<"amqp:unauthorized-access">>},
    2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0>                                {utf8,<<"user 'root' can only connect via localhost">>},
    2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0>                                undefined}}
    2023-12-13 06:55:16 2023-12-13 05:55:16.355215+00:00 [info] <0.656.0> accepting AMQP connection <0.656.0> (172.19.0.6:35754 -> 172.19.0.4:5672)
    2023-12-13 06:55:16 2023-12-13 05:55:16.383437+00:00 [error] <0.656.0> Error on AMQP connection <0.656.0> (172.19.0.6:35754 -> 172.19.0.4:5672, state: starting):
    2023-12-13 06:55:16 2023-12-13 05:55:16.383437+00:00 [error] <0.656.0> PLAIN login refused: user 'root' can only connect via localhost
    2023-12-13 06:55:16 2023-12-13 05:55:16.390966+00:00 [info] <0.656.0> closing AMQP connection <0.656.0> (172.19.0.6:35754 -> 172.19.0.4:5672)
    2023-12-13 06:55:31 2023-12-13 05:55:31.417143+00:00 [info] <0.691.0> accepting AMQP connection <0.691.0> (172.19.0.6:35786 -> 172.19.0.4:5672)
    2023-12-13 06:55:31 2023-12-13 05:55:31.419426+00:00 [error] <0.691.0> Error on AMQP connection <0.691.0> (172.19.0.6:35786 -> 172.19.0.4:5672, state: starting):
    2023-12-13 06:55:31 2023-12-13 05:55:31.419426+00:00 [error] <0.691.0> PLAIN login refused: user 'root' can only connect via localhost
    2023-12-13 06:55:31 2023-12-13 05:55:31.419930+00:00 [info] <0.691.0> closing AMQP connection <0.691.0> (172.19.0.6:35786 -> 172.19.0.4:5672)
    2023-12-13 06:55:46 2023-12-13 05:55:46.425252+00:00 [info] <0.720.0> accepting AMQP connection <0.720.0> (172.19.0.6:35812 -> 172.19.0.4:5672)
    2023-12-13 06:55:46 2023-12-13 05:55:46.427052+00:00 [error] <0.720.0> Error on AMQP connection <0.720.0> (172.19.0.6:35812 -> 172.19.0.4:5672, state: starting):
    2023-12-13 06:55:46 2023-12-13 05:55:46.427052+00:00 [error] <0.720.0> PLAIN login refused: user 'root' can only connect via localhost
    2023-12-13 06:55:46 2023-12-13 05:55:46.427309+00:00 [info] <0.720.0> closing AMQP connection <0.720.0> (172.19.0.6:35812 -> 172.19.0.4:5672)
    2023-12-13 06:56:01 2023-12-13 05:56:01.437006+00:00 [info] <0.749.0> accepting AMQP connection <0.749.0> (172.19.0.6:35842 -> 172.19.0.4:5672)
    2023-12-13 06:56:01 2023-12-13 05:56:01.439937+00:00 [error] <0.749.0> Error on AMQP connection <0.749.0> (172.19.0.6:35842 -> 172.19.0.4:5672, state: starting):
    2023-12-13 06:56:01 2023-12-13 05:56:01.439937+00:00 [error] <0.749.0> PLAIN login refused: user 'root' can only connect via localhost
    2023-12-13 06:56:01 2023-12-13 05:56:01.440515+00:00 [info] <0.749.0> closing AMQP connection <0.749.0> (172.19.0.6:35842 -> 172.19.0.4:5672)
    2023-12-13 06:56:16 2023-12-13 05:56:16.449211+00:00 [info] <0.778.0> accepting AMQP connection <0.778.0> (172.19.0.6:35868 -> 172.19.0.4:5672)
    2023-12-13 06:56:16 2023-12-13 05:56:16.451438+00:00 [error] <0.778.0> Error on AMQP connection <0.778.0> (172.19.0.6:35868 -> 172.19.0.4:5672, state: starting):
    2023-12-13 06:56:16 2023-12-13 05:56:16.451438+00:00 [error] <0.778.0> PLAIN login refused: user 'root' can only connect via localhost
    2023-12-13 06:56:16 2023-12-13 05:56:16.451779+00:00 [info] <0.778.0> closing AMQP connection <0.778.0> (172.19.0.6:35868 -> 172.19.0.4:5672)

    We can fix it by adding a volumne:

    volumes:
      - ./advanced.config:/bitnami/rabbitmq/conf/advanced.config:ro

    File content:

    [{rabbit, [{loopback_users, []}]}].

What is the expected behavior?

Would it be possible to set this setting by a enviroment varibale, if not the enviroment variables "RABBITMQ_USERNAME" and "RABBITMQ_PASSWORD" does not make any sense.

What do you see instead?

Error Log:

2023-12-13 06:54:56 2023-12-13 05:54:56.483372+00:00 [info] <0.467.0> Server startup complete; 5 plugins started.
2023-12-13 06:54:56 2023-12-13 05:54:56.483372+00:00 [info] <0.467.0>  * rabbitmq_prometheus
2023-12-13 06:54:56 2023-12-13 05:54:56.483372+00:00 [info] <0.467.0>  * rabbitmq_amqp1_0
2023-12-13 06:54:56 2023-12-13 05:54:56.483372+00:00 [info] <0.467.0>  * rabbitmq_management
2023-12-13 06:54:56 2023-12-13 05:54:56.483372+00:00 [info] <0.467.0>  * rabbitmq_web_dispatch
2023-12-13 06:54:56 2023-12-13 05:54:56.483372+00:00 [info] <0.467.0>  * rabbitmq_management_agent
2023-12-13 06:54:59 2023-12-13 05:54:59.992200+00:00 [info] <0.622.0> accepting AMQP connection <0.622.0> (172.19.0.6:35704 -> 172.19.0.4:5672)
2023-12-13 06:55:00 2023-12-13 05:55:00.026579+00:00 [error] <0.622.0> Error on AMQP connection <0.622.0> (172.19.0.6:35704 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:55:00 2023-12-13 05:55:00.026579+00:00 [error] <0.622.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:55:00 2023-12-13 05:55:00.028814+00:00 [info] <0.622.0> closing AMQP connection <0.622.0> (172.19.0.6:35704 -> 172.19.0.4:5672)
2023-12-13 06:55:06 2023-12-13 05:55:06.920263+00:00 [info] <0.639.0> accepting AMQP connection <0.639.0> (172.19.0.6:35738 -> 172.19.0.4:5672)
2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0> closing AMQP connection <0.639.0> (172.19.0.6:35738 -> 172.19.0.4:5672):
2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0> {handshake_error,starting,0,
2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0>                  {'v1_0.error',{symbol,<<"amqp:unauthorized-access">>},
2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0>                                {utf8,<<"user 'root' can only connect via localhost">>},
2023-12-13 06:55:09 2023-12-13 05:55:09.947115+00:00 [error] <0.639.0>                                undefined}}
2023-12-13 06:55:16 2023-12-13 05:55:16.355215+00:00 [info] <0.656.0> accepting AMQP connection <0.656.0> (172.19.0.6:35754 -> 172.19.0.4:5672)
2023-12-13 06:55:16 2023-12-13 05:55:16.383437+00:00 [error] <0.656.0> Error on AMQP connection <0.656.0> (172.19.0.6:35754 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:55:16 2023-12-13 05:55:16.383437+00:00 [error] <0.656.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:55:16 2023-12-13 05:55:16.390966+00:00 [info] <0.656.0> closing AMQP connection <0.656.0> (172.19.0.6:35754 -> 172.19.0.4:5672)
2023-12-13 06:55:31 2023-12-13 05:55:31.417143+00:00 [info] <0.691.0> accepting AMQP connection <0.691.0> (172.19.0.6:35786 -> 172.19.0.4:5672)
2023-12-13 06:55:31 2023-12-13 05:55:31.419426+00:00 [error] <0.691.0> Error on AMQP connection <0.691.0> (172.19.0.6:35786 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:55:31 2023-12-13 05:55:31.419426+00:00 [error] <0.691.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:55:31 2023-12-13 05:55:31.419930+00:00 [info] <0.691.0> closing AMQP connection <0.691.0> (172.19.0.6:35786 -> 172.19.0.4:5672)
2023-12-13 06:55:46 2023-12-13 05:55:46.425252+00:00 [info] <0.720.0> accepting AMQP connection <0.720.0> (172.19.0.6:35812 -> 172.19.0.4:5672)
2023-12-13 06:55:46 2023-12-13 05:55:46.427052+00:00 [error] <0.720.0> Error on AMQP connection <0.720.0> (172.19.0.6:35812 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:55:46 2023-12-13 05:55:46.427052+00:00 [error] <0.720.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:55:46 2023-12-13 05:55:46.427309+00:00 [info] <0.720.0> closing AMQP connection <0.720.0> (172.19.0.6:35812 -> 172.19.0.4:5672)
2023-12-13 06:56:01 2023-12-13 05:56:01.437006+00:00 [info] <0.749.0> accepting AMQP connection <0.749.0> (172.19.0.6:35842 -> 172.19.0.4:5672)
2023-12-13 06:56:01 2023-12-13 05:56:01.439937+00:00 [error] <0.749.0> Error on AMQP connection <0.749.0> (172.19.0.6:35842 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:56:01 2023-12-13 05:56:01.439937+00:00 [error] <0.749.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:56:01 2023-12-13 05:56:01.440515+00:00 [info] <0.749.0> closing AMQP connection <0.749.0> (172.19.0.6:35842 -> 172.19.0.4:5672)
2023-12-13 06:56:16 2023-12-13 05:56:16.449211+00:00 [info] <0.778.0> accepting AMQP connection <0.778.0> (172.19.0.6:35868 -> 172.19.0.4:5672)
2023-12-13 06:56:16 2023-12-13 05:56:16.451438+00:00 [error] <0.778.0> Error on AMQP connection <0.778.0> (172.19.0.6:35868 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:56:16 2023-12-13 05:56:16.451438+00:00 [error] <0.778.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:56:16 2023-12-13 05:56:16.451779+00:00 [info] <0.778.0> closing AMQP connection <0.778.0> (172.19.0.6:35868 -> 172.19.0.4:5672)
2023-12-13 06:56:31 2023-12-13 05:56:31.453056+00:00 [info] <0.813.0> accepting AMQP connection <0.813.0> (172.19.0.6:35900 -> 172.19.0.4:5672)
2023-12-13 06:56:31 2023-12-13 05:56:31.455633+00:00 [error] <0.813.0> Error on AMQP connection <0.813.0> (172.19.0.6:35900 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:56:31 2023-12-13 05:56:31.455633+00:00 [error] <0.813.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:56:31 2023-12-13 05:56:31.456028+00:00 [info] <0.813.0> closing AMQP connection <0.813.0> (172.19.0.6:35900 -> 172.19.0.4:5672)
2023-12-13 06:56:46 2023-12-13 05:56:46.459193+00:00 [info] <0.842.0> accepting AMQP connection <0.842.0> (172.19.0.6:35926 -> 172.19.0.4:5672)
2023-12-13 06:56:46 2023-12-13 05:56:46.461264+00:00 [error] <0.842.0> Error on AMQP connection <0.842.0> (172.19.0.6:35926 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:56:46 2023-12-13 05:56:46.461264+00:00 [error] <0.842.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:56:46 2023-12-13 05:56:46.461954+00:00 [info] <0.842.0> closing AMQP connection <0.842.0> (172.19.0.6:35926 -> 172.19.0.4:5672)
2023-12-13 06:57:01 2023-12-13 05:57:01.464825+00:00 [info] <0.872.0> accepting AMQP connection <0.872.0> (172.19.0.6:35956 -> 172.19.0.4:5672)
2023-12-13 06:57:01 2023-12-13 05:57:01.466724+00:00 [error] <0.872.0> Error on AMQP connection <0.872.0> (172.19.0.6:35956 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:57:01 2023-12-13 05:57:01.466724+00:00 [error] <0.872.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:57:01 2023-12-13 05:57:01.466885+00:00 [info] <0.872.0> closing AMQP connection <0.872.0> (172.19.0.6:35956 -> 172.19.0.4:5672)
2023-12-13 06:57:16 2023-12-13 05:57:16.486835+00:00 [info] <0.901.0> accepting AMQP connection <0.901.0> (172.19.0.6:35982 -> 172.19.0.4:5672)
2023-12-13 06:57:16 2023-12-13 05:57:16.490897+00:00 [error] <0.901.0> Error on AMQP connection <0.901.0> (172.19.0.6:35982 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:57:16 2023-12-13 05:57:16.490897+00:00 [error] <0.901.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:57:16 2023-12-13 05:57:16.491156+00:00 [info] <0.901.0> closing AMQP connection <0.901.0> (172.19.0.6:35982 -> 172.19.0.4:5672)
2023-12-13 06:57:31 2023-12-13 05:57:31.490780+00:00 [info] <0.936.0> accepting AMQP connection <0.936.0> (172.19.0.6:36014 -> 172.19.0.4:5672)
2023-12-13 06:57:31 2023-12-13 05:57:31.493204+00:00 [error] <0.936.0> Error on AMQP connection <0.936.0> (172.19.0.6:36014 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:57:31 2023-12-13 05:57:31.493204+00:00 [error] <0.936.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:57:31 2023-12-13 05:57:31.493435+00:00 [info] <0.936.0> closing AMQP connection <0.936.0> (172.19.0.6:36014 -> 172.19.0.4:5672)
2023-12-13 06:57:46 2023-12-13 05:57:46.493726+00:00 [info] <0.965.0> accepting AMQP connection <0.965.0> (172.19.0.6:36040 -> 172.19.0.4:5672)
2023-12-13 06:57:46 2023-12-13 05:57:46.495974+00:00 [error] <0.965.0> Error on AMQP connection <0.965.0> (172.19.0.6:36040 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:57:46 2023-12-13 05:57:46.495974+00:00 [error] <0.965.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:57:46 2023-12-13 05:57:46.496275+00:00 [info] <0.965.0> closing AMQP connection <0.965.0> (172.19.0.6:36040 -> 172.19.0.4:5672)
2023-12-13 06:58:01 2023-12-13 05:58:01.495227+00:00 [info] <0.995.0> accepting AMQP connection <0.995.0> (172.19.0.6:36070 -> 172.19.0.4:5672)
2023-12-13 06:58:01 2023-12-13 05:58:01.497480+00:00 [error] <0.995.0> Error on AMQP connection <0.995.0> (172.19.0.6:36070 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:58:01 2023-12-13 05:58:01.497480+00:00 [error] <0.995.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:58:01 2023-12-13 05:58:01.497667+00:00 [info] <0.995.0> closing AMQP connection <0.995.0> (172.19.0.6:36070 -> 172.19.0.4:5672)
2023-12-13 06:58:16 2023-12-13 05:58:16.505310+00:00 [info] <0.1024.0> accepting AMQP connection <0.1024.0> (172.19.0.6:36096 -> 172.19.0.4:5672)
2023-12-13 06:58:16 2023-12-13 05:58:16.507277+00:00 [error] <0.1024.0> Error on AMQP connection <0.1024.0> (172.19.0.6:36096 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:58:16 2023-12-13 05:58:16.507277+00:00 [error] <0.1024.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:58:16 2023-12-13 05:58:16.507679+00:00 [info] <0.1024.0> closing AMQP connection <0.1024.0> (172.19.0.6:36096 -> 172.19.0.4:5672)
2023-12-13 06:58:31 2023-12-13 05:58:31.523259+00:00 [info] <0.1053.0> accepting AMQP connection <0.1053.0> (172.19.0.6:36122 -> 172.19.0.4:5672)
2023-12-13 06:58:31 2023-12-13 05:58:31.533143+00:00 [error] <0.1053.0> Error on AMQP connection <0.1053.0> (172.19.0.6:36122 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:58:31 2023-12-13 05:58:31.533143+00:00 [error] <0.1053.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:58:31 2023-12-13 05:58:31.533366+00:00 [info] <0.1053.0> closing AMQP connection <0.1053.0> (172.19.0.6:36122 -> 172.19.0.4:5672)
2023-12-13 06:58:46 2023-12-13 05:58:46.532291+00:00 [info] <0.1088.0> accepting AMQP connection <0.1088.0> (172.19.0.6:36154 -> 172.19.0.4:5672)
2023-12-13 06:58:46 2023-12-13 05:58:46.534267+00:00 [error] <0.1088.0> Error on AMQP connection <0.1088.0> (172.19.0.6:36154 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:58:46 2023-12-13 05:58:46.534267+00:00 [error] <0.1088.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:58:46 2023-12-13 05:58:46.534495+00:00 [info] <0.1088.0> closing AMQP connection <0.1088.0> (172.19.0.6:36154 -> 172.19.0.4:5672)
2023-12-13 06:59:01 2023-12-13 05:59:01.531245+00:00 [info] <0.1118.0> accepting AMQP connection <0.1118.0> (172.19.0.6:36184 -> 172.19.0.4:5672)
2023-12-13 06:59:01 2023-12-13 05:59:01.532820+00:00 [error] <0.1118.0> Error on AMQP connection <0.1118.0> (172.19.0.6:36184 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:59:01 2023-12-13 05:59:01.532820+00:00 [error] <0.1118.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:59:01 2023-12-13 05:59:01.533207+00:00 [info] <0.1118.0> closing AMQP connection <0.1118.0> (172.19.0.6:36184 -> 172.19.0.4:5672)
2023-12-13 06:59:16 2023-12-13 05:59:16.532391+00:00 [info] <0.1147.0> accepting AMQP connection <0.1147.0> (172.19.0.6:36210 -> 172.19.0.4:5672)
2023-12-13 06:59:16 2023-12-13 05:59:16.534108+00:00 [error] <0.1147.0> Error on AMQP connection <0.1147.0> (172.19.0.6:36210 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:59:16 2023-12-13 05:59:16.534108+00:00 [error] <0.1147.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:59:16 2023-12-13 05:59:16.534334+00:00 [info] <0.1147.0> closing AMQP connection <0.1147.0> (172.19.0.6:36210 -> 172.19.0.4:5672)
2023-12-13 06:59:31 2023-12-13 05:59:31.531193+00:00 [info] <0.1176.0> accepting AMQP connection <0.1176.0> (172.19.0.6:36236 -> 172.19.0.4:5672)
2023-12-13 06:59:31 2023-12-13 05:59:31.532814+00:00 [error] <0.1176.0> Error on AMQP connection <0.1176.0> (172.19.0.6:36236 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:59:31 2023-12-13 05:59:31.532814+00:00 [error] <0.1176.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:59:31 2023-12-13 05:59:31.532944+00:00 [info] <0.1176.0> closing AMQP connection <0.1176.0> (172.19.0.6:36236 -> 172.19.0.4:5672)
2023-12-13 06:59:46 2023-12-13 05:59:46.531599+00:00 [info] <0.1211.0> accepting AMQP connection <0.1211.0> (172.19.0.6:36268 -> 172.19.0.4:5672)
2023-12-13 06:59:46 2023-12-13 05:59:46.534735+00:00 [error] <0.1211.0> Error on AMQP connection <0.1211.0> (172.19.0.6:36268 -> 172.19.0.4:5672, state: starting):
2023-12-13 06:59:46 2023-12-13 05:59:46.534735+00:00 [error] <0.1211.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 06:59:46 2023-12-13 05:59:46.535229+00:00 [info] <0.1211.0> closing AMQP connection <0.1211.0> (172.19.0.6:36268 -> 172.19.0.4:5672)
2023-12-13 07:00:01 2023-12-13 06:00:01.532053+00:00 [info] <0.1240.0> accepting AMQP connection <0.1240.0> (172.19.0.6:36298 -> 172.19.0.4:5672)
2023-12-13 07:00:01 2023-12-13 06:00:01.533781+00:00 [error] <0.1240.0> Error on AMQP connection <0.1240.0> (172.19.0.6:36298 -> 172.19.0.4:5672, state: starting):
2023-12-13 07:00:01 2023-12-13 06:00:01.533781+00:00 [error] <0.1240.0> PLAIN login refused: user 'root' can only connect via localhost
2023-12-13 07:00:01 2023-12-13 06:00:01.534104+00:00 [info] <0.1240.0> closing AMQP connection <0.1240.0> (172.19.0.6:36298 -> 172.19.0.4:5672)

Additional information

No response

gongomgra commented 7 months ago

Hi @michael-eckhart-woellkart,

Thanks for reporting this issue. To help protect the management portal, we recently updated the associated configuration (please see issue/53114). You can get access by setting the new RABBITMQ_MANAGEMENT_ALLOW_WEB_ACCESS environment variable to true in your docker-compose file (as described in the README.md file).

Hope it helps!

michael-eckhart-woellkart commented 7 months ago

Thank you, that worked. Just the name is maybe a little bit wrong. Because it is not only the web access, also the amap connection works with this setting :).