xpra icon
Bug tracker and wiki

#2175 closed defect (fixed)

Websocket connection failing with reverse proxy due to incorrect Host header

Reported by: Mark Harkin Owned by: Mark Harkin
Priority: major Milestone: 2.5
Component: client Version: 2.4.x
Keywords: Cc:


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

Change History (2)

comment:1 Changed 21 months ago by Antoine Martin

Owner: changed from Antoine Martin to Mark Harkin

Should be fixed in r21887.

@mjharkin: does that work for you?

comment:2 Changed 21 months ago by Mark Harkin

Resolution: fixed
Status: newclosed

Yes, r21887 works for me.


Note: See TracTickets for help on using tickets.