Websocket error," raise InvalidMessage("did not receive a valid HTTP response"

Hi
can u please help me with this error while running the websocket ?

I am also getting same error today and I am not able to figure out. Anyone who can help on this

Hello @nawal555 @bharathi_komaravolu

Can you DM your Client ID, will take a look.

hi Hardick …Pls confirm if issue still persists as I am not able to use this because of frequent disconnection…
regards

Hello @bharathi_komaravolu

Looks like your Data API subscription is not renewed. This is why you are getting this error.

Client IDs are confidential information; therefore, we remove the message from the thread where they were mentioned. We have noted the client IDs for our reference.

@bharathi_komaravolu @nawal555

@Hardik

I updated my Data API subscription and re-generated access token.
Now I am getting below error with the same code that worked earlier .
Please help .
"HTTPSConnectionPool(host=‘api.dhan.co’, port=443): Max retries exceeded with url: /charts/intraday (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)’))) "

Regards,
Bharathi

Hello @bharathi_komaravolu

This is a local device issue itself, where the APIs are not getting requested because of SSL failure. It exists in Python, you can read more about it here: Marketfeed python program error is coming - Resolved! - #5 by Pranav_Deshmukh

@Hardik
I followed all the steps from the above link

error still persists

Hello @bharathi_komaravolu

Can you check SSL version with:

openssl version

in terminal?