-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CHE-1787: Remove workspace id from websocket connection path to master #2907
Conversation
Build # 809 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/809/ to view the results. |
getBus(workspaceId) { | ||
var currentBus = this.sockets.get(workspaceId); | ||
if (!currentBus) { | ||
getBus() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this kind of change needs to be applied on getRemoteBus as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -23,7 +23,7 @@ | |||
</context-param> | |||
<context-param> | |||
<param-name>org.eclipse.che.websocket.endpoint</param-name> | |||
<param-value>/ws/{ws-id}</param-value> | |||
<param-value>/ws</param-value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we have http redirect from /ws/ to /ws ?
for backward compliance for existing clients ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a network issue. This needs investigation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except the fact that I would want to have a redirect from /ws/ to /ws for any existing clients, ok for me
Build # 817 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/817/ to view the results. |
Build # 857 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/857/ to view the results. |
@benoitf Thank you, I will fix that. |
@vinokurig I've found another location, I will provide PR to fix it |
@benoitf ok, thanks |
What does this PR do?
Removes workspace id from websocket connection path to master.
What issues does this PR fix or reference?
#1787
Previous behavior
Separate web-socket connection was created for each workspase.
New behavior
All workspaces are using one web-socket connection.
@vparfonov @akurinnoy @ashumilova Please review