mpashis-ol4
(Ashis Chakraborty)
September 14, 2023, 6:07am
1
I recently installed the V3 in a new windows VM and once I run my code I am getting this issue.
Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091) - goodbye
Pls help to get rid of it.
chirag
(Chirag)
September 14, 2023, 6:23am
2
install this pkg and see if it helps https://pypi.org/project/certifi/
it is not recommended as it is a security issue but if you want to test the requests then use
requests.get(url, verify=False)
#### OR #####
session = requests.Session()
session.verify = False
session.trust_env = False
session.get(url=url)
but remember, it is not the solution, just to test if other things are working.
Also google search, there are many links for solution, its not Fyers issue.
Z4PBvkQGyF
(Inactive Member)
September 14, 2023, 7:13am
3
Hi @mpashis-ol4
This is not Fyers API issue. It is happening because of security issue from your PC machine.
Please google for particular error.
I am still getting the ssl issue (I am on mac) is this issue solved?
WWhYB2qrsx
(Inactive Member)
October 8, 2024, 7:10am
5
Hey @110796673722581851727
It appears that the error is likely related to SSL considerations, particularly with how the WebSocket connection is being handled. To resolve this, I recommend verifying the SSL configuration on your end. You may need to ensure that the SSL certificates are correctly set up, and that the connection is not being terminated due to any SSL handshake issues