the connection gateway should not download anything from the "web-resources" url unless the webclient is used.
But unfortunately, the
web-resources section was mandatory in gateway versions prior to 2022.0-322, even if the user did not need to use the webclient.
This has been fixed in version 2022.0-322, and now the
web-resources section can be omitted.
In your case, the gateway was trying to access the endpoint in
web-resources as a fallback, because you are trying to connect without an authentication token, which is not supported for now by the DCV gateway.
In order to use the DCV session manager with the DCV connection gateway, there are a few additional steps to do:
Additional configuration step:
Configure the DCV server to use the DCV session manager broker as external authenticator, as explained here
Additional steps to construct the URL when connecting
Call the GetSessionConnectionData API of the DCV session manager broker to retrive the ConnectionToken to connect to a given session
Construct the URL to connect to as:
dcv-connection-gateway-urlis the DCV connection gateway URL
connection-tokenis the ConnectionToken returned by the GetSessionConnectionData API
session-idis the session id you want to connect to
Setting up DCV connection gateway and a Session Resolver with the url that is not at the root?Accepted Answerasked 4 months ago
NICE DCV with external authentication -- can I avoid supplying a password to unlock the screen? (Web client with Linux)
NICE DCV client doesn't work with Waylandasked a month ago
Is there a size limit for sessionID for DCV Connection gateway, DCV Server or DCV External Authentication?Accepted Answer
NICE DCV Server on Ubuntu 20 - "Connecting" indefinitelyasked 17 days ago
NICE DCV GPU issuesasked 7 months ago
Setting up DCV connection gateway and DCV External authentication where do you define authenticationToken?Accepted Answer
Nice DCV - Limit client access to applicationsAccepted Answerasked 5 months ago
Can I use the NICE DCV connection gateway to 'proxy' DCV client connections without defining a 'web resources' component?asked 9 months ago
NICE DCV Web client - cannot unlock screenAccepted Answer