You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Vieri <re...@yahoo.com.INVALID> on 2019/06/07 12:11:47 UTC

Firefox client and Guacamole

Hi,

In a previous message I mentioned a problem I was seeing with several Firefox versions. Whenever I try to connect to either a telnet service or RDP server via Guacamole, I sometimes get an odd behavior as if the user (me) were sending out ENTER keystrokes (I sent a screenshot). This is usually fixed by logging out and back in again. However, it can randomly occur again until I log out once again.

This is what I get in my logs when it happens.

STDOUT:

13:58:06.442 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.a.ldap.LDAPConnectionService - Connection to LDAP server without encryption.
13:58:06.494 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.auth.ldap.ObjectQueryService - Searching "cn=Users,dc=mydomain,dc=org" for objects matching "(&(!(objectClass=guacConfigGroup))(member=cn=myuser,cn=Users,dc=mydomain,dc=org))".
13:58:06.812 [https-openssl-apr-8443-exec-7] INFO  o.a.g.r.auth.AuthenticationService - User "myuser" successfully authenticated from 10.215.144.48.
13:58:06.813 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.a.ldap.LDAPConnectionService - Connection to LDAP server without encryption.
13:58:06.833 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.auth.ldap.ObjectQueryService - Searching "cn=Users,dc=mydomain,dc=org" for objects matching "(&(|(objectClass=guac*)(cn=*IT*)(cn=*VPN*)(cn=*myuser*))(cn=*))".
13:58:07.116 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.auth.ldap.ObjectQueryService - Searching "cn=Users,dc=mydomain,dc=org" for objects matching "(&(!(objectClass=guacConfigGroup))(cn=*))".
13:58:07.963 [https-openssl-apr-8443-exec-7] WARN  o.a.g.auth.ldap.ObjectQueryService - Failed to process an LDAP search result. Error was: Sizelimit Exceeded
13:58:07.967 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.auth.ldap.ObjectQueryService - Error processing LDAPEntry search result.
com.novell.ldap.LDAPException: Sizelimit Exceeded
        at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
        at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
        at com.novell.ldap.LDAPSearchResults.next(Unknown Source)
        at org.apache.guacamole.auth.ldap.ObjectQueryService.search(ObjectQueryService.java:209)
        at org.apache.guacamole.auth.ldap.ObjectQueryService.search(ObjectQueryService.java:281)
        at org.apache.guacamole.auth.ldap.group.UserGroupService.getUserGroups(UserGroupService.java:115)
        at org.apache.guacamole.auth.ldap.user.LDAPUserContext.init(LDAPUserContext.java:137)
        at org.apache.guacamole.auth.ldap.AuthenticationProviderService.getUserContext(AuthenticationProviderService.java:351)
        at org.apache.guacamole.auth.ldap.LDAPAuthenticationProvider.getUserContext(LDAPAuthenticationProvider.java:86)
        at org.apache.guacamole.extension.AuthenticationProviderFacade.getUserContext(AuthenticationProviderFacade.java:274)
        at org.apache.guacamole.rest.auth.AuthenticationService.getUserContexts(AuthenticationService.java:393)
        at org.apache.guacamole.rest.auth.AuthenticationService.authenticate(AuthenticationService.java:442)
        at org.apache.guacamole.rest.auth.TokenRESTService.createToken(TokenRESTService.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
        at javax.servlet.http.HttpServlet.service(Unknown Source)
        at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
        at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
        at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
        at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)
        at org.apache.coyote.http2.StreamProcessor.service(Unknown Source)
        at org.apache.coyote.AbstractProcessorLight.process(Unknown Source)
        at org.apache.coyote.http2.StreamProcessor.process(Unknown Source)
        at org.apache.coyote.http2.StreamRunnable.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:748)
13:58:07.975 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.auth.ldap.ObjectQueryService - Searching "cn=Users,dc=mydomain,dc=org" for objects matching "(&(!(objectClass=guacConfigGroup))(member=cn=myuser,cn=Users,dc=mydomain,dc=org))".
13:58:08.140 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.auth.ldap.ObjectQueryService - Searching "cn=Users,dc=mydomain,dc=org" for objects matching "(&(objectClass=guacConfigGroup)(|(member=cn=myuser,cn=Users,dc=mydomain,dc=org)(seeAlso=CN=IT,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=Domain Admins,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=TS Internet,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=FHM,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=Dietas,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=GLOBAL,CN=Recipients,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=ProgramacionTurnos,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=INF_PRACTICAS,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=PeticionsEsterilitzacio,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=Laboratorio,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=apl_enquestes,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=FAX_SERVICE,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=WIFI_DATOS,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=EDIFICIO ANEXO,CN=Recipients,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=VPN,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=IMPRIVATA,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=Intranet i Comunicacio,CN=Recipients,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=Carpeta_Suministros,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=HP,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=IT,CN=Recipients,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=PeticionsCC,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=TABLON ANUNCIOS,CN=Recipients,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=apl_revman,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=apl_gesdohc,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=Adm Agendas,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=apl_picis,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=apl_consrepos,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=VPNIT,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=VPNHMAN,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=Soporte Aplicaciones,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=NFR_ADMIN,CN=Users,DC=mydomain,DC=org)(seeAlso=CN=SERVEI IT,CN=Recipients,CN=Users,DC=mydomain,DC=org)))".
13:58:08.163 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.a.f.FileAuthenticationProvider - User mapping file "/etc/guacamole/user-mapping.xml" does not exist and will not be read.
13:58:08.182 [https-openssl-apr-8443-exec-7] DEBUG o.a.g.r.auth.AuthenticationService - Login was successful for user "myuser".
13:58:10.264 [https-openssl-apr-8443-exec-4] INFO  o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
13:58:10.280 [https-openssl-apr-8443-exec-4] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at 10.215.144.124:4822.
13:58:10.346 [https-openssl-apr-8443-exec-4] INFO  o.a.g.tunnel.TunnelRequestService - User "myuser" connected to connection "Terminal Server 1".
13:58:11.517 [Thread-10] DEBUG o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd closed.
org.apache.guacamole.GuacamoleConnectionClosedException: Connection to guacd is closed.
        at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:183)
        at org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:195)
        at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)
        at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)
        at org.apache.guacamole.protocol.FilteredGuacamoleReader.read(FilteredGuacamoleReader.java:64)
        at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:246)
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:210)
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:169)
        ... 5 common frames omitted
13:58:11.519 [Thread-10] INFO  o.a.g.tunnel.TunnelRequestService - User "myuser" disconnected from connection "Terminal Server 1". Duration: 1162 milliseconds
13:58:11.520 [Thread-10] DEBUG o.a.g.net.InetGuacamoleSocket - Closing socket to guacd.


guacd log:


Jun  7 13:58:10 inf-fw3 guacd[14495]: Creating new client for protocol "rdp"
Jun  7 13:58:10 inf-fw3 guacd[14495]: Connection ID is "$ae4363ce-1671-40f0-8734-ce45d6af39ad"
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "console" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "console-audio" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "ignore-cert" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "disable-auth" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: No security mode specified. Defaulting to RDP.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "port" omitted. Using default value of 3389.
Jun  7 13:58:10 inf-fw3 guacd[18791]: User resolution is 1920x502 at 96 DPI
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "dpi" omitted. Using default value of 96.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Using resolution of 1920x502 at 96 DPI
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "read-only" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "client-name" omitted. Using default value of "Guacamole RDP".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-wallpaper" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-theming" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-font-smoothing" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-full-window-drag" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-desktop-composition" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-menu-animations" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "disable-bitmap-caching" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "disable-offscreen-caching" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "disable-glyph-caching" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "color-depth" omitted. Using default value of 16.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "disable-audio" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-drive" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "drive-name" omitted. Using default value of "Guacamole Filesystem".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "drive-path" omitted. Using default value of "".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "create-drive-path" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-sftp" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "sftp-hostname" omitted. Using default value of "10.215.144.51".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "sftp-port" omitted. Using default value of "22".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "sftp-username" omitted. Using default value of "".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "sftp-password" omitted. Using default value of "".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "sftp-passphrase" omitted. Using default value of "".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "sftp-root-directory" omitted. Using default value of "/".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "sftp-server-alive-interval" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "recording-name" omitted. Using default value of "recording".
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "recording-exclude-output" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "recording-exclude-mouse" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "recording-include-keys" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "create-recording-path" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Resize method: none
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "enable-audio-input" omitted. Using default value of 0.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Parameter "gateway-port" omitted. Using default value of 443.
Jun  7 13:58:10 inf-fw3 guacd[18791]: User "@58b1943a-bc3f-4fbb-bd78-474985aeeeb1" joined connection "$ae4363ce-1671-40f0-8734-ce45d6af39ad" (1 users now present)
Jun  7 13:58:10 inf-fw3 guacd[18791]: Loading keymap "base"
Jun  7 13:58:10 inf-fw3 guacd[18791]: Loading keymap "en-us-qwerty"
Jun  7 13:58:10 inf-fw3 guacd[18791]: guacsnd connected.
Jun  7 13:58:10 inf-fw3 guacd[18791]: guacdr connected.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Connected to RDPDR 1.10 as client 0x8172
Jun  7 13:58:10 inf-fw3 guacd[18791]: Ignoring server capability set type=0x0001, length=44
Jun  7 13:58:10 inf-fw3 guacd[18791]: Ignoring server capability set type=0x0002, length=8
Jun  7 13:58:10 inf-fw3 guacd[18791]: Ignoring server capability set type=0x0003, length=8
Jun  7 13:58:10 inf-fw3 guacd[18791]: Ignoring server capability set type=0x0004, length=8
Jun  7 13:58:10 inf-fw3 guacd[18791]: Ignoring server capability set type=0x0005, length=8
Jun  7 13:58:10 inf-fw3 guacd[18791]: Sending capabilities...
Jun  7 13:58:10 inf-fw3 guacd[18791]: Capabilities sent.
Jun  7 13:58:10 inf-fw3 guacd[18791]: Client ID confirmed
Jun  7 13:58:11 inf-fw3 guacd[18791]: RDP server closed connection: Disconnected.
Jun  7 13:58:11 inf-fw3 guacd[18791]: Unloading device 0 (PDF local)
Jun  7 13:58:11 inf-fw3 guacd[18791]: Internal RDP client disconnected
Jun  7 13:58:11 inf-fw3 guacd[14495]: Connection "$ae4363ce-1671-40f0-8734-ce45d6af39ad" removed.
Jun  7 13:58:11 inf-fw3 kernel: guacd[18797]: segfault at 7fd7ea22001c ip 00007fd802aafb8b sp 00007fd801ccece0 error 4 in libguac-client-rdp.so.0.0.0[7fd802a98000+2c000]


Note the segfault.

What can I try?
Is it worth a JIRA report?

Thanks,

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Firefox client and Guacamole

Posted by Mike Jumper <mj...@apache.org>.
On Fri, Jun 14, 2019 at 10:11 AM Mike Jumper <mj...@apache.org> wrote:
>
> On Thu, Jun 13, 2019 at 5:25 AM Vieri <re...@yahoo.com.invalid> wrote:
> >
> >  On Friday, June 7, 2019, 7:30:07 PM GMT+2, Mike Jumper <mj...@apache.org> wrote:
> > >
> > > We have a test page for just the keyboard event handling which can be used to verify whether things are not behaving as expected in the client. Try testing against that with the affected browser and see whether you see
> > > the same issue:
> >
> > http://guacamole.apache.org/pub/tests/guac/keyboard-test.html
> >
> > No issues on this test page. I get the "keyboard issue" in the same FF instance while everything works smoothly on this test page (well, I'm just assuming it's a keyboard issue...).
> >
>
> What specific versions of Firefox did you observe this issue with?
>

Never mind - I've reproduced the problem and opened an issue in JIRA:

https://issues.apache.org/jira/browse/GUACAMOLE-817

The behavior is due to Firefox not sending the keyup event when the
login form is submitted using the "Enter" key. As the
Guacamole.Keyboard instance is at the index level, present even before
the user views a client page, it receives the keypresses which occur
during login, including when the form is submitted. Lacking a keyup
event for "Enter", the Guacamole.Keyboard instance assumes the key is
held down and continually repeats the key. Once the user views a
connection, those repeated enter keypresses are forwarded to the
remote desktop.

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Firefox client and Guacamole

Posted by Mike Jumper <mj...@apache.org>.
On Thu, Jun 13, 2019 at 5:25 AM Vieri <re...@yahoo.com.invalid> wrote:
>
>  On Friday, June 7, 2019, 7:30:07 PM GMT+2, Mike Jumper <mj...@apache.org> wrote:
> >
> > We have a test page for just the keyboard event handling which can be used to verify whether things are not behaving as expected in the client. Try testing against that with the affected browser and see whether you see
> > the same issue:
>
> http://guacamole.apache.org/pub/tests/guac/keyboard-test.html
>
> No issues on this test page. I get the "keyboard issue" in the same FF instance while everything works smoothly on this test page (well, I'm just assuming it's a keyboard issue...).
>

What specific versions of Firefox did you observe this issue with?

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Firefox client and Guacamole

Posted by Vieri <re...@yahoo.com.INVALID>.
 On Friday, June 7, 2019, 7:30:07 PM GMT+2, Mike Jumper <mj...@apache.org> wrote: 
>
> We have a test page for just the keyboard event handling which can be used to verify whether things are not behaving as expected in the client. Try testing against that with the affected browser and see whether you see 
> the same issue:

http://guacamole.apache.org/pub/tests/guac/keyboard-test.html

No issues on this test page. I get the "keyboard issue" in the same FF instance while everything works smoothly on this test page (well, I'm just assuming it's a keyboard issue...).

It should be protocol-independent as it also happens with telnet. However, I am getting the segfault each time this happens.

> I'd recommend rebuilding 

