We are currently trying out the great CUBA Platform
However, we cannot choose platform version in the “Platform version” drop-down list.
We are behind proxy which requires basic HTTP authentication?
May I ask what is the proper way to use CUBA Studio Platform when behind HTTP proxy which requires Basic HTTP authentication?
The versions are as follows:
CUBA Studio SE v6.8.6
Already uncommented the following lines in “net.properties” under JDK_folder\jre\lib:
The JAVA_OPTS system environment variable has also been set:
-Djdk.http.auth.tunneling.disabledSchemes= -Djdk.http.auth.proxying.disabledSchemes= -Dhttps.proxyHost=proxy_hostname -Dhttps.proxyPort=8080 -Dhttps.proxyUser=user123 -Dhttps.proxyPassword=pass123
The following warning was shown in “studio.log”:
2018-05-29 10:21:01,451 WARN [com.haulmont.studio.backend.pm.BaseProjectsRepo] Error loading base projects group platform from the repository: java.io.IOException: Unable to tunnel through proxy. Proxy returns “HTTP/1.1 407 Proxy Authorization Required”
The following stream to HTTP proxy was capture using Wireshark:
(Note: there is no Proxy-Authorization header is sent in the request)
(May I ask what is the proper way to use CUBA Studio Platform when behind HTTP proxy which requires Basic HTTP authentication?)
HTTP/1.1 407 Proxy Authorization Required
Date: Tue, 29 May 2018 02:14:10 GMT
Via: 1.1 <…proxy_hostname removed…>
Proxy-Authenticate: Basic realm="Websense Content Gateway"
<…removed for clarity…>