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

Create Network Troubleshooting section that would help users find solution if WebSockets are blocked #17468

Closed
sleshchenko opened this issue Jul 23, 2020 · 2 comments · Fixed by eclipse-che/che-docs#1445
Assignees
Labels
area/doc Issues related to documentation area/install Issues related to installation, including offline/air gap and initial setup kind/enhancement A feature request - must adhere to the feature request template. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@sleshchenko
Copy link
Member

sleshchenko commented Jul 23, 2020

Is your enhancement related to a problem? Please describe.

Some VPN blocks WebSockets and then Che becomes unusable since Che Theia really rely on WebSockets for communication between Client and Server sides.

Describe the solution you'd like

The suggestions:

  • Absolutely put some obvious error detection and informational messaging for the end-user to consume when web sockets is a problem. This will help them from banging their head against a brick wall refreshing their browser. The half-drawn IDE with hanging red C symbol we currently have is not great UX.

  • Provide useful suggestions to the end user - now this might be tricky, since “Switch off your VPN” or “Disable local firewall" is never going to be reasonable option in a corporate deployment however suggesting this is a network, firewall, VPN or proxy issue might be a useful clue about who to report this problem to.

  • Some suggested links on how to configure VPN, firewalls, proxies etc. These maybe third party, but we should be trying to collect some resolutions stories that we can share as a guide to the network team particularly if they are not familiar with wss. If we can also find some security articles that are positive about websockets they would also be useful to share.

  • It would be really useful to run or recommend a 3rd party web site that has wss content that can be used as a test site with no login wall (like https://websocketstest.com/). So if this site works, then Che should be fine. That allows any network engineer to have something to resolve against without needing access to Che.

  • Document the network requirement in the Che Installation/Admin guide so there is at least a section highlighting this.

@sleshchenko sleshchenko added kind/enhancement A feature request - must adhere to the feature request template. area/doc Issues related to documentation area/install Issues related to installation, including offline/air gap and initial setup labels Jul 23, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jul 23, 2020
@sleshchenko sleshchenko added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jul 23, 2020
@l0rd l0rd added the new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes label Jul 25, 2020
@RickJWagner
Copy link
Contributor

Thank you for this good idea, it seems it will be very useful.
In writing the error messages, could we please be specific about which websocket endpoint is having trouble connecting to which other endpoint? (Identify the targeted component in easy to recognize terms.)
The reason for this request: sometimes environments are not homogenous (i.e. on AWS different Che containers may end up in different 'Availability Zones'). Things like that can make network debugging mysterious, but if we know from the error message exactly where we are trying to get to, it can be a good head start.

@olexii4
Copy link
Contributor

olexii4 commented Aug 7, 2020

Fixed with eclipse-che/che-docs#1445

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/doc Issues related to documentation area/install Issues related to installation, including offline/air gap and initial setup kind/enhancement A feature request - must adhere to the feature request template. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
5 participants