Failing to establish a connection to server using amqp_client running on OTP26 #8235
-
Hi, all! We're giving OTP26 a try, and it looks due to changes related to SSL defaults in OTP26, the client code is no longer able to establish a connection with the server the same way it did with OTP25. I've posted a full repro examples on Elixirforum earlier today, but figured I'd open a discussion here too since the library we're using is essentially a wrapper around
In essence, I am failing to figure out correct options to pass to # OTP25
AMQP.Connection.open("amqp://guest:guest@amqp-issue-rabbitmq")
{:ok, %AMQP.Connection{pid: #PID<0.241.0>}} # OTP26
AMQP.Connection.open("amqp://guest:guest@amqp-issue-rabbitmq")
# => {:error, {:auth_failure, 'Disconnected'}} My hypothesis was that if I somehow find a way to disable SSL code path entirely, connection would work again. But I am failing miserably with a AMQP.Connection.open("amqp://guest:guest@amqp-issue-rabbitmq", [ssl_options: :none])
# => {:error, :econnrefused} Any suggestions for what would be the correct way to bring the connection behaviour back to how it was with OTP25? P.S. I am happy to re-write the above example using pure |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
As mentioned in the Erlang compatibility doc guide, no currently released RabbitMQ version is compatible with Erlang 26. |
Beta Was this translation helpful? Give feedback.
-
@michaelklishin fair enough Would you happen to know if there are any plans to have OTP26 support in the next minor version, for instance, in 3.12.1? Is there any on-going effort to implement OTP26 compatibility, e.g. a PR to keep track of? |
Beta Was this translation helpful? Give feedback.
If they also update rabbitmq to the latest, it should work. We just don't feel comfortable saying it's supported yet, because we just recently made it pass the tests and as I mentioned, we can't even test on Windows yet. I am using OTP26 on my machine FWIW