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

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

@rajigit

Description

@rajigit

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions