-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: omit proxy path prefix from socket.io base path #13054
Conversation
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.
Thanks, looks good to me. Seems like my recent changes in #12618 accidentally broke this.
Before we can merge, you'll need to sign the Eclipse Contributor Agreement (ECA) though. Please do that with the same email that was used to create the commit. |
Done @msujew |
@bvenreply Seems like the ECA validation still doesn't go through. Have you signed the ECA with |
@msujew I have: Is the revalidation usually instant? |
Not instant, but it's weird it's taking that long. We'll probably see tomorrow ¯\_(ツ)_/¯ |
Signed-off-by: Beniamino Ventura <benia@protonmail.com>
5107942
to
55bc7d2
Compare
I force pushed on your branch to fix the ECA check. For some reason it didn't work without a new commit. I'll merge this once the CI passes. |
Signed-off-by: Beniamino Ventura <benia@protonmail.com>
What it does
Fixes an issue causing socket.io to use the wrong basepath when accessing the backend from a reverse proxy. #13055
How to test
This can be tested by running the browser example and accessing via a local nginx proxy:
yarn && yarn browser build && yarn browser start
(Theia will run on port 3000)nginx.conf
Follow-ups
Nothing major that i can see.
The first
path
argument here is now redundant; probably not really worth worrying about considering the severity of the issue.Review checklist
Reminder for reviewers