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

Is Delve able to recover after WS connection failure? #1536

Closed
PavelSosin opened this issue Apr 14, 2019 · 1 comment
Closed

Is Delve able to recover after WS connection failure? #1536

PavelSosin opened this issue Apr 14, 2019 · 1 comment

Comments

@PavelSosin
Copy link

Please answer the following before submitting your issue:

See issue eclipse-theia/theia#4590
and other Go debugging related issues on Theia and vscode
You can communicate with everybody who opened these issues directly.

Due to using of non-stable cloud proxies like Traefic which has issues with WS any short-term WS ping-pong frames interchange timeout can cause WS session break by infra. What is your proposals for debug session recovery? If Delve server is deployed to cloud infra and the correct afinity is configured in Proxy server any re-connection attempt from the client side will be useless if server state will be lost. If Delve is deployed on kubernetes pod Delve failure will cause pod re-start but kubernetes doesn't restore container states when re-starting pods.
Unfortunately, DAP protocol spec doesn't contain any recovery sequence.

  1. What version of Delve are you using (dlv version)?
  2. What version of Go are you using? (go version)?
  3. What operating system and processor architecture are you using?
  4. What did you do?
  5. What did you expect to see?
    Automatic or manual debug station recovery or restart
  6. What did you see instead?
    Debug session freeze
@aarzilli
Copy link
Member

Delve doesn't use WebSockets in any way and doesn't implement DAP.

@PavelSosin PavelSosin changed the title Is Velve able to recover after WS connection failure? Is Delve able to recover after WS connection failure? Apr 14, 2019
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