有几次在gsutil超时时发布了一个问题,并且每次原因都不同和/或被发现。从这个意义上讲,这个问题不是这些问题的重复,因为我从几周后开始遇到gsutil的超时问题
kgoderis@supermicro:~$ gsutil -DD ls
***************************** WARNING *****************************
*** You are running gsutil with debug output enabled.
*** Be aware that debug output includes authentication credentials.
*** Make sure to remove the value of the Authorization header for
*** each HTTP request printed to the console prior to posting to
*** a public medium such as a forum post or Stack Overflow.
***************************** WARNING *****************************
gsutil version: 4.46
checksum: c51c2a8b6522b7ecf21b8a51fd31b812 (OK)
boto version: 2.49.0
python version: 2.7.17 (default, Nov 7 2019, 10:07:09) [GCC 7.4.0]
OS: Linux 4.15.0-72-generic
multiprocessing available: True
using cloud sdk: True
pass cloud sdk credentials to gsutil: True
config path(s): /home/kgoderis/.config/gcloud/legacy_credentials/karel.goderis@gmail.com/.boto
gsutil path: /usr/lib/google-cloud-sdk/bin/gsutil
compiled crcmod: True
installed via package manager: False
editable install: False
Command being run: /usr/lib/google-cloud-sdk/platform/gsutil/gsutil -o GSUtil:default_project_id=dilbeek-140310 -DD ls
config_file_list: ['/home/kgoderis/.config/gcloud/legacy_credentials/karel.goderis@gmail.com/.boto']
config: [('debug', '0'), ('working_dir', '/mnt/pyami'), (u'https_validate_certificates', 'true'), ('debug', '0'), ('working_dir', '/mnt/pyami'), (u'default_project_id', u'dilbeek-140310')]
WARNING 1221 10:12:22.102560 multiprocess_file_storage.py] Credentials file could not be loaded, will ignore and overwrite.
DEBUG 1221 10:12:22.102717 multiprocess_file_storage.py] Read credential file
WARNING 1221 10:12:22.102813 multiprocess_file_storage.py] Credentials file could not be loaded, will ignore and overwrite.
DEBUG 1221 10:12:22.102871 multiprocess_file_storage.py] Read credential file
INFO 1221 10:12:22.103698 base_api.py] Calling method storage.buckets.list with StorageBucketsListRequest: <StorageBucketsListRequest
maxResults: 1000
project: u'dilbeek-140310'
projection: ProjectionValueValuesEnum(noAcl, 1)>
INFO 1221 10:12:22.124354 base_api.py] Making http GET to https://storage.googleapis.com/storage/v1/b?project=dilbeek-140310&fields=nextPageToken%2Citems%2Fid&alt=json&projection=noAcl&maxResults=1000
INFO 1221 10:12:22.124693 base_api.py] Headers: {'accept': 'application/json',
'accept-encoding': 'gzip, deflate',
'content-length': '0',
'user-agent': 'apitools gsutil/4.46 Python/2.7.17 (linux2) google-cloud-sdk/272.0.0 analytics/disabled'}
INFO 1221 10:12:22.124831 base_api.py] Body: (none)
INFO 1221 10:12:22.124911 transport.py] Attempting refresh to obtain initial access_token
WARNING 1221 10:12:22.125097 multiprocess_file_storage.py] Credentials file could not be loaded, will ignore and overwrite.
DEBUG 1221 10:12:22.125161 multiprocess_file_storage.py] Read credential file
WARNING 1221 10:12:22.125251 multiprocess_file_storage.py] Credentials file could not be loaded, will ignore and overwrite.
DEBUG 1221 10:12:22.125306 multiprocess_file_storage.py] Read credential file
INFO 1221 10:12:22.125377 reauth_creds.py] Refreshing access_token
INFO 1221 10:13:22.215104 retry_util.py] Retrying request, attempt #1...
DEBUG 1221 10:13:22.215581 http_wrapper.py] Caught socket error, retrying: timed out
DEBUG 1221 10:13:22.215801 http_wrapper.py] Retrying request to url https://storage.googleapis.com/storage/v1/b?project=dilbeek-140310&fields=nextPageToken%2Citems%2Fid&alt=json&projection=noAcl&maxResults=1000 after exception timed out
INFO 1221 10:13:24.615057 transport.py] Attempting refresh to obtain initial access_token
每次在http调用上获取访问令牌都超时
Google方面有问题吗?
Tx