☰
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
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
October 2019
rakeshr
October 2019
rajagopal
October 2019
sujith
ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (WebSocket connect
rajagopal
October 2019
in
Market data (WebSockets)
I used the example program from
https://github.com/zerodhatech/pykiteconnect
and getting error:
ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))
Is there any issue?
sujith
October 2019
A 403 means you seem to be sending wrong authorization details. Please check if you are passing api_key and access_token.
rajagopal
October 2019
#
https://kite.trade/connect/login?api_key=xxx&v=3
kws = KiteTicker("xxx", "yyy")
i use the link to login and get the redirct app sucess response from
http://127.0.0.1:5001/1_zd_request?request_token=yyy&action=login&status=success
sujith
October 2019
You need to generate access token from the received request token. For more information, you can refer to the documentation
here
.
rajagopal
October 2019
@sujith
is there any sample program to generate access tocken? can you please share?
rakeshr
October 2019
@rajagopal
Which kite-connect client, you are looking for?
You can refer to the required
sample code here
.
rajagopal
October 2019
@sujith
resolved the issue thanks for your help. pls close this ticket
This discussion has been closed.
kws = KiteTicker("xxx", "yyy")
i use the link to login and get the redirct app sucess response from http://127.0.0.1:5001/1_zd_request?request_token=yyy&action=login&status=success
Which kite-connect client, you are looking for?
You can refer to the required sample code here.