-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Exception during API request - java.net.ConnectException: connect(..) failed: Can't assign requested address #23255
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
I'm a little confused about the "Can't assign requested address" since this is a client-side call. I suspect something is misconfigured in your application. Could you please provide a minimal reproducible example either as a GitHub project or as an attached zip file. We'll need something that we can download and run ourselves. |
@philwebb please find minimal reproducible example repo Client App - https://github.com/prasannajoshi2121/spring-test-client.git Please update this file spring-test-client/first-project/src/main/java/com/first/firstproject/FirstProjectApplication.java like below : inside Client App repo , src/main/resource directory please find Httprequest.JMX script. (Path - spring-test-client/first-project/src/main/resources/HTTP Request.jmx) Please run JMX script to reproduce issue once Client and server started. |
Calling One other thing to point out is that you should not use All things considered, this doesn't look like a bug in Spring Boot or WebFlux, but it feels like a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. (Thanks to Rossen Stoyanchev from the WebFlux team who helped with this answer) |
Was this ever posted to stackoverflow? If so link possible? Thanks. |
Uh oh!
There was an error while loading. Please reload this page.
Getting following error while running Webclient requests in loop , as follows :
API calling in loop :
while hitting server from postman , getting expected response.
spring boot version : <spring.boot.version>2.3.3.RELEASE</spring.boot.version>
reactor core: 3.3.9-RELEASE
reactor-netty : 0.9.11.RELEASE
The text was updated successfully, but these errors were encountered: