Connection reset by peer in logging client libs #2166
Labels
api: core
api: datastore
Issues related to the Datastore API.
api: logging
Issues related to the Cloud Logging API.
I use gcloud logging and datastore client libs on my GCE VMs. Sometimes (rather sporadically) my jobs fail due to connection reset by peer. The only common pattern is that it happens in long running jobs.
The stacktrace goes something like this:
I'm not totally sure, but this could be because of the connection pool being maintained by the underlying
httplib2
library.httplib2
is holding connection pools, but doesn't seem to be refreshing them. So, it could be that it holds a connection which has become stale (if no request happened in a while), and thus server sends a connection reset.I suspect some of my datastore requests are also failing due to a similar issue.
The text was updated successfully, but these errors were encountered: