cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed c

requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed c

niktrychill
New member | Level 2

 

i am uploading csv data to cloud here is the code.

with open(filename, 'rb') as f:
        data = f.read()
    try:
        dbx.files_upload(data, '/' + filename, dropbox.files.WriteMode.overwrite)
        return 1
    except:
        traceback.print_exc()
        return 0

i got this error.

requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

i am using python 3.5 and dropbox 9.0.0 in local linux os.

 

1 Reply 1

Greg-DB
Dropbox Staff
Nothing looks clearly wrong in your code. I also just tried this and can't reproduce the issue.

Are you still seeing this? If so, is there anything on your network connection, e.g., firewall, proxy, etc. that may be interfering?
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?