M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Regular Contributor
Posts: 284
Registered: ‎03-10-2016
Accepted Solution

Error while loading descriptor: Request failed. Status Code: 407

Hi everyone,

 

one of our prospects can't load our demo-desktop app from our server.

On my own client (and others) everything works fine.

 

I'm getting the follwing message:

 

Error while loading descriptor from https://myservername.de/api/v1/desktopclient/2fe575d2-e363-4ade-a392-e598b6676112.hnlp?tenant=demo&refreshToken=669c708b-053a-403d-9fa7-aee27c4aa99e. 
java.io.IOException: Request for https://myservername.de/api/v1/desktopclient/2fe575d2-e363-4ade-a392-e598b6676112.hnlp?tenant=demo&refreshToken=669c708b-053a-403d-9fa7-aee27c4aa99e failed. Status code: 407.
 null
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.loadDescriptor(Unknown Source)
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.init(Unknown Source)
	at com.hexagon.applauncher.core/com.hexagon.applauncher.core.AppLauncher.lambda$start$0(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Any idea?

Think it must be something on the client-side.

 

Thanks

Stefan

GAUSS Ingenieurtechnik GmbH | Germany
Highlighted
Technical Evangelist
Posts: 178
Registered: ‎03-03-2016

Re: Error while loading descriptor: Request failed. Status Code: 407

HTTP 407 status code means ... Proxy Authentication Required

Is there a proxy involved on the customer's side?

 
 
Highlighted
Regular Contributor
Posts: 284
Registered: ‎03-10-2016

Re: Error while loading descriptor: Request failed. Status Code: 407

Hi Thomas,

 

yes, there is a proxy involved.

What do I have to do?

 

Thanks,

Stefan

GAUSS Ingenieurtechnik GmbH | Germany
Highlighted
Technical Evangelist
Posts: 1
Registered: ‎10-22-2018

Re: Error while loading descriptor: Request failed. Status Code: 407

[ Edited ]

Hi Stefan,

We set the 'java.net.useSystemProxies' system property to true which means: 
"On Windows systems, macOS systems and on Gnome systems it is possible to tell the java.net stack, setting this property to true, to use the system proxy settings (both these systems let you set proxies globally through their user interface). Note that this property is checked only once at startup." 

Quote: 

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/doc-files/net-properties.html

Regards,

Steve

Highlighted
Regular Contributor
Posts: 284
Registered: ‎03-10-2016

Re: Error while loading descriptor: Request failed. Status Code: 407

Hi Steve, hi Thomas,

 

is this sth. which has to be configured on client- or on (proxy)server-side?

 

Thanks

Stefan

GAUSS Ingenieurtechnik GmbH | Germany
Highlighted
Regular Contributor
Posts: 284
Registered: ‎03-10-2016

Re: Error while loading descriptor: Request failed. Status Code: 407

Hi there!

 

after we changed

 

java.net.useSystemProxies=false

 

within %APPDATA%\Hexagon\App Launcher\conf\net.properties

 

into

 

java.net.useSystemProxies=true

 

it worked fine! This has to be done on the client, where AppLauncher is installed.

 

Stefan

GAUSS Ingenieurtechnik GmbH | Germany