Shoonya-Dev / ShoonyaApi-py

145 stars 134 forks source link

Certificate issue #3

Closed chandre-gowda closed 2 years ago

chandre-gowda commented 2 years ago

Traceback (most recent call last): File "E:\CODING\finvasiaAPI\shoonya\ShoonyaApi-py-master\example_market.py", line 75, in ret = api.login(userid=cred['user'], password=cred['pwd'], twoFA=cred['factor2'], File "C:\Python310\lib\site-packages\NorenRestApiPy\NorenApi.py", line 231, in login res = requests.post(url, data=payload) File "C:\Python310\lib\site-packages\requests\api.py", line 117, in post return request('post', url, data=data, json=json, kwargs) File "C:\Python310\lib\site-packages\requests\api.py", line 61, in request return session.request(method=method, url=url, kwargs) File "C:\Python310\lib\site-packages\requests\sessions.py", line 542, in request resp = self.send(prep, send_kwargs) File "C:\Python310\lib\site-packages\requests\sessions.py", line 655, in send r = adapter.send(request, kwargs) File "C:\Python310\lib\site-packages\requests\adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='shoonyatrade.finvasia.com', port=443): Max retries exceeded with url: /NorenWClientTP//QuickAuth (Caused by SSLError(CertificateError("hostname 'shoonyatrade.finvasia.com' doesn't match either of 'shoonya.finvasia.com', 'www.shoonya.finvasia.com'")))

Shoonya-Dev commented 2 years ago

Greetings from FINVASIA!

Thanks for your Concern.

Certificate is updated.

avinashily commented 1 year ago

i am getting the same error again today. please fix it.

*** requests.exceptions.SSLError: HTTPSConnectionPool(host='shoonyatrade.finvasia.com', port=443): Max retries exceeded with url: /NorenWClientTP//QuickAuth (Caused by SSLError(SSLCertVerificationError("hostname 'shoonyatrade.finvasia.com' doesn't match 'shoonya.finvasia.com'")))

rajeshhirpara commented 1 year ago

I am also getting the same error again today. please fix it.

*** requests.exceptions.SSLError: HTTPSConnectionPool(host='shoonyatrade.finvasia.com', port=443): Max retries exceeded with url: /NorenWClientTP//QuickAuth (Caused by SSLError(SSLCertVerificationError("hostname 'shoonyatrade.finvasia.com' doesn't match 'shoonya.finvasia.com'")))

amolc commented 1 year ago

Got this error today. Really are we 2 years still trying to solve the same problem. Need urgent help.

sandeepvats1 commented 10 months ago

still getting the issue, is there any resolution to same