Erich Stoekl
05/04/2020, 11:01 PMconn.WriteJSON
messages here in the code).
After that, however, I see the websocket stays open but only h
is received every 25 seconds. Please see my attached image.
I know that I should see the total
, status
, and result
be received by this websocket when it is operating properly. I have a screenshot attached of this proper operation as well: I can get it to work when I am not using the Load Balancer.
My question is -- how can I debug this scenario? Is it hanging inside this goroutine for loop? I am not very familiar with golang so I am having trouble putting in print statements (tried putting in fmt.PrintLn
statements, but they never showed up in the server logs).
PS - Seeing as it works without HAProxy but does not work with HAProxy, I suspected it was a timeout issue. I set tunnel timeout settings on my HAProxy, but that did not help either. It seems the websocket connection is established, but the result data does not come through.zwass
05/04/2020, 11:06 PMEdward
05/13/2021, 1:53 AM