Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Websocket: negative WaitGroup counter GoSDK

    Test
    2
    5
    12
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      viralt last edited by

      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

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @viralt last edited by

        Hi @viralt please dont create unnecessary threads for same issue.

        A 1 Reply Last reply Reply Quote 0
        • A
          admin @admin last edited by

          Hi @admin regenerate feed token and pass it to websocket code and try again.

          V 1 Reply Last reply Reply Quote 0
          • V
            viralt @admin last edited by

            @admin said in Websocket: negative WaitGroup counter GoSDK:

            feed

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

            A 1 Reply Last reply Reply Quote 0
            • A
              admin @viralt last edited by

              Dear @viralt you need to go through the documentation for basic flow of login process.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post