[
https://issues.apache.org/jira/browse/GUACAMOLE-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436532#comment-15436532
]
Nischay Rathor commented on GUACAMOLE-86:
-----------------------------------------
More logs when running guacd in debug mode
{code}
Aug 25 08:52:38 ip-10-0-9-145 server: 08:52:38.556 [pool-1-thread-1] DEBUG
o.g.g.n.b.r.a.BasicTokenSessionMap - Checking for expired sessions...
Aug 25 08:52:38 ip-10-0-9-145 server: 08:52:38.556 [pool-1-thread-1] DEBUG
o.g.g.n.b.r.a.BasicTokenSessionMap - Session check completed in 0 ms.
Aug 25 08:52:41 ip-10-0-9-145 server: 08:52:41.354
[http-bio-127.0.0.1-8080-exec-2] DEBUG o.g.g.net.InetGuacamoleSocket -
Connecting to guacd at localhost:4444.
Aug 25 08:52:41 ip-10-0-9-145 guacd[2170]: Protocol "ssh" selected
Aug 25 08:52:41 ip-10-0-9-145 guacd[2170]: Connection ID is
"$0978da36-0a87-4b07-af7c-1d715b700cdc"
Aug 25 08:52:41 ip-10-0-9-145 guacd[2170]: Current locale does not use UTF-8.
Some characters may not render correctly.
Aug 25 08:52:41 ip-10-0-9-145 guacd[2170]: Starting client
Aug 25 08:52:41 ip-10-0-9-145 server: 08:52:41.406
[http-bio-127.0.0.1-8080-exec-2] INFO o.g.g.net.basic.TunnelRequestService -
User "demo" connected to connection "ssh connection".
Aug 25 08:52:53 ip-10-0-9-145 sshd[2183]: error: Could not load host key:
/etc/ssh/ssh_host_dsa_key
Aug 25 08:52:53 ip-10-0-9-145 systemd-logind: New session 36 of user
q-nischayrathor.
Aug 25 08:52:53 ip-10-0-9-145 systemd: Started Session 36 of user
q-nischayrathor.
Aug 25 08:52:53 ip-10-0-9-145 systemd: Starting Session 36 of user
q-nischayrathor.
Aug 25 08:52:53 ip-10-0-9-145 guacd[2170]: SSH connection successful.
Aug 25 08:52:53 ip-10-0-9-145 dbus[738]: [system] Activating service
name='org.freedesktop.problems' (using servicehelper)
Aug 25 08:52:53 ip-10-0-9-145 dbus-daemon: dbus[738]: [system] Activating
service name='org.freedesktop.problems' (using servicehelper)
Aug 25 08:52:53 ip-10-0-9-145 dbus[738]: [system] Successfully activated
service 'org.freedesktop.problems'
Aug 25 08:52:53 ip-10-0-9-145 dbus-daemon: dbus[738]: [system] Successfully
activated service 'org.freedesktop.problems'
Aug 25 08:53:19 ip-10-0-9-145 consul: 2016/08/25 08:53:19 [INFO] memberlist:
Marking nqa-apihub-dataflow1-1-1b as failed, suspect timeout reached
Aug 25 08:53:19 ip-10-0-9-145 consul[846]: memberlist: Marking
nqa-apihub-dataflow1-1-1b as failed, suspect timeout reached
Aug 25 08:53:19 ip-10-0-9-145 consul[846]: serf: EventMemberFailed:
nqa-apihub-dataflow1-1-1b 10.0.11.69
Aug 25 08:53:19 ip-10-0-9-145 consul: 2016/08/25 08:53:19 [INFO] serf:
EventMemberFailed: nqa-apihub-dataflow1-1-1b 10.0.11.69
Aug 25 08:53:38 ip-10-0-9-145 server: 08:53:38.556 [pool-1-thread-1] DEBUG
o.g.g.n.b.r.a.BasicTokenSessionMap - Checking for expired sessions...
Aug 25 08:53:38 ip-10-0-9-145 server: 08:53:38.556 [pool-1-thread-1] DEBUG
o.g.g.n.b.r.a.BasicTokenSessionMap - Session check completed in 0 ms.
Aug 25 08:53:59 ip-10-0-9-145 server: 08:53:59.750 [Thread-13] ERROR
o.g.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd terminated
abnormally: Connection to guacd timed out.
Aug 25 08:53:59 ip-10-0-9-145 server: 08:53:59.751 [Thread-13] DEBUG
o.g.g.w.GuacamoleWebSocketTunnelEndpoint - Internal error during connection to
guacd.
Aug 25 08:53:59 ip-10-0-9-145 server:
org.glyptodon.guacamole.GuacamoleUpstreamTimeoutException: Connection to guacd
timed out.
Aug 25 08:53:59 ip-10-0-9-145 server: at
org.glyptodon.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:185)
~[guacamole-common-0.9.9.jar:na]
Aug 25 08:53:59 ip-10-0-9-145 server: at
org.glyptodon.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:158)
~[guacamole-common-0.9.9.jar:na]
Aug 25 08:53:59 ip-10-0-9-145 server: Caused by:
java.net.SocketTimeoutException: Read timed out
Aug 25 08:53:59 ip-10-0-9-145 server: at
java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_101]
Aug 25 08:53:59 ip-10-0-9-145 server: at
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
~[na:1.8.0_101]
Aug 25 08:53:59 ip-10-0-9-145 server: at
java.net.SocketInputStream.read(SocketInputStream.java:170) ~[na:1.8.0_101]
Aug 25 08:53:59 ip-10-0-9-145 server: at
java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_101]
Aug 25 08:53:59 ip-10-0-9-145 server: at
sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) ~[na:1.8.0_101]
Aug 25 08:53:59 ip-10-0-9-145 server: at
sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) ~[na:1.8.0_101]
Aug 25 08:53:59 ip-10-0-9-145 server: at
sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[na:1.8.0_101]
Aug 25 08:53:59 ip-10-0-9-145 server: at
java.io.InputStreamReader.read(InputStreamReader.java:184) ~[na:1.8.0_101]
Aug 25 08:53:59 ip-10-0-9-145 server: at
org.glyptodon.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:174)
~[guacamole-common-0.9.9.jar:na]
Aug 25 08:53:59 ip-10-0-9-145 server: ... 1 common frames omitted
Aug 25 08:53:59 ip-10-0-9-145 server: 08:53:59.752 [Thread-13] INFO
o.g.g.net.basic.TunnelRequestService - User "demo" disconnected from connection
"ssh connection". Duration: 78346 milliseconds
Aug 25 08:53:59 ip-10-0-9-145 server: 08:53:59.752 [Thread-13] DEBUG
o.g.g.net.InetGuacamoleSocket - Closing socket to guacd.
{code}
> connection closed when printing large content in SSH
> ----------------------------------------------------
>
> Key: GUACAMOLE-86
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-86
> Project: Guacamole
> Issue Type: Bug
> Components: guacd
> Affects Versions: 0.9.9
> Reporter: Nischay Rathor
> Priority: Critical
>
> https://guacamole.incubator.apache.org/
> Guacd is crashing when running commands with big output on stdout from web ui
> {noformat}
> Aug 25 07:10:34 ip-10-0-9-145 guacd[27432]: SSH connection successful.
> Aug 25 07:10:56 ip-10-0-9-145 server: 07:10:56.646 [Thread-5] ERROR
> o.g.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd terminated
> abnormally: Connection to guacd timed out.
> Aug 25 07:10:56 ip-10-0-9-145 server: 07:10:56.646 [Thread-5] DEBUG
> o.g.g.w.GuacamoleWebSocketTunnelEndpoint - Internal error during connection
> to guacd.
> Aug 25 07:10:56 ip-10-0-9-145 server:
> org.glyptodon.guacamole.GuacamoleUpstreamTimeoutException: Connection to
> guacd timed out.
> Aug 25 07:10:56 ip-10-0-9-145 server: 07:10:56.653 [Thread-5] DEBUG
> o.g.g.net.InetGuacamoleSocket - Closing socket to guacd.
> Aug 25 07:11:13 ip-10-0-9-145 server: 07:11:13.025
> [http-bio-127.0.0.1-8080-exec-5] DEBUG o.g.g.net.InetGuacamoleSocket -
> Connecting to guacd at localhost:4822.
> Wed Aug 24 19:05:37 2016] traps: guacd[29476] general protection
> ip:7f288455a24c sp:7f2874e53120 error:0 in libc-2.17.so[7f28844da000+1b7000]
> tree /
> rw-rr- 1 root root 20M Aug 25 06:20 demo.txt
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)