Adservice gets connection reset by peer
See original GitHub issueI am running the demo on GCP with Istio installed, and I’m using my own load generator that has 1500 users instead of the current load generator’s 10. After roughly 3 minutes of running, I stop getting regular responses and only get 503: Service Unavailable. I looked in the logs and it seems like it is due to an error in Adservice. The logs for Adservice repeatedly say
INFO: Transport failed
io.grpc.netty.shaded.io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer
GRPC: src/core/lib/security/credentials/oauth2/oauth2_credentials.cc:154 Call to http server ended with error 426 [].
Jun 14, 2021 2:22:43 PM io.grpc.netty.shaded.io.grpc.netty.NettyServerTransport notifyTerminated
I believe the 426 is saying that something should be upgraded, but I’m not quite sure what. Any help would be appreciated.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Connection reset by peer · Issue #517 · googleads/google-ads ...
I tried to re-connect via get_service for each each request, but this single request takes more than 30 minutes and it failed at...
Read more >Why do we get the error "Connection reset by peer ... - IBM
The error message "Connection reset by peer" appears, if the web services client was waiting for a SOAP response from the remote web...
Read more >How to Fix The "Connection reset by peer" SSH Error
The Connection Reset By Peer Error appears when comunication between local and remote machine breaks down. Prerequisites. Necessary permissions ...
Read more >What does "connection reset by peer" mean? - Stack Overflow
"Connection reset by peer" is the TCP/IP equivalent of slamming the phone back on the hook. It's more polite than merely not replying,...
Read more >What is a TCP Connection Reset by Peer? | Pico
An application gets a connection reset by peer error when it has an established TCP connection with a peer across the network, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe not related but JFYI, I found out what I was doing wrong about my issue mentioned earlier in this thread https://github.com/GoogleCloudPlatform/microservices-demo/issues/559#issuecomment-860810436. I actually set too low the values of the
resources
.requests
/limits
which landed to kill myadservice
pod. When I set those values back to what it’s recommended in there https://github.com/GoogleCloudPlatform/microservices-demo/blob/master/release/kubernetes-manifests.yaml#L713, it fixed the issue I caused by myself. So JFYI @jessberg in case you have also youradservice
taking too much memory/cpu and being killed with your load tests?Closing this issue as possibly a non-Istio related bug, that instead may be related to insufficient resource requests + limits for the services. @jessberg please reopen if you adjust your resource requests and you’re still seeing this problem. Thanks!