strohne / Facepager

Facepager was made for fetching public available data from YouTube, Twitter and other websites on the basis of APIs and webscraping.
https://github.com/strohne/Facepager/releases
506 stars 198 forks source link

BadStatusLine after every N request #25

Closed dorvak closed 7 years ago

dorvak commented 10 years ago

I'm still getting a BadStatus-Line Error on Win 7 (need to check this on my Mac). This error ocurrs after issuing a new request (f.e. this does not ocurr while paginating through the results).

`HTTPSConnectionPool(host='api.twitter.com', port=443): Max retries exceeded with url: /1.1/application/rate_limit_status.json?resources= blablabla (Caused by <class 'httplib.BadStatusLine'>: '')

An educated guess without debugging anything: 1) Some remainings of the old request inside the HTTPSConnection Pool (this seems to be a known request-bug with older version). 2) Some issues with proxies(network at the university (although this should not cause such error 3) Our threading-implementation breaks the ConnectionPool somehow

This is not really urgent, but quite annoying. I'll debug that in May (holidays!)

strohne commented 10 years ago

I get this error when collecting Facebook data (without any proxies), too.

dorvak commented 10 years ago

Which request-Version do you use to package the stuff to a binary/exe? I can't reproduce the error in my dev-enviroment, so this is likely a version-issue or related to the packaging (maybe some old .dll's or a strange Windows-related stuff)

strohne commented 10 years ago

Probably version 1.2.3. I will make a build with a newer version soon.

strohne commented 7 years ago

did't get this error for a long time now, i close the issue.