Xpra: Ticket #2175: Websocket connection failing with reverse proxy due to incorrect Host header

I can provide more details if needed but...

In xpra/net/websockets/common.py client_upgrade()

The request header for "Host" should be the server host not client host. This is causing issues when using it through a reverse proxy which is proxying based on this host header.

Tested on r21875

Tue, 26 Feb 2019 05:18:05 GMT - Antoine Martin: owner changed

Should be fixed in r21887.

@mjharkin: does that work for you?

Tue, 26 Feb 2019 07:53:57 GMT - Mark Harkin: status changed; resolution set

Yes, r21887 works for me.


Sat, 23 Jan 2021 05:44:12 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2175