RabbitMQ timeout error

I am trying out a fresh installation of Dynatrace and I am having a difficulty to add RabbitMQ monitoring, I am getting the following error. The RabbitMQ runs in a docker container. The connection to the RabbitMQ server/port works fine as I have other monitoring tools querying it.

Any ideas how to troubleshoot this?

A restart of the agent and then the docker did the trick.