Error info: Connection to remote host was lost. Connection to remote host was lost.
-
I also got the same error today at around 11:57.
{'task': 'cn', 'channel': 'NONLM', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
2021-06-15 11:53:26.590721 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
2021-06-15 11:53:56.598657 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
2021-06-15 11:54:26.604543 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
2021-06-15 11:54:56.609620 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
2021-06-15 11:55:26.614417 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
2021-06-15 11:55:56.619472 : Start task in the background
{'task': 'hb', 'channel': '', 'token': ', 'user': 'V232487', 'acctid': 'V232487'}
2021-06-15 11:56:26.622838 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
2021-06-15 11:56:56.627850 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
Error info: Connection to remote host was lost.
2021-06-15 11:57:26.633079 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
HeartBeat Sending Failed
2021-06-15 11:57:56.634392 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
HeartBeat Sending Failed
2021-06-15 11:58:26.638785 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
HeartBeat Sending Failed -
Hi @vip we have already reported this to our team.
-
@admin ok thanks.
-
@admin while your team is working on a resolution, please provide a way or a code snippet to reconnect the WebSocket , this will be really helpful as the connection to the host was lost error is coming every now and then.
-
Hi @s4ntosh You can use the websocket now the above mentioned issue is solved.
-
This has happened today at 12:24 again, this time with a different error code
-
HI @s4ntosh How many scripts you are passing.
-
@admin same is happening with me.
I am getting more 3 errors:[WinError 10053] An established connection was aborted by the software in your host machine
and
[WinError 10054] An existing connection was forcibly closed by the remote host
and
[SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:2633)
I am passing around 12 to 15 scripts.
nse_cm|20374&nse_cm|881&nse_cm|1333&nse_cm|4870&nse_cm|1594&nse_cm|2885&nse_cm|2963&nse_cm|21808&nse_cm|3045&nse_cm|3351&nse_cm|3456&nse_cm|3499
-
@admin Getting error today as well.
2021-06-16 13:18:27.514597 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
Error info: Connection to remote host was lost.
Connection to remote host was lost.
2021-06-16 13:18:57.519762 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
HeartBeat Sending Failed
2021-06-16 13:19:27.524737 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
HeartBeat Sending Failed
2021-06-16 13:19:57.530171 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
HeartBeat Sending Failed
2021-06-16 13:20:27.535489 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
HeartBeat Sending Failed
2021-06-16 13:20:57.541105 : Start task in the background
{'task': 'hb', 'channel': '', 'token': '', 'user': 'V232487', 'acctid': 'V232487'}
HeartBeat Sending Failed -
-
@vip trying doing
pip install smartapi-python --force-reinstall
and run again. -
@admin any update on this?
-
@admin Min of 2, max I have tried is 3 scrips.
-
This post is deleted! -
Hi @s4ntosh We reported this to our team we will update you on this.
-
This post is deleted! -
-
Dear @abhijith We are aware of this we will update once it get fixed.
-
hi @anuragbaheti which version of sdk you are using.
-
@admin version 1.2.8 of smartapi-python