Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Youtube data api'youtube.search.list()' returning handshake error #55

Open
rajigit opened this issue Feb 23, 2017 · 0 comments
Open

Youtube data api'youtube.search.list()' returning handshake error #55

rajigit opened this issue Feb 23, 2017 · 0 comments

Comments

@rajigit
Copy link

rajigit commented Feb 23, 2017

I'm invoking youtube data api "youtube.search.list()" to retrieve channel ids for a company name.
API returns data for about 3000 requests.After 3000 requests,I'm getting a handshake error.Below is the full stack trace.
File "/home/ubuntu/jenkins/workspace/youtube_data_collection/MyPy/local/lib/python2.7/site-packages/oauth2client/util.py", line 137, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/ubuntu/jenkins/workspace/youtube_data_collection/MyPy/local/lib/python2.7/site-packages/googleapiclient/http.py", line 835, in execute
method=str(self.method), body=self.body, headers=self.headers)
File "/home/ubuntu/jenkins/workspace/youtube_data_collection/MyPy/local/lib/python2.7/site-packages/googleapiclient/http.py", line 175, in _retry_request
raise exception
SSLError: _ssl.c:495: The handshake operation timed out

Can you please help me in setting a correct timeout period while making calls via youtube data api?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant