-
Notifications
You must be signed in to change notification settings - Fork 41.2k
NumberFormatException when configuring spring.rabbitmq.addresses with an IPv6 address #28133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This issue is somewhat similar to #6401 which concerns |
rabbitmq/rabbitmq-java-client#385 is also similar. Maybe this work can be reused somehow. |
That @bantu When the next CI build finishes (should be about an hour) could you give the latest SNAPSHOT a try to see if it solves it? |
@philwebb Thank you for the quick patch. Is there an easy way to use SNAPSHOT by altering my |
@bantu generate a sample project on start.spring.io with the Spring Boot version you want to test. |
@snicoll Excellent. Thanks. @philwebb I can confirm that this works: spring:
rabbitmq:
addresses: "amqp://foo:bar@[aaaa:bbbb:cccc::d]:5672" as well as spring:
rabbitmq:
addresses: "foo:bar@[aaaa:bbbb:cccc::d]:5672" but omitting the port like spring:
rabbitmq:
addresses: "foo:bar@[aaaa:bbbb:cccc::d]" fails with |
Uh oh!
There was an error while loading. Please reload this page.
This yaml works
but this yaml
fails with
The text was updated successfully, but these errors were encountered: