Hi,
I'm trying to setup rabbitmq-auth-backend-ip-range on my rabbitmq server:
RabbitMQ version: 3.9.13
Erlang configuration: Erlang/OTP 24 [erts-12.1.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit]
I configured rabbitmq as in rabbitmq-auth-backend-ip-range README
auth_backends.1.authn = intearnal
auth_backends.1.authz = rabbit_auth_backend_ip_range
auth_backends.2.authz = intearnal
and now I get the following error:
Supervisor {<0.3021.0>,rabbit_connection_sup}: child helper_sup started (<0.3022.0>): {rabbit_connection_helper_sup,start_link,[]}
Supervisor {<0.3021.0>,rabbit_connection_sup}: child reader started (<0.3023.0>): {rabbit_reader,start_link,[<0.3022.0>,{acceptor,{0,0,0,0,0,0,0,0},5672}]}
accepting AMQP connection <0.3023.0> (
192.168.1.110:54690 ->
192.168.1.145:5672)
Raw client connection hostname during authN phase: {0,0,0,0,0,65535,2648,3402}
Resolved client hostname during authN phase: ::ffff:192.168.1.145
User 'admin' authentication failed with error:undef:
[{intearnal,user_login_authentication,
[<<"admin">>,[{password,<<"admin">>}]],
[]},
{rabbit_access_control,try_authenticate,3,
[{file,"rabbit_access_control.erl"},{line,92}]},
{rabbit_access_control,'-check_user_login/2-fun-0-',4,
[{file,"rabbit_access_control.erl"},{line,57}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
{rabbit_access_control,check_user_login,2,
[{file,"rabbit_access_control.erl"},{line,42}]},
{rabbit_reader,auth_phase,2,[{file,"rabbit_reader.erl"},{line,1423}]},
{rabbit_reader,handle_method0,3,[{file,"rabbit_reader.erl"},{line,1133}]},
{rabbit_reader,handle_input,3,[{file,"rabbit_reader.erl"},{line,1047}]}]
Error on AMQP connection <0.3023.0> (
192.168.1.110:54690 ->
192.168.1.145:5672, state: starting):
PLAIN login refused: User 'admin' authentication failed with internal error. Enable debug logs to see the real error.
closing AMQP connection <0.3023.0> (
192.168.1.110:54690 ->
192.168.1.145:5672)
Closing all channels from connection '
192.168.1.110:54690 ->
192.168.1.145:5672' because it has been closed
Can someone help me figure out why this is happening?