Navigation

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

    Best posts made by hashmeet

    • Order Status Websocket not working

      Hi @administrators @admin,
      Getting the following error while trying to connect to Order Status Websocket.

      com.neovisionaries.ws.client.WebSocketException: The status line of the opening handshake response is empty.
      	at com.neovisionaries.ws.client.HandshakeReader.readStatusLine(HandshakeReader.java:99)
      	at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:48)
      	at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3440)
      	at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3319)
      	at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2354)
      	at com.angelbroking.smartapi.smartTicker.SmartWebsocket.connect(SmartWebsocket.java:257)
      	at org.example.Main.main(Main.java:118)
      
      

      Also while trying the same from POSTMAN getting error:

      Error: socket hang up
      

      Can someone please help understand what the issue is and how to resolve it?

      posted in NodeJS SDK
      H
      hashmeet