xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 3 years ago

Closed 3 years ago

Last modified 17 months ago

#2236 closed defect (invalid)

when try accessing html5 client, it kept redirected to connect.html page for authentication

Reported by: jia chen Owned by: jia chen
Priority: major Milestone:
Component: html5 Version: 2.5.x
Keywords: firewall Cc:

Description (last modified by Antoine Martin)

I have tried couple time to access the html5 client by pointing my local browser to access my vm server by trying the instruction from wiki/Clients/HTML5. The index.html page showed the scene of websocket connection, but after a while it rediect to the connect.html for authentication. After that happen a couple of times, I fellow the instruction of the Password Authentication section and it did not work at all.

PS: I ran the testing host where the xpra got installed within the VMware player from my local mechine.

Any info will be helpful.

Change History (3)

comment:1 Changed 3 years ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to jia chen

The html5 client should work out of the box on all supported distributions.
It is impossible to help you without more details, see wiki/ReportingBugs.

comment:2 Changed 3 years ago by jia chen

Keywords: firewall added
Resolution: invalid
Status: newclosed

Finally got it working. The reason for the connection failure is that the rule of firewall under CentOS is not allowing any other ports than 14500 to listen from outside. To resolve this issue, you just need to do the following command:

# firwwall-cmd --permanent --add-port=<port-number>/tcp && firewall-cmd --reload

These will get you access to the port which you have just setup.

Last edited 3 years ago by Antoine Martin (previous) (diff)

comment:3 Changed 17 months ago by migration script

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

Note: See TracTickets for help on using tickets.