Skip to content

Seeing Timeouts in S3 Uploads #877

@preet1309

Description

@preet1309

While Trying to Backup our Database to S3 Buckets We are consistently Seeing timeouts
Please go through the stack trace below

If this is a known issue please suggest a viable workaround

Problem: error: [Errno 110] Operation timed out
S3cmd:   1.6.1
python:   2.7.12 (default, Jun 29 2016, 09:11:45) 
[GCC 5.3.0]
environment LANG=None

Traceback (most recent call last):
  File "/opt/s3cmd/s3cmd", line 2996, in <module>
    rc = main()
  File "/opt/s3cmd/s3cmd", line 2915, in main
    rc = cmd_func(args)
  File "/opt/s3cmd/s3cmd", line 1837, in cmd_sync
    return cmd_sync_local2remote(args)
  File "/opt/s3cmd/s3cmd", line 1811, in cmd_sync_local2remote
    ret = _single_process(args[:-1])
  File "/opt/s3cmd/s3cmd", line 1569, in _single_process
    return _child(destination_base, source_args)
  File "/opt/s3cmd/s3cmd", line 1673, in _child
    remote_list, dst_exclude_list, remote_total_size = fetch_remote_list(destbase_with_source_list, recursive = True, require_attribs = True)
  File "/opt/s3cmd/S3/FileLists.py", line 457, in fetch_remote_list
    objectlist, tmp_total_size = _get_filelist_remote(uri, recursive = True)
  File "/opt/s3cmd/S3/FileLists.py", line 394, in _get_filelist_remote
    recursive = recursive, uri_params = uri_params)
  File "/opt/s3cmd/S3/S3.py", line 327, in bucket_list
    for truncated, dirs, objects in self.bucket_list_streaming(bucket, prefix, recursive, uri_params, limit):
  File "/opt/s3cmd/S3/S3.py", line 358, in bucket_list_streaming
    response = self.bucket_list_noparse(bucket, prefix, recursive, uri_params, max_keys)
  File "/opt/s3cmd/S3/S3.py", line 389, in bucket_list_noparse
    response = self.send_request(request)
  File "/opt/s3cmd/S3/S3.py", line 1235, in send_request
    conn = ConnMan.get(self.get_hostname(resource['bucket']))
  File "/opt/s3cmd/S3/ConnMan.py", line 249, in get
    conn.c.connect()
  File "/usr/lib/python2.7/httplib.py", line 1270, in connect
    HTTPConnection.connect(self)
  File "/usr/lib/python2.7/httplib.py", line 836, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 575, in create_connection
    raise err
error: [Errno 110] Operation timed out

Thanks

Preet

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions