Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front end does not properly reconnect after waking machine from sleep #14671

Open
Tracked by #13192
tsmaeder opened this issue Dec 24, 2024 · 3 comments
Open
Tracked by #13192

Front end does not properly reconnect after waking machine from sleep #14671

tsmaeder opened this issue Dec 24, 2024 · 3 comments

Comments

@tsmaeder
Copy link
Contributor

tsmaeder commented Dec 24, 2024

Bug Description:

I was travelling and working on Theia. I closed my laptop exiting the train and opened it again at home (in my home network). Now the UI seems disconnected from the back-end:

  • Code assist in a typescript file is not available (shows "loading...").
  • When I edit a file and press "save", the file remains dirty

In the log, I have two messages:

Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED localhost:51936/socket.io/?EIO=4&transport=polling&t=gvqutf8x:1         
Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED http://localhost:51936/socket.io/?EIO=4&transport=polling&t=gvs2sm1n

Steps to Reproduce:

n/a

Additional Information

  • Operating System: Windows 11
  • Theia Version: 1.57.100
@tsmaeder
Copy link
Contributor Author

We used to have this problem in the past, but it was fixed for a while: #12707

@tsmaeder
Copy link
Contributor Author

@msujew what seems odd to me is the "transport=polling" in the erroring URI's.

@tsmaeder tsmaeder mentioned this issue Dec 24, 2024
63 tasks
@msujew
Copy link
Member

msujew commented Dec 24, 2024

@tsmaeder I would assume that after the initial disconnect, the frontend will attempt to reconnect using the polling mechanism first before attempting to switch to the websocket connect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants