api-umbrella icon indicating copy to clipboard operation
api-umbrella copied to clipboard

Does API-Umbrella support socket.io?

Open CHOMNANP opened this issue 5 years ago • 3 comments

I have tried api umbrella with socket io, and the network does not go through.

Any tips how to get this working with socket.io?

CHOMNANP avatar Apr 17 '19 04:04 CHOMNANP

Hello,

I am trying the same thing, I have the polling transport working, but it seems like the upgrade header is being removed before the request goes to the backend server.

@GUI Is there someway to configure umbrella so the upgrade header can get through?

GET /socket.io/?EIO=3&transport=websocket&sid=SESSIONID header: upgrade: websocket

The backend then responds with a http status code to switch protocols and both backend and client switch to the websocket protocol in that same connection.

In addition to the header, can you clarify if there would be a performance problem with a large volume of websockets running through?

science695 avatar Feb 26 '20 20:02 science695

No luck :)

CHOMNANP avatar Feb 27 '20 03:02 CHOMNANP

My guess is it is something that Apache TrafficServer is doing during the proxying, but its very hard to find all the settings of all the different parts of Umbrella

science695 avatar Feb 27 '20 13:02 science695