question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adservice gets connection reset by peer

See original GitHub issue

I 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:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mathieu-benoitcommented, Nov 24, 2021

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 my adservice 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 your adservice taking too much memory/cpu and being killed with your load tests?

0reactions
askmeegscommented, Dec 30, 2021

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found