☰
Login
Signup
Home
›
Market data (WebSockets)
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
15K
All Categories
0
Incidents
178
Node JS client
52
Go client
849
.Net API client
397
Kite Publisher
554
.Net / VBA / Excel (3rd party)
493
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
410
PHP client
4.3K
Python client
357
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
General
In this Discussion
11:17AM
nagavenij
failing WebSocket opening handshake ('WebSocket connection upgrade failed (403 - Forbidden)')
nhari1987
7:11AM
in
Market data (WebSockets)
Hi team
i m facing error while connecting to Websocket. i m using python. i have regenerated new secret key and new access token.
2026-02-16 12:09:16+0530 [-] failing WebSocket opening handshake ('WebSocket connection upgrade failed (403 - Forbidden)')
2026-02-16 12:09:16+0530 [-] dropping connection to peer tcp4:3.7.92.50:443 with abort=True: WebSocket connection upgrade failed (403 - Forbidden)
2026-02-16 12:09:16,614 - kiteconnect.ticker - ERROR - Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))
2026-02-16 12:09:16,614 - kiteconnect.ticker - ERROR - Connection closed: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))
2026-02-16 12:09:16+0530 [-] will retry in 3 seconds
2026-02-16 12:09:16+0530 [-] Stopping factory
2026-02-16 12:09:16+0530 [-] Main loop terminated.
i tired with other ISP and laptop and disabled firewall aslo.. but still not working.. please suggest any solution to resolve this issue..
Regards
Hari
nagavenij
11:17AM
The Kite Ticker requires valid credentials. If you receive a 403 error, it means the api_key or access_token is invalid. Please refer to this
discussion
.
Sign In
or
Register
to comment.