question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Websockets transport stuck during the close step of a connection

See original GitHub issue

I am using the gql from master and experiencing an occasional deadlock. The library I’m using is calling client.execute() with a websocket transport. Sometimes I see an error like this: Exception in subscribe: GeneratorExit() and then client.execute() never returns.

WebSocketTransport.execute() does return an ExecutionResult, i.e. first_result is set. Also AsyncClientSession.execute() returns.

Maybe it’s failing to close the connection?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15

github_iconTop GitHub Comments

2reactions
akvadrakocommented, Aug 17, 2020

I have been testing your new code for 30 minutes or so. Seems to be working 😃

0reactions
leszekhanuszcommented, Oct 4, 2020

This is now fixed in version 3.0.0a2

Read more comments on GitHub >

github_iconTop Results From Across the Web

websocket closing connection automatically - Stack Overflow
I'm building an application in java that has an embedded websocket server based on jetty. The client is the default websocket implementation in...
Read more >
Troubleshooting connection issues | Socket.IO
the socket is not able to connect; the socket gets disconnected; the socket is stuck in HTTP long-polling; other common gotchas ...
Read more >
Having trouble calling a websocket using Aspnetcore Signalr ...
User1031775717 posted. Hi,. I'm trying to call a websocket service located at wss://socket.btcmarkets.net/v2 using Aspnetcore Signalr Client ...
Read more >
dedicated agents are not able to connect
Since CloudBees Core 2.222.1.1 it is possible to connect your inbound agents using WebSocket transport instead of TCP, which simplifies the connectivity at...
Read more >
WebSockets and Node.js - testing WS and SockJS by building ...
WebSockets on the server can become complicated as the connection upgrade from HTTP to WebSockets requires handling. This is why developers commonly use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found