- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a script that automatically backs up my videos to Dropbox: https://github.com/janick/ArloDownload
Recently, I have seen it hang and crash after normally processing a certain number of files:
urllib3.exceptions.ProtocolError: ('Connection aborted.', BadStatusLine("''",))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/janick/ArloData/ArloDownload.py", line 301, in <module>
    thisHelper.getLibrary(thisHelper.cameraLibs[camera])
  File "/home/janick/ArloData/ArloDownload.py", line 230, in getLibrary
    response = self.session.get(url, stream=True)Is NetGear throttling access to their cloud storage?
- Related Labels:
- 
						
							
		
			Online and Mobile Apps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use the same basic script, just not the janick one. He modified it for his purposes so he probably should be the one to talk to. I haven't had that error but it may be related to my script stopping before all videos are downloaded on occasion. I simply rerun the script to ensure I've gotten all videos. Netgear has never throttled me - I believe that either something in the script isn't handled well or there's a break in the network communications for some reason. It's beyond my capability to debug so I simply rerun the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm Janick 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you rerun the script, does it pick up where it left off? That's what happens to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it does. Goes through a bunch of video files (including the ones that it choked on earlier) then hits another snag.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And my debug skills are only as good my my Google-fu and stackoverflow.com 😉 According to  https://stackoverflow.com/questions/25326616/unexpected-keyword-argument-buffering-python-client, it comes from an aborted connection on the server side.
Traceback (most recent call last):
  File "/home/janick/ArloData/ArloDownload.py", line 301, in <module>
    thisHelper.getLibrary(thisHelper.cameraLibs[camera])
  File "/home/janick/ArloData/ArloDownload.py", line 225, in getLibrary
    self.concatenate(library[idx:startIdx])
  File "/home/janick/ArloData/ArloDownload.py", line 255, in concatenate
    response = self.session.get(url, stream=True)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 469, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 457, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 569, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 407, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There have been a few times when I had to run the script 3-4 times to complete. Usially only 1-2 times is necessary.
- 
				
					
						Apple HomeKit1 
- 
				
					
						Arlo Mobile App449 
- 
				
					
						Arlo Pro27 
- 
				
					
						Arlo Pro 21 
- 
				
					
						Arlo Pro 32 
- 
				
					
						Arlo Secure1 
- 
				
					
						Arlo Smart102 
- 
				
					
						Arlo Ultra1 
- 
				
					
						Arlo Web and Mobile Apps6 
- 
				
					
						Arlo Wire-Free10 
- 
				
					
						Before You Buy1,206 
- 
				
					
						Discovery1 
- 
				
					
						Features237 
- 
				
					
						Firmware1 
- 
				
					
						Firmware Release Notes119 
- 
				
					
						Hardware2 
- 
				
					
						IFTTT1 
- 
				
					
						IFTTT (If This Then That)48 
- 
				
					
						Installation1,430 
- 
				
					
						Installation & Upgrade1 
- 
				
					
						Online and Mobile Apps1,266 
- 
				
					
						Partner Integrations1 
- 
				
					
						Security1 
- 
				
					
						Service and Storage563 
- 
				
					
						Smart Subscription1 
- 
				
					
						SmartThings39 
- 
				
					
						Software & Apps1 
- 
				
					
						Troubleshooting7,335 
- 
				
					
						Videos1 
- « Previous
- Next »
