Fórum

Proxy authentication (error 407) on LR 5.2

Philippe GABERT, modificado 13 Anos atrás.

Proxy authentication (error 407) on LR 5.2

New Member Postagens: 17 Data de Entrada: 13/05/10 Postagens Recentes
Hello,

When I try to get the list of plugins from the repository in Liferay, I get a 407 error code.:
Unable to download file http://plugins.liferay.com/official/liferay-plugin-repository.xml because of response code 407


Our proxy needs an authentication. That authentication can normally be made by user name and password or by NTLM.

I've searched on the Internet, and I've tried that:

In the system-ext.properties:

# Set the location of the HTTP proxy that the portal will use to fetch
# external content.
#
# Set http.nonProxyHosts for hosts that will not be proxied. This is useful
# for proxied environments where you need direct access to internal servers.
# This should follow the same semantics as the java.net package.
#
http.proxyHost=IPAddressProxy
http.proxyPort=8080
http.proxyUser=ID
http.proxyPassword=Password
http.nonProxyHosts=127.0.0.1

#
# Set the maximum number of connections.
#
#com.liferay.util.Http.max.connections.per.host=2
#com.liferay.util.Http.max.total.connections=20

#
# These are read for backwards compatibility and only used if the
# "http.proxyHost" and "http.proxyPort" settings are not specified.
#
com.liferay.util.Http.proxy.host=IPAddressProxy
com.liferay.util.Http.proxy.port=8080

#
# Set the proxy authentication type.
#
com.liferay.util.Http.proxy.auth.type=username-password
#com.liferay.util.Http.proxy.auth.type=ntlm

#
# Set user name and password used for HTTP proxy authentication.
#
com.liferay.util.Http.proxy.username=ID
com.liferay.util.Http.proxy.password=password

#
# Set additional properties for NTLM authentication.
#
com.liferay.util.Http.proxy.ntlm.domain=DomainName
com.liferay.util.Http.proxy.ntlm.host=IPHost


I've then added the same config in the portal-ext.properties file, but nothing has changed.

I've even added
-Dhttp.proxySet=true -Dhttp.proxyHost=proxyAddress -Dhttp.proxyPort=8080  -Dhttp.proxyUser=ID -Dhttp.proxyPassword=password
in the setenv.bat which is called when launching the server.

But I still got the error 407.

Any idea???

Thanks !
Rajagopal Yendluri, modificado 11 Anos atrás.

RE: Proxy authentication (error 407) on LR 5.2

New Member Postagens: 6 Data de Entrada: 15/04/13 Postagens Recentes
Have you got any solution to make it work, if so can you please share it with me, i am also facing the same issue.