Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. arunsingh
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    arunsingh

    @arunsingh

    2
    Reputation
    33
    Posts
    26
    Profile views
    2
    Followers
    1
    Following
    Joined Last Online

    arunsingh Follow

    Best posts made by arunsingh

    • Websocket 2.0, frequently getting 401

      Hi @admin ,

      I am getting below error, when I try to authenticate.
      Sometimes it works, but sometimes it give below error.

      I am passing headers as below
      ws.addHeader("Authorization", "Bearer " + token);
      ws.addHeader("x-api-key", apiKey);
      ws.addHeader("x-client-code", clientId);
      ws.addHeader("x-feed-token", feedToken);

      OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 401 Unauthorized

      posted in General Discussion
      A
      arunsingh

    Latest posts made by arunsingh

    • RE: Websocket 2.0, frequently getting 401

      @admin, Data not receiving

      posted in General Discussion
      A
      arunsingh
    • RE: Websocket 2.0, frequently getting 401

      Hi @admin,

      Any changes in WS2.0?
      It was working find but again started getting

      com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 429 Too Many Requests

      Could you please look into this? Error Too many requests is not correct. Getting the same for the st req

      posted in General Discussion
      A
      arunsingh
    • Websocket 2.0, frequently getting 401

      Hi @admin ,

      I am getting below error, when I try to authenticate.
      Sometimes it works, but sometimes it give below error.

      I am passing headers as below
      ws.addHeader("Authorization", "Bearer " + token);
      ws.addHeader("x-api-key", apiKey);
      ws.addHeader("x-client-code", clientId);
      ws.addHeader("x-feed-token", feedToken);

      OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 401 Unauthorized

      posted in General Discussion
      A
      arunsingh
    • RE: Websocket multiple sessions

      @admin When can we expect a fix on this?

      posted in General Discussion
      A
      arunsingh
    • RE: Websocket multiple sessions

      @admin thanks. This is great 👍

      posted in General Discussion
      A
      arunsingh
    • Websocket multiple sessions

      Hi @admin,how many websocket sessions i can open to fetch different set of instruments data ? With one feedtoken

      posted in General Discussion
      A
      arunsingh
    • RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'

      @admin Thanks

      posted in Python SDK
      A
      arunsingh
    • RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'

      @admin It's been more than 3 days, am still getting this error.

      Could you please confirm on migration part ? request submitted 3 days back
      SBUV1008 account

      "message": "Login Id or password is invalid",
      "data": null,
      "errorcode": "AB1007"

      posted in Python SDK
      A
      arunsingh
    • RE: Please enumerate the Order status in com.angelbroking.smartapi.utils.Constants

      @admin Hi, Please share this with me too [order status list with meaning]. bhavesh78patil@gmail.com

      posted in NodeJS SDK
      A
      arunsingh
    • RE: USER ID OR PASSWORD IS INVALID , error code : 'AB1007'

      @admin Already done

      posted in Python SDK
      A
      arunsingh