question

Upvotes
Accepted
1 0 0 0

SSLError: bad handshake

I used to be able to download data from the permID API using my python script and access token. However, recently I have been getting an SSL error:

SSLError: HTTPSConnectionPool(host='permid.org', port=443): Max retries exceeded with url: /1-5042944306?format=json-ld&access-token=XXXXXXXXX (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

I would appreciate it if somebody can provide a solution for this. Thank you.

pythonintelligent-tagging-apipermid-apiopen-permid-apissl
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
Accepted
23k 22 9 14

Hello @angs,

I have just tried in browser

https://permid.org/1-5042944306?format=json-ld&access-token=MINE

and got back json as expected.

Can you please try, do you observe the issue still?

If it does, have any changes been made by your organization recently, to restrict security on access, this discussion may be relevant then.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 0 0

Thank you, @zoya.farberov It was indeed the security restrictions from my organization.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea