Skip to content

Code-server - Frequent reconnect messages #2163

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

Closed
brettplarson opened this issue Oct 6, 2020 · 1 comment
Closed

Code-server - Frequent reconnect messages #2163

brettplarson opened this issue Oct 6, 2020 · 1 comment

Comments

@brettplarson
Copy link

  • Web Browser: Chrome
  • Local OS: Ubuntu 20.04
  • Remote OS: Amazon Linux
  • Remote Architecture: Kubernetes pod running Code-server in EKS
  • code-server --version: 3.4.1 993fd4eaac4b6742b7b36b31b33fa3da8a1087a3

Hello,
We are using Code-server in our environment and we are frequently seeing the error "Attempting to reconnect in X seconds..."

image

From the developer tool logs we are seeing:

INFO [remote-connection][ExtensionHost][46135…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:185 INFO [remote-connection][ExtensionHost][46135…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:185 INFO [remote-connection][Management ][3c859…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:185 INFO [remote-connection][Management ][3c859…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:185 INFO [remote-connection][ExtensionHost][46135…][reconnect] resolving connection...
log.ts:185 INFO [remote-connection][ExtensionHost][46135…][reconnect] connecting to [ourendpoint.com:80...]

It seems like our connection from our VPN may be spotty. I understand that similar issues have been closed in the past as this is not a codehub issue.

However It would be nice to not block the screen and interrupt user's work if this resolves itself after 1 second.

Is there a setting we can tune to adjust the timeout? Or suppress this popup somehow?

Please let me know,
Thank you!

@nhooyr
Copy link
Contributor

nhooyr commented Oct 7, 2020

Hi @brettplarson, please follow along at #1791 for updates on this feature.

@nhooyr nhooyr closed this as completed Oct 7, 2020
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