unable to login - SSLError
-
MaxRetryError: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/auth/angelbroking/user/v1/loginByPassword (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1091)')))
-
@ms said in unable to login - SSLError:
any update on this ?
This has been already resolved. -
any update on this ?
-
@lakshmi_73 thanks. it's working now
-
-
@stocksdeveloper thanks boss it worked
-
@pashriva
I am not sure pashriva, I use only python sdk.
But things should be similar in java also. Check the smartapi code. -
@sidsam12
This is not a solution, this is workaround.
Even i thought it would break some of the requests but I am running by disabling certificate validation and so far things are working fine. -
@lakshmi_73
How to achieve this in Java ? -
@stocksdeveloper This shouldn't be solution. You cannot expect us to disable ssl for this. Here requests are not a plain get request.
-
@Manoj123
Just do thisself.angel_obj = SmartConnect(api_key=self.config["API_KEY"],disable_ssl=True)
Just add this parameter disable_ssl=True while calling SmartConnect class.
This will skip the ssl_certificate validation.
-
@manoj123 We cannot share our internal code. But a simple google search like this (python disable ssl verification) will be good enough to help you.
Check for whichever language you use.... python, java, c# etc.
-
@stocksdeveloper Can you please let us know on how to do it ? Any codes if possible please paste.
-
@harish said in unable to login - SSLError:
@admin Even login into https://smartapi.angelbroking.com/signin# is not happening
A issue has been identified on SSl Certificate on trade.angelbroking.com, tab.angelbroking.com, SmartAPI and Smartstore. We are working on it and will keep you posted. Regret the inconvenience caused.
-
------ SOLUTION ------
We have disabled the SSL checks for Angel Broking domain & we are good now orders are going through.
Please see if you can disable SSL checks on your HTTP client. This will solve the issue until Angel renews the certificates.
-
@admin Even login into https://smartapi.angelbroking.com/signin# is not happening
-
+ 1
If I am not wrong, similar issue happened a few months back also.
-
@admin Getting below error kindly check ```
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/auth/angelbroking/user/v1/loginByPassword (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))) -
@admin markets have opened and session is positive, after a long time. Request support ASAP. Our livelihoods are dependent on this.
-
certificate issue . unable to get token. please rectify issue asap