SSLError(SSLCertVerificationError
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello, Alteryx User Community,
I was trying to use Alteryx Python tool to to get twitter data using following Twitter API function and got SSL Error
tweets = collect_results(rule, max_results=500000, result_stream_args=premium_search_args)
SSLError: HTTPSConnectionSSLError: HTTPSConnectionPool(host='gnip-api.twitter.com', port=443)
Pool(host='gnip-api.twitter.com', port=443): Max retries exceeded with url: (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))
Can any one help with this?
Thanks!
- Labels:
- Settings
- Topic of Interest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Did you find a solution to this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
These errors are usually internal and based upon what's whitelisted from your machine/system. I'd recommend running this through download tool vs Python if possible. You can also test to see if you can run from Postman Desktop and see if you get the same SSL issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
hhhm got into the same issue or scenario; python script within alteryx trying to connect to an URL using RESTAPI