BTW I'm using guacamole-client from GIT but guacamole-server from "stable release" 1.0.0. Could this be an issue?

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Firefox client and Guacamole

Posted by Mike Jumper <mj...@apache.org>.
On Fri, Jun 7, 2019 at 5:12 AM Vieri <re...@yahoo.com.invalid> wrote:

> Hi,
>
> In a previous message I mentioned a problem I was seeing with several
> Firefox versions. Whenever I try to connect to either a telnet service or
> RDP server via Guacamole, I sometimes get an odd behavior as if the user
> (me) were sending out ENTER keystrokes (I sent a screenshot). This is
> usually fixed by logging out and back in again. However, it can randomly
> occur again until I log out once again.
>
> This is what I get in my logs when it happens.
>
> STDOUT:
>
> 13:58:06.442 [https-openssl-apr-8443-exec-7] DEBUG
> o.a.g.a.ldap.LDAPConnectionService - Connection to LDAP server without
> encryption.
> 13:58:06.494 [https-openssl-apr-8443-exec-7] DEBUG
> o.a.g.auth.ldap.ObjectQueryService - Searching
> "cn=Users,dc=mydomain,dc=org" for objects matching
> "(&(!(objectClass=guacConfigGroup))(member=cn=myuser,cn=Users,dc=mydomain,dc=org))".
> 13:58:06.812 [https-openssl-apr-8443-exec-7] INFO
> o.a.g.r.auth.AuthenticationService - User "myuser" successfully
> authenticated from 10.215.144.48.
> 13:58:06.813 [https-openssl-apr-8443-exec-7] DEBUG
> o.a.g.a.ldap.LDAPConnectionService - Connection to LDAP server without
> encryption.
> 13:58:06.833 [https-openssl-apr-8443-exec-7] DEBUG
> o.a.g.auth.ldap.ObjectQueryService - Searching
> "cn=Users,dc=mydomain,dc=org" for objects matching
> "(&(|(objectClass=guac*)(cn=*IT*)(cn=*VPN*)(cn=*myuser*))(cn=*))".
> 13:58:07.116 [https-openssl-apr-8443-exec-7] DEBUG
> o.a.g.auth.ldap.ObjectQueryService - Searching
> "cn=Users,dc=mydomain,dc=org" for objects matching
> "(&(!(objectClass=guacConfigGroup))(cn=*))".
> 13:58:07.963 [https-openssl-apr-8443-exec-7] WARN
> o.a.g.auth.ldap.ObjectQueryService - Failed to process an LDAP search
> result. Error was: Sizelimit Exceeded
> ...
>

You'll probably want to look into your LDAP query limits if you're
expecting listing of LDAP users within guac's admin interface to succeed,
but this will have no bearing on handling of keyboard events. The two parts
of the stack which could contain a problem resulting in a mishandled event
are:

1) The browser-side keyboard event handling within JavaScript
2) If keyboard events within the browser are handled correctly, the
handling of received events within protocol-specific event handling
(libguac-client-rdp, etc.)

RDP keyboard event translation is complex, but if you're seeing this same
behavior regardless of underlying protocol, and specifically within
Firefox, that suggests something may be behaving differently on the
JavaScript side.

We have a test page for just the keyboard event handling which can be used
to verify whether things are not behaving as expected in the client. Try
testing against that with the affected browser and see whether you see the
same issue:

http://guacamole.apache.org/pub/tests/guac/keyboard-test.html

...
> Jun  7 13:58:11 inf-fw3 guacd[18791]: Internal RDP client disconnected
> Jun  7 13:58:11 inf-fw3 guacd[14495]: Connection
> "$ae4363ce-1671-40f0-8734-ce45d6af39ad" removed.
> Jun  7 13:58:11 inf-fw3 kernel: guacd[18797]: segfault at 7fd7ea22001c ip
> 00007fd802aafb8b sp 00007fd801ccece0 error 4 in
> libguac-client-rdp.so.0.0.0[7fd802a98000+2c000]
>
>
> Note the segfault.
>
> What can I try?
> Is it worth a JIRA report?


Segfaults within the RDP support tend to be due to older builds of the
guac*.so plugins for FreeRDP hanging around from older builds of
guacamole-server, so I wouldn't recommend opening a new JIRA issue at this
point. First verify that there is nothing hanging around from older builds
(or from distribution packages, or third-party packages). If there is any
chance that the FreeRDP libraries may have been upgraded since you last
built things, I'd recommend rebuilding as FreeRDP releases are not
generally API- nor ABI-compatible, and this could also cause a segfault
without there being an issue within Guacamole.

If you can confirm the above, and the segfault is reproducible, a backtrace
from gdb would be the next step to determine what is happening. I don't
believe this is related to the keyboard behavior you're seeing.

- Mike