@AravindAnbalagan
hi can you please share the code how to get atomation totp
mail id : rishab20dec2015@gmail.com
Best posts made by Rishab
-
RE: Facing issue in TOTP Automation
Latest posts made by Rishab
-
RE: Error: Unexpected server response: 401
Jwt.js:32 Establishing WebSocket connection...
Jwt.js:37 WebSocket connection established successfully.
Jwt.js:78 Received: Blob {size: 379, type: ''}
Jwt.js:78 Received: Blob {size: 379, type: ''}
Jwt.js:89 Buffer: Uint8Array(379) [3, 1, 49, 48, 57, 57, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 5, 0, 0, 0, 0, 0, 0, 45, 127, 158, 144, 141, 1, 0, 0, 133, 96, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 147, 89, 16, 0, 0, 0, 0, 0, 113, 217, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 79, 64, 21, 88, 16, 0, 0, 0, 0, 0, 8, …]
Jwt.js:114 Subscription Mode: 3
Jwt.js:115 Exchange Type: 1
Jwt.js:116 Token: 10999finally i got result problem solved
-
RE: Error: Unexpected server response: 401
Generated TOTP: 818495
Session generated: {
status: true,
message: 'SUCCESS',
errorcode: '',
data: {
jwtToken: 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VybmFtZSI6IlIyNzUzMDIiLCJyb2xlcyI6MCwidXNlcnR5cGUiOiJVU0VSIiwidG9rZW4iOiJleUpoYkdjaU9pSklVelV4TWlJc0luUjVjQ0k2SWtwWFZDSjkuZXlKemRXSWlPaUpTTWpjMU16QXlJaXdpWlhod0lqb3hOekEzTmpVM05UVTBMQ0pwWVhRaU9qRTNNRGMxTmpRd016WXNJbXAwYVNJNklqUXhNREl4WXpabExUZ3daVGd0TkRkalppMDVZelUyTFRNNE1qVTVOMlJtWkRWbVpDSXNJbTl0Ym1WdFlXNWhaMlZ5YVdRaU9qRXNJbk52ZFhKalpXbGtJam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WpRdFltUTVZaTB6WW1ZNExUaGtaakl0Tm1FNU5HVTJNemRpWmpJMUlpd2lZV04wSWpwN2ZYMC5VLXpfZWt3YU04ZjlKMER6U3RXLXEyZ3VCczl1Z1dWMmdZdW1EVmtCVkFZTU5iakRvSWFhNmdFYm9uZDJFYXZyaFdfRUxJdmlxdlhiZW95RXhyN0tWdyIsImlhdCI6MTcwNzU2NDA5Nn0.MdPftB0M24Nurkmz4mSdkQTZt26F6GnKAm2RqgK6mJvfhemHch_f9A5F3aM42wwvDd2FZgMvGQt4d_fbeh-vxg',
feedToken: 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VybmFtZSI6IlIyNzUzMDIiLCJpYXQiOjE3MDc1NjQwOTYsImV4cCI6MTcwNzY1MDQ5Nn0.S0o0zh3gOaiZjzguPiSReN24k89JWbHcsfd0RLWizsiE8oSG96ocSXS0gYHSTuNU4j5zjwFS0oHo2k6yvGxg7A'
}
}
Simulating session expiration...
I:\Ramesh\New folder\node\node_modules\smartapi-javascript\lib\websocket2.0.js:89
throw new Error(evt.message);
^Error: Unexpected server response: 401
at ws.onerror (I:\Ramesh\New folder\node\node_modules\smartapi-javascript\lib\websocket2.0.js:89:15)
at callListener (I:\Ramesh\New folder\node\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onError (I:\Ramesh\New folder\node\node_modules\ws\lib\event-target.js:230:9)
at WebSocket.emit (node:events:515:28)
at emitErrorAndClose (I:\Ramesh\New folder\node\node_modules\ws\lib\websocket.js:1033:13)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)Node.js v21.1.0
-
RE: Error: Unexpected server response: 401
Node js mai 401 error aa rha hai or java code mai 443 error aa rha iska koi solution hai to please bataye only python code work kr rha hai
-
RE: BankNifty index Historical Data not available
historicParam={
"exchange": "NSE",
"symboltoken": "26009",
"interval": "ONE_MINUTE",
"fromdate": "2021-02-08 09:00",
"todate": "2021-02-08 09:16"
}THIS IS FOR BANKNIFTY
-
RE: Error: Unexpected server response: 401
ye problem server side se hai ya mere code mai issue hai
-
Error: Unexpected server response: 401
C:\Users\hp\Desktop\node\no\lib\websocket2.0.js:89
throw new Error(evt.message);
^Error: Unexpected server response: 401
at ws.onerror (C:\Users\hp\Desktop\node\no\lib\websocket2.0.js:89:15)
at callListener (C:\Users\hp\Desktop\node\no\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onError (C:\Users\hp\Desktop\node\no\node_modules\ws\lib\event-target.js:230:9)
at WebSocket.emit (node:events:515:28)
at emitErrorAndClose (C:\Users\hp\Desktop\node\no\node_modules\ws\lib\websocket.js:1033:13)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)Node.js v21.1.0
-
com.neovisionaries.ws.client.WebSocketException: Failed to connect to 'wsfeeds.angelbroking.com:443': Connection timed out: connect
com.neovisionaries.ws.client.WebSocketException: Failed to connect to 'wsfeeds.angelbroking.com:443': Connection timed out: connect
at com.neovisionaries.ws.client.SocketConnector.connectSocket(SocketConnector.java:126)
at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:238)
at com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:189)
at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2351)
at com.angelbroking.smartapi.ticker.SmartAPITicker.connect(SmartAPITicker.java:288)
at octops.TOTP.tickerUsage(TOTP.java:75)
at octops.TOTP.main(TOTP.java:45)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:579)
at java.base/sun.nio.ch.Net.connect(Net.java:568)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:576)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:666)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
at com.neovisionaries.ws.client.SocketInitiator$SocketRacer.run(SocketInitiator.java:126)
false -
how to get feedtoken in Android studio
hi can you share the code how to get feedtoken in Android studio
rishab20dec2015@gmail.com -
RE: Facing issue in TOTP Automation
@AravindAnbalagan
hi can you please share the code how to get atomation totp
mail id : rishab20dec2015@gmail.com