Hi,

@Ghost

In this URL :
https://<tenant>.eu.auth0.com/.well-known/openid-configuration

You are right, i have a json structure with jwks_uri pointing to this URL :
https://<tenant>.eu.auth0.com/.well-known/jwks.json

(I realize that i made a typo in my first message replacing "/" between
.well-known and jwks.json by a ".". Sorry about that)

And inside of it i have a json structure like this :

{
    "keys": [
        {
            "alg": "RS256",
            "kty": "RSA",
            "use": "sig",
            "n": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "e": "AQAB",
            "kid": "xxxxxxxxxxxx",
            "x5t": "xxxxxxxxxxxx",
            "x5c": [
                "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
            ]
        },
        {
            "alg": "RS256",
            "kty": "RSA",
            "use": "sig",
            "n": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "e": "AQAB",
            "kid": "xxxxxxxxxxxx",
            "x5t": "xxxxxxxxxxxx",
            "x5c": [
                "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
            ]
        }
    ]
}

I replaced the JWKS_ENDPOINT by the URL inside of jwks_uri in
guacamole.properties config file.
Now when trying to connect i get an error saying that the action can't be
done.

I check the logs and get this :

--------------------------------------------------------
16-Nov-2020 08:56:57.615 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version name:  
Apache Tomcat/9.0.31 (Ubuntu)
16-Nov-2020 08:56:57.623 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built:         
Oct 20 2020 12:27:39 UTC
16-Nov-2020 08:56:57.624 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version number:
9.0.31.0
16-Nov-2020 08:56:57.625 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name:              
Linux
16-Nov-2020 08:56:57.626 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:           
5.4.0-1024-aws
16-Nov-2020 08:56:57.626 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture:         
amd64
16-Nov-2020 08:56:57.627 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Java Home:            
/usr/lib/jvm/java-11-openjdk-amd64
16-Nov-2020 08:56:57.627 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:          
11.0.9.1+1-Ubuntu-0ubuntu1.20.04
16-Nov-2020 08:56:57.627 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:           
Ubuntu
16-Nov-2020 08:56:57.627 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:        
/var/lib/tomcat9
16-Nov-2020 08:56:57.628 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:        
/usr/share/tomcat9
16-Nov-2020 08:56:57.654 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
--add-opens=java.base/java.lang=ALL-UNNAMED
16-Nov-2020 08:56:57.655 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
--add-opens=java.base/java.io=ALL-UNNAMED
16-Nov-2020 08:56:57.655 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
16-Nov-2020 08:56:57.655 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
16-Nov-2020 08:56:57.656 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
16-Nov-2020 08:56:57.656 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.awt.headless=true
16-Nov-2020 08:56:57.656 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djdk.tls.ephemeralDHKeySize=2048
16-Nov-2020 08:56:57.657 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
16-Nov-2020 08:56:57.658 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027
16-Nov-2020 08:56:57.658 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dignore.endorsed.dirs=
16-Nov-2020 08:56:57.658 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.base=/var/lib/tomcat9
16-Nov-2020 08:56:57.659 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.home=/usr/share/tomcat9
16-Nov-2020 08:56:57.659 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.io.tmpdir=/tmp
16-Nov-2020 08:56:57.659 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR
based Apache Tomcat Native library [1.2.23] using APR version [1.6.5].
16-Nov-2020 08:56:57.659 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
capabilities: IPv6 [true], sendfile [true], accept filters [false], random
[true].
16-Nov-2020 08:56:57.660 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL
configuration: useAprConnector [false], useOpenSSL [true]
16-Nov-2020 08:56:57.663 INFO [main]
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
successfully initialized [OpenSSL 1.1.1f  31 Mar 2020]
16-Nov-2020 08:56:58.390 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["http-nio-8080"]
16-Nov-2020 08:56:58.458 INFO [main]
org.apache.catalina.startup.Catalina.load Server initialization in [1,350]
milliseconds
16-Nov-2020 08:56:58.590 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
[Catalina]
16-Nov-2020 08:56:58.591 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/9.0.31 (Ubuntu)]
16-Nov-2020 08:56:58.604 INFO [main]
org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment
descriptor [/etc/tomcat9/Catalina/localhost/host-manager.xml]
16-Nov-2020 08:56:58.641 WARNING [main]
org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute
with value [/host-manager] in deployment descriptor
[/etc/tomcat9/Catalina/localhost/host-manager.xml] has been ignored
16-Nov-2020 08:57:00.656 INFO [main]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP
compilation time.
16-Nov-2020 08:57:08.462 WARNING [main]
org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation
of SecureRandom instance for session ID generation using [SHA1PRNG] took
[7,798] milliseconds.
16-Nov-2020 08:57:08.505 INFO [main]
org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of
deployment descriptor [/etc/tomcat9/Catalina/localhost/host-manager.xml] has
finished in [9,901] ms
16-Nov-2020 08:57:08.506 INFO [main]
org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment
descriptor [/etc/tomcat9/Catalina/localhost/manager.xml]
16-Nov-2020 08:57:08.508 WARNING [main]
org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute
with value [/manager] in deployment descriptor
[/etc/tomcat9/Catalina/localhost/manager.xml] has been ignored
16-Nov-2020 08:57:09.596 INFO [main]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP
compilation time.
16-Nov-2020 08:57:09.603 INFO [main]
org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of
deployment descriptor [/etc/tomcat9/Catalina/localhost/manager.xml] has
finished in [1,097] ms
16-Nov-2020 08:57:09.606 INFO [main]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive [/var/lib/tomcat9/webapps/guacamole-1.2.0.war]
16-Nov-2020 08:57:11.870 INFO [main]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP
compilation time.
16-Nov-2020 08:57:16.213 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register
Registering org.apache.guacamole.rest.RESTExceptionMapper as a provider
class
16-Nov-2020 08:57:16.218 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register
Registering org.apache.guacamole.rest.extension.ExtensionRESTService as a
root resource class
16-Nov-2020 08:57:16.219 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register
Registering org.apache.guacamole.rest.language.LanguageRESTService as a root
resource class
16-Nov-2020 08:57:16.219 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register
Registering org.apache.guacamole.rest.patch.PatchRESTService as a root
resource class
16-Nov-2020 08:57:16.220 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register
Registering org.apache.guacamole.rest.auth.TokenRESTService as a root
resource class
16-Nov-2020 08:57:16.220 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register
Registering org.apache.guacamole.rest.session.SessionRESTService as a root
resource class
16-Nov-2020 08:57:16.221 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register
Registering org.codehaus.jackson.jaxrs.JacksonJsonProvider as a provider
class
16-Nov-2020 08:57:16.224 INFO [main]
com.sun.jersey.server.impl.application.WebApplicationImpl._initiate
Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'
16-Nov-2020 08:57:16.376 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
Binding org.apache.guacamole.rest.RESTExceptionMapper to
GuiceManagedComponentProvider with the scope "Singleton"
16-Nov-2020 08:57:16.388 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
Binding org.codehaus.jackson.jaxrs.JacksonJsonProvider to
GuiceManagedComponentProvider with the scope "Singleton"
16-Nov-2020 08:57:17.280 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
Binding org.apache.guacamole.rest.extension.ExtensionRESTService to
GuiceManagedComponentProvider with the scope "PerRequest"
16-Nov-2020 08:57:17.291 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
Binding org.apache.guacamole.rest.language.LanguageRESTService to
GuiceManagedComponentProvider with the scope "PerRequest"
16-Nov-2020 08:57:17.296 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
Binding org.apache.guacamole.rest.patch.PatchRESTService to
GuiceManagedComponentProvider with the scope "PerRequest"
16-Nov-2020 08:57:17.301 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
Binding org.apache.guacamole.rest.auth.TokenRESTService to
GuiceManagedComponentProvider with the scope "PerRequest"
16-Nov-2020 08:57:17.304 INFO [main]
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
Binding org.apache.guacamole.rest.session.SessionRESTService to
GuiceManagedComponentProvider with the scope "PerRequest"
16-Nov-2020 08:57:17.335 INFO [main] org.webjars.servlet.WebjarsServlet.init
WebjarsServlet initialization completed
16-Nov-2020 08:57:17.358 INFO [main]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
application archive [/var/lib/tomcat9/webapps/guacamole-1.2.0.war] has
finished in [7,752] ms
16-Nov-2020 08:57:17.362 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory [/var/lib/tomcat9/webapps/ROOT]
16-Nov-2020 08:57:18.365 INFO [main]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP
compilation time.
16-Nov-2020 08:57:18.373 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory [/var/lib/tomcat9/webapps/ROOT] has finished in
[1,011] ms
16-Nov-2020 08:57:18.377 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio-8080"]
16-Nov-2020 08:57:18.417 INFO [main]
org.apache.catalina.startup.Catalina.start Server startup in [19,955]
milliseconds
16-Nov-2020 08:57:18.478 INFO [http-nio-8080-exec-3]
org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request
header
 Note: further occurrences of HTTP request parsing errors will be logged at
DEBUG level.
        java.lang.IllegalArgumentException: Invalid character found in the
request target. The valid characters are defined in RFC 7230 and RFC 3986
                at
org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:476)
                at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:260)
                at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
                at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
                at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
                at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.base/java.lang.Thread.run(Thread.java:834)
16-Nov-2020 08:57:18.479 INFO [http-nio-8080-exec-2]
org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request
header
 Note: further occurrences of HTTP request parsing errors will be logged at
DEBUG level.
        java.lang.IllegalArgumentException: Invalid character found in the
request target. The valid characters are defined in RFC 7230 and RFC 3986
                at
org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:476)
                at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:260)
                at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
                at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
                at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
                at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.base/java.lang.Thread.run(Thread.java:834)
--------------------------------------------------------

It's look to be the same error.

Regards




--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to