Ok,

I´m using Ubuntu 16.04.1 LTS:  4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Even in successful connections this "file descriptor" error appears.

Where can I look at how many open files I have?


Atenciosamente,

Jorge Camara

Analista de Suporte Sênior - Centro de Tecnologia

www.webaula.com.br
+55 (31) 2129-0550



2017-01-20 16:34 GMT-02:00 David Landry <david@dmwl.net>:
On Fri, Jan 20, 2017 at 7:04 AM Jorge Camara <jorge.camara@webaula.com> wrote:
<snip>
Jan 20 09:50:49 WASN08 guacd[6618]: Error waiting for file descriptor.
Jan 20 09:50:49 WASN08 guacd[6618]: Internal RDP client disconnected
<snip> 
Exception in thread "Thread-85" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
        at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:384)
        at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:340)
        at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:755)
        at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:252)
        at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)08:50:49.590 [http-nio-8080-exec-6] INFO  o.a.g.tunnel.TunnelRequestService - User "jorge" disconnected from connection "87". Duration: 5173 milliseconds

        at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
        at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:169)

Looks like the file descriptor error is causing your problem. It sounds like, when your system tries to open the WebSocket session with the browser, the OS isn't creating the handler for it. Maybe the user has too many file descriptors open?

Can you give some more details about the system you're running this on?
--

---

David Landry