Open ramymagdy opened 3 months ago
@msujew I think you worked on the socket-io infra, right? Any comments off the top of your head?
Sorry for the late response, but I don't have any clue without digging deeper into this: The HTTP fallback should handle the exact same requests/responses as the websocket backend. Unless the connection is literally dropping responses (which it shouldn't, since it's HTTP) I have no idea why this happens.
I'll try to reproduce this once I'm back from vacation.
Bug Description:
We have to run Theia through a proxy that doesn't support the Connection "Upgrade" for websocket. So instead we need to rely on socket.io long polling.
With the socket.io connection polling the File Explorer act's randomly and no files are opened in the editor ( regardless of the file type ) I have to go randomly clicking through files till I get one of the opening,
Steps to Reproduce:
Apply the following patch
Or else you may use the following haproxy configurations that will just deny any request with "Upgrade" header.
Additional Information