-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
ResourceAccessException: I/O error on POST request for : com.netflix.client.ClientException; IOException #2480
Comments
I'm afraid you haven't provided enough detail for us to begin to look at this issue. Please provide the versions you are using. Detailed steps to reproduce the problem and, if possible, a project that recreates the problem. |
I was editing this issue to create it and it (or stupid me) automagically sent the stuff before I had a chance to clean up and put the goodies in.
|
Could you provide more of the stack trace? |
Here's the entire stack trace:
|
A RestTemplate.doExecute() on We are using:
|
Searching all the logs for the last 30 days shows 12 events for "java.io.IOException" one of the microservices caught it as "EurekaClientException" I need to investigate this more. |
I think I Found it. It was NOT EUREKA and NOT an error on the target, just long response duration. Too long will cause other headaches.
Asked and answered my own question.
When the duration was > 5.03 seconds, these failed.
Think there is any significant problem setting this to 9secs? Thinking out loud, socket connects starts reading ... ... wait ... the remote destination server service is dead or dying, next thing you know you got these sockets hanging out there...
|
That looks right. Can we close this? |
How can I enable http2 flow control logs in spring boot proxy with okHttp3client and undertow serverlet? Is it possible? I need to print it like this. https://medium.com/coderscorner/http-2-flow-control-77e54f7fd518 (figure1 and 2) |
@teeeestyle commenting on a closed somewhat related issue is not the way to go. That said, zuul 1 will not support http2 |
Sorry. But it was urgent. What's zuul? |
you said
There is no such project, only spring-cloud-netflix via zuul which is no longer supported and spring cloud gateway which doesn't use okhttp. |
But Is there any way in spring boot application to print http2 flow control logs? |
Not sure. The boot team requests that questions for spring boot be asked here https://stackoverflow.com/questions/tagged/spring-boot |
Thank you |
@kmacpher67 Excuse me, has the problem been solved? |
I recently resolved "I/O error on POST..." error in my project. This issue I received was due to CORS configuration on the target REST API project.
|
Intermittent in production.
What would cause this?
How best to troubleshoot this?
GIVEN versions:
com.netflix.ribbon\ribbon-core\2.2.0 - ribbon-core-2.2.0.jar
spring-web\4.3.4.RELEASE spring-web-4.3.4.RELEASE.jar
There were no errors on the target server related to this time?
The text was updated successfully, but these errors were encountered: