Error trying to connect to RabbitMQ
HiI was playing with a Spaces, trying to connect to a RabbitMQ server using the librariespikaandrabbitpy.I wanted to test something like this:One space receive the info from the user interacting with the interface, and send a processing message to the RabbitMQ.Other two spaces acts as workers and process the message sending back a response to the main space.The problem is that withpikaI am receiving a ConnectionError, while withrabbitpyI got RuntimeError(“Timeout waiting for opening the socket”).I am able to establish the connection via both libraries when I run the code locally.Is there a restriction with sockets in the Spaces?Best regards,Carmo
2022-08-04T07:42:53Z
Hi Carmo,There in a restriction in Spaces regarding outgoing open ports. By default only ports 80 and 443 are available.What ports are you trying to use with rabbitmq ? The default one 5672 ? We have the ability to open specific ports for dedicated spaces, if you need it you can open an issue in the space community tab and ccchris-rannou.
2022-08-04T14:51:41Z
Hi@chris-rannou,Thanks for the informationAs I was trying to do this as a test, I think there is no need to make the request.I was looking for information about ports in the documentation during my testing, but couldn’t find it.With the info you gave me, I am satisfiedThanks for the help,Carmo