Websocket Invalid feed token or client code after reconnect attempts
-
2021/06/04 13:07:44 Connected
2021/06/04 13:11:31 Error: Error reading data: websocket: close 1006 (abnormal closure): unexpected EOF
2021/06/04 13:12:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
2021/06/04 13:13:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
2021/06/04 13:14:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
Reconnect attempt 3 in 8.000000s
2021/06/04 13:14:52 Connected
2021/06/04 13:17:44 Error: Invalid feed token or client code
2021/06/04 13:17:52 Error: Invalid feed token or client code
2021/06/04 13:18:44 Error: Invalid feed token or client code
2021/06/04 13:18:52 Error: Invalid feed token or client code
2021/06/04 13:19:44 Error: Invalid feed token or client code
2021/06/04 13:19:52 Error: Invalid feed token or client code
2021/06/04 13:20:44 Error: Invalid feed token or client code
2021/06/04 13:20:52 Error: Invalid feed token or client code
2021/06/04 13:21:44 Error: Invalid feed token or client code
2021/06/04 13:21:52 Error: Invalid feed token or client code
2021/06/04 13:22:44 Error: Invalid feed token or client code
2021/06/04 13:22:52 Error: Invalid feed token or client code
2021/06/04 13:23:44 Error: Invalid feed token or client code
2021/06/04 13:23:52 Error: Invalid feed token or client code
2021/06/04 13:24:44 Error: Invalid feed token or client code
2021/06/04 13:24:52 Error: Invalid feed token or client code
2021/06/04 13:25:44 Error: Invalid feed token or client code
2021/06/04 13:25:52 Error: Invalid feed token or client code -
If you are using C# library and your target framework is 5.0
then- comment out the code where you are assigning security protocol.
![0_1622910468104_8bdf1b16-f986-46a0-9102-92c26329ec11-image.png](Uploading 100%) - Build the SmartAPIProject
- Refer to the latest angelbroking.dll binary placed at bin folder
![0_1622910570902_0afaf07f-8de5-4eba-bd50-0dc4f4a1d614-image.png](Uploading 100%)
- comment out the code where you are assigning security protocol.
-
Hi @viralt no.
-
@admin
If we generate new session in another program then in that case does it invalidate older running program ? -
HI @viralt Please check you feed token and client code and try again.