Navigation

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

    viralt

    @viralt

    0
    Reputation
    8
    Posts
    2
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    viralt Follow

    Best posts made by viralt

    This user hasn't posted anything yet.

    Latest posts made by viralt

    • RE: Websocket in GoLang SDK closes randomly after some time

      @viralt said in Websocket in GoLang SDK closes randomly after some time:

      panic: sync: negative WaitGroup counter
      goroutine 52 [running]:
      sync.(*WaitGroup).Add(0xc0003a46d0, 0xffffffffffffffff)
      c:/go/src/sync/waitgroup.go:74 +0x140
      sync.(*WaitGroup).Done(...)
      c:/go/src/sync/waitgroup.go:99
      github.com/angelbroking-github/smartapigo/websocket.(*SocketClient).checkConnection(0xc0001c4a20, 0xc0003a46d0)
      C:/Users/ABC/projects/smartapigo/websocket/websocket.go:315 +0x195
      created by github.com/angelbroking-github/smartapigo/websocket.(*SocketClient).Serve
      C:/Users/ABC/projects/smartapigo/websocket/websocket.go:253 +0x5f2
      exit status 2

      any update on this ?

      posted in Bugs
      V
      viralt
    • RE: Websocket: negative WaitGroup counter GoSDK

      @admin said in Websocket: negative WaitGroup counter GoSDK:

      feed

      How can we regenerate feedtoken?
      Any function call or API for that?

      posted in Bugs
      V
      viralt
    • RE: Websocket Invalid feed token or client code after reconnect attempts

      @admin
      If we generate new session in another program then in that case does it invalidate older running program ?

      posted in Bugs
      V
      viralt
    • Websocket: negative WaitGroup counter GoSDK

      panic: sync: negative WaitGroup counter

      goroutine 49 [running]:
      sync.(*WaitGroup).Add(0xc000016b40, 0xffffffffffffffff)
      c:/go/src/sync/waitgroup.go:74 +0x140
      sync.(*WaitGroup).Done(...)
      c:/go/src/sync/waitgroup.go:99
      github.com/angelbroking-github/smartapigo/websocket.(*SocketClient).checkConnection(0xc0000f8480, 0xc000016b40)
      C:/Users/Viral/projects/smartapigo/websocket/websocket.go:315 +0x195
      created by github.com/angelbroking-github/smartapigo/websocket.(*SocketClient).Serve
      C:/Users/Viral/projects/smartapigo/websocket/websocket.go:253 +0x5f2
      exit status 2

      posted in Bugs
      V
      viralt
    • Websocket Invalid feed token or client code after reconnect attempts

      2021/06/04 13:07:44 Connected
      2021/06/04 13:11:31 Error: Error reading data: websocket: close 1006 (abnormal closure): unexpected EOF
      2021/06/04 13:12:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      2021/06/04 13:13:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      2021/06/04 13:14:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      Reconnect attempt 3 in 8.000000s
      2021/06/04 13:14:52 Connected
      2021/06/04 13:17:44 Error: Invalid feed token or client code
      2021/06/04 13:17:52 Error: Invalid feed token or client code
      2021/06/04 13:18:44 Error: Invalid feed token or client code
      2021/06/04 13:18:52 Error: Invalid feed token or client code
      2021/06/04 13:19:44 Error: Invalid feed token or client code
      2021/06/04 13:19:52 Error: Invalid feed token or client code
      2021/06/04 13:20:44 Error: Invalid feed token or client code
      2021/06/04 13:20:52 Error: Invalid feed token or client code
      2021/06/04 13:21:44 Error: Invalid feed token or client code
      2021/06/04 13:21:52 Error: Invalid feed token or client code
      2021/06/04 13:22:44 Error: Invalid feed token or client code
      2021/06/04 13:22:52 Error: Invalid feed token or client code
      2021/06/04 13:23:44 Error: Invalid feed token or client code
      2021/06/04 13:23:52 Error: Invalid feed token or client code
      2021/06/04 13:24:44 Error: Invalid feed token or client code
      2021/06/04 13:24:52 Error: Invalid feed token or client code
      2021/06/04 13:25:44 Error: Invalid feed token or client code
      2021/06/04 13:25:52 Error: Invalid feed token or client code

      posted in Bugs
      V
      viralt
    • Websocket in GoLang SDK closes randomly after some time

      Websocket in GoLang SDK closes randomly after some time and its not able to reconnect

      2021/06/04 12:56:12 Connected
      2021/06/04 12:56:35 Error: Error reading data: websocket: close 1006 (abnormal closure): unexpected EOF
      2021/06/04 12:58:12 Error: write tcp 192.168.1.12:59665->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      2021/06/04 12:59:12 Error: write tcp 192.168.1.12:59665->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      2021/06/04 13:00:12 Error: write tcp 192.168.1.12:59665->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      Reconnect attempt 3 in 8.000000s
      2021/06/04 13:00:20 Connected
      2021/06/04 13:05:36 Error: Error reading data: websocket: close 1006 (abnormal closure): unexpected EOF
      2021/06/04 13:06:20 Error: write tcp 192.168.1.12:51925->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      2021/06/04 13:07:12 Error: write tcp 192.168.1.12:51925->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      panic: sync: negative WaitGroup counter

      goroutine 52 [running]:
      sync.(*WaitGroup).Add(0xc0003a46d0, 0xffffffffffffffff)
      c:/go/src/sync/waitgroup.go:74 +0x140
      sync.(*WaitGroup).Done(...)
      c:/go/src/sync/waitgroup.go:99
      github.com/angelbroking-github/smartapigo/websocket.(*SocketClient).checkConnection(0xc0001c4a20, 0xc0003a46d0)
      C:/Users/ABC/projects/smartapigo/websocket/websocket.go:315 +0x195
      created by github.com/angelbroking-github/smartapigo/websocket.(*SocketClient).Serve
      C:/Users/ABC/projects/smartapigo/websocket/websocket.go:253 +0x5f2
      exit status 2

      posted in Bugs
      V
      viralt