Skip to content

TimeoutError: The read operation timed out #1

@SkylekFR

Description

@SkylekFR

Hi,

Sometime I want to upload AAB on my application on open testing and i encounter timeouterror in python script.
I've checked on google cloud console metrics and the mean latency is around 1minutes

google.play.publishingapi.v3.BundlesService.Upload 2 0 1 minute 1 minute

StackTrace:
Run from google.oauth2.service_account import Credentials Traceback (most recent call last): File "/home/runner/work/_temp/1224f28f-708e-4039-bbbd-f24ac3f37060.py", line 23, in <module> ).execute() ~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper return wrapped(*args, **kwargs) File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/site-packages/googleapiclient/http.py", line 902, in execute _, body = self.next_chunk(http=http, num_retries=num_retries) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper return wrapped(*args, **kwargs) File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/site-packages/googleapiclient/http.py", line 1084, in next_chunk resp, content = http.request( ~~~~~~~~~~~~^ self.resumable_uri, method="PUT", body=data, headers=headers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/site-packages/google_auth_httplib2.py", line 218, in request response, content = self.http.request( ~~~~~~~~~~~~~~~~~^ uri, ^^^^ ...<5 lines>... **kwargs ^^^^^^^^ ) ^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/site-packages/httplib2/__init__.py", line 1727, in request (response, content) = self._request( ~~~~~~~~~~~~~^ conn, authority, uri, request_uri, method, body, headers, redirections, cachekey, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/site-packages/httplib2/__init__.py", line 1447, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/site-packages/httplib2/__init__.py", line 1399, in _conn_request response = conn.getresponse() File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/http/client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/http/client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/http/client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.13.7/x64/lib/python3.13/ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions