You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uploading a file returns the following error: requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
I've been debugging for a while and can't figure out whether it's a problem with the module or Backblaze's services.
The text was updated successfully, but these errors were encountered:
Blocking Or Non-Blocking?
With the default Transport Adapter in place, Requests does not provide any kind of non-blocking IO. The Response.content property will block until the entire response has been downloaded. If you require more granularity, the streaming features of the library (see Streaming Requests) allow you to retrieve smaller quantities of the response at a time. However, these calls will still block.
As soon as the request.post is called it blocks and times out.
defupload_large_file(...):
# inside upload_large_file is the worker::defupload_part_worker(...):
# which uses upload_part to do the workupload_part_response=self.connector.upload_part(...)
# to serve it defupload_part(...):
# upload_part uses a regular blocking requests.post from inside the upload_part_worker. returnrequests.post(upload_url, headers=headers, data=data)
# and hangs...
Uploading a file returns the following error:
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
I've been debugging for a while and can't figure out whether it's a problem with the module or Backblaze's services.
The text was updated successfully, but these errors were encountered: