[Thinlinc-technical] HTML5 Client not working with iPad

Peter Astrand astrand at cendio.se
Sat Jul 13 15:00:02 CEST 2013


> Jens,
>
> now you got me curious and I tried as well ... I end up on a screen
> where with a red bar across the top, complaining:
>
> Failed to connect to server (code: 1008, reason: No such session)
>
>
> and tlwebaccess.log says
>
> 2013-07-12 21:46:35 INFO tlwebaccess[16958]: Connection from 192.168.0.203, port 61895
> 2013-07-12 21:46:35 INFO tlwebaccess[16959]: "GET /websocket/oetiker/12 HTTP/1.1" 101 -
> 2013-07-12 21:46:35 INFO tlwebaccess[16959]: : SSL/TLS (wss://) WebSocket connection
> 2013-07-12 21:46:35 INFO tlwebaccess[16959]: : Version hybi-13, base64: 'False'
> 2013-07-12 21:46:35 INFO tlwebaccess[16959]: : Path: '/websocket/oetiker/12'
> 2013-07-12 21:46:38 ERROR tlwebaccess[16959]: No such session
>
> does this ring any bells ?

We had a few such bugs in the preleases, but I thought we have got rid of 
them all in the real 4.1.0 release. So if your build number is 3996, this 
is strange.

Technically, when the tlwebaccess service recieves a request for 
/websocket/user/number, it will search for a matching session. Both UID 
number, display and VNC port number must match. So the first thing to 
check is that a ThinLinc session is actually (still) running. You can 
check this with "ps axwwnu | grep Xvnc". If you want, you can also do 
this:

# cd /opt/thinlinc/modules/
# python -c "import thinlinc.ctccommon; print thinlinc.ctccommon.get_tl_xvnc_processes()"

The output should be a dictionary with {pid: (uid, display, vncport)}.


Rgds,
---
Peter Astrand		ThinLinc Chief Developer
Cendio AB		http://cendio.com
Teknikringen 8		http://twitter.com/ThinLinc
583 30 Linkoping	http://facebook.com/ThinLinc
Phone: +46-13-214600	http://plus.google.com/112509906846170010689


More information about the Thinlinc-technical mailing list