Foros de discusión
Proxy no worky 6.0.6
Cameron McBride, modificado hace 13 años.
Proxy no worky 6.0.6
Expert Mensajes: 269 Fecha de incorporación: 8/02/11 Mensajes recientes
I have put my proxy server in portal-ext.properties:
I have put the same proxy server in system-ext.properties.
Neither seem to have any effect. This is the same proxy information I put in Firefox or other apps to gain external access. There is no username/password required.
How can I debug why it is not working?
I have also looked in the Liferay console for any place to put in the proxy and was unable to find one.
Thanks!
http.proxyHost=proxy.nas.mexcity.net
https.proxyHost=proxy.nas.medcity.net
https.proxyPort=8080
http.proxyPort=8080
http.nonProxyHosts=localhost
I have put the same proxy server in system-ext.properties.
Neither seem to have any effect. This is the same proxy information I put in Firefox or other apps to gain external access. There is no username/password required.
How can I debug why it is not working?
I have also looked in the Liferay console for any place to put in the proxy and was unable to find one.
Thanks!
James Falkner, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Liferay Legend Mensajes: 1399 Fecha de incorporación: 17/09/10 Mensajes recientesCameron McBride:
I have put my proxy server in portal-ext.properties:http.proxyHost=proxy.nas.mexcity.net https.proxyHost=proxy.nas.medcity.net https.proxyPort=8080 http.proxyPort=8080 http.nonProxyHosts=localhost
I have put the same proxy server in system-ext.properties.
Neither seem to have any effect. This is the same proxy information I put in Firefox or other apps to gain external access. There is no username/password required.
How can I debug why it is not working?
I have also looked in the Liferay console for any place to put in the proxy and was unable to find one.
Thanks!
Where did you put your system-ext.properties file? Are you sure it is being loaded? At the beginning of your app server log file, you should see something like
Loading file:/Users/jhf/lr/liferay-portal-6.1.0/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/system-ext.properties
And, once running, you should be able to go to
Control Panel -> Server Administration -> Properties
and see the http(s).* settings defined under the "System Properties" tab.
Cameron McBride, modificado hace 13 años.
RE: Proxy no worky 6.0.6
New Member Mensajes: 6 Fecha de incorporación: 21/02/11 Mensajes recientes
The file is being loaded:
Loading file:/C:/liferay/dev-liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/system-ext.properties
In the System->Properties page I see:
http.nonProxyHosts localhost
http.proxyHost proxy.nas.mexcity.net
http.proxyPort 8080
https.proxyHost proxy.nas.medcity.net
https.proxyPort 8080
Loading file:/C:/liferay/dev-liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/system-ext.properties
In the System->Properties page I see:
http.nonProxyHosts localhost
http.proxyHost proxy.nas.mexcity.net
http.proxyPort 8080
https.proxyHost proxy.nas.medcity.net
https.proxyPort 8080
Hitoshi Ozawa, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientesI have also looked in the Liferay console for any place to put in the proxy and was unable to find one.
This is because the proxy setting is not being set in the program. Somebody should file an jira on this.
Juan Gonzalez P, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Are there any error on logs? Does your proxy requires auth?
If so there was a bug in 6.0.5 that is resolved in 6.0.6.
Bug is here:
http://issues.liferay.com/browse/LPS-14259
Here:
http://www.liferay.com/es/community/forums/-/message_boards/message/5875776#_19_message_5875776
it's right configuration for it.
If so there was a bug in 6.0.5 that is resolved in 6.0.6.
Bug is here:
http://issues.liferay.com/browse/LPS-14259
Here:
http://www.liferay.com/es/community/forums/-/message_boards/message/5875776#_19_message_5875776
it's right configuration for it.
Hitoshi Ozawa, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientesBug is here:
http://issues.liferay.com/browse/LPS-14259
This is also a problem in our plugin repository refresh algorithm (everywhere we use httpclient).
I don't think the above bug has been resolved in 6.0.6. I'm still getting a response code 407 when I try to reference a plugin repository. I also looked at the code and it didn't seem it was fixed - at least not the way I fixed it.
Cameron McBride, modificado hace 13 años.
RE: Proxy no worky 6.0.6
New Member Mensajes: 6 Fecha de incorporación: 21/02/11 Mensajes recientes
No authentication needed. No errors in the console or in the tomcat\logs directory.
Hitoshi Ozawa, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientesCameron McBride:
No authentication needed. No errors in the console or in the tomcat\logs directory.
When are you not getting through the proxy? There won't be any error during the startup - error message only appear in the console when you try to access some external site and the site can not be accessed.
Cameron McBride, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Expert Mensajes: 269 Fecha de incorporación: 8/02/11 Mensajes recientes
RSS Feed portlet, or any portlet that uses the internet for that matter.
I can take the same RSS Feed and pop it into Firefox or IE (both using the same proxy) and it pops right up.
Maybe there is something that needs to be configured to see this extra logging?
I can take the same RSS Feed and pop it into Firefox or IE (both using the same proxy) and it pops right up.
Maybe there is something that needs to be configured to see this extra logging?
Hitoshi Ozawa, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientesMaybe there is something that needs to be configured to see this extra logging?
I think it just there is a code missing to use the proxy configuration in the source code.
Cameron McBride, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Expert Mensajes: 269 Fecha de incorporación: 8/02/11 Mensajes recientes
That seems like a horrible thing to be overlooked... (it didnt work in 6.0.5 either).
Is this something that could easily be fixed globally (not just rss) through an ext plugin or possibly passed in when the server starts (java command line)?
FIXED!!!!!
I edited the setenv.bat on the server and added "-Dhttp.proxyHost=proxy.nas.medcity.net -Dhttp.proxyPort=8080" into the environment. Proxy is working perfectly now!
Is this something that could easily be fixed globally (not just rss) through an ext plugin or possibly passed in when the server starts (java command line)?
FIXED!!!!!
I edited the setenv.bat on the server and added "-Dhttp.proxyHost=proxy.nas.medcity.net -Dhttp.proxyPort=8080" into the environment. Proxy is working perfectly now!
Hitoshi Ozawa, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
FYI, Juan has been nice to offer us a patch with a fix that includes this problem.
https://www.liferay.com/community/forums/-/message_boards/message/7895693?_19_preview=false
https://www.liferay.com/community/forums/-/message_boards/message/7895693?_19_preview=false
William Fleming, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Regular Member Mensajes: 180 Fecha de incorporación: 15/09/10 Mensajes recientes
http://www.liferay.com/community/forums/-/message_boards/message/1281576
I had issues but found that you need it entered in
catalina.properties and you portal-ext.properties
http.proxyHost=yourProxyURL
http.proxyPort=yourProxyPort
http.proxyUser=yourUserName
http.proxyPassword=yourPassword
Just drop the user and password if there is no auth.
That should do it.
I had issues but found that you need it entered in
catalina.properties and you portal-ext.properties
http.proxyHost=yourProxyURL
http.proxyPort=yourProxyPort
http.proxyUser=yourUserName
http.proxyPassword=yourPassword
Just drop the user and password if there is no auth.
That should do it.
Hitoshi Ozawa, modificado hace 13 años.
RE: Proxy no worky 6.0.6
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
The issue below is still not included in the CE version.
LPS-13985. The user name and password is not sent to proxy in some cases (repository and rss)
LPS-13985. The user name and password is not sent to proxy in some cases (repository and rss)
Brunno Figueirôa Goldstein, modificado hace 12 años.
RE: Proxy no worky 6.0.6
Junior Member Mensajes: 51 Fecha de incorporación: 5/05/11 Mensajes recientes
Are there any solution for this problem?
I'm still can't connect to repository.
Getting code 407 all the time I try to connect to internet.
I'm still can't connect to repository.
Getting code 407 all the time I try to connect to internet.
Henrique Simoes de Andrade, modificado hace 12 años.
RE: Proxy no worky 6.0.6
Regular Member Mensajes: 165 Fecha de incorporación: 30/04/10 Mensajes recientesBrunno Figueirôa Goldstein:
Are there any solution for this problem?
I'm still can't connect to repository.
Getting code 407 all the time I try to connect to internet.
Brunno, try the change mentioned here: http://www.liferay.com/community/forums/-/message_boards/message/8797743, it isn't a good way, but works for me...
Brunno Figueirôa Goldstein, modificado hace 12 años.
RE: Proxy no worky 6.0.6
Junior Member Mensajes: 51 Fecha de incorporación: 5/05/11 Mensajes recientesHenrique Simoes de Andrade:
Brunno Figueirôa Goldstein:Are there any solution for this problem?
I'm still can't connect to repository.
Getting code 407 all the time I try to connect to internet.
Brunno, try the change mentioned here: http://www.liferay.com/community/forums/-/message_boards/message/8797743, it isn't a good way, but works for me...
Thank you Henrique, my LR is now working perfectly under proxy! The complete solution is in the post that Henrique posted.
Cya!
Victor Chirita, modificado hace 9 años.
RE: Proxy no worky 6.0.6
New Member Mensajes: 3 Fecha de incorporación: 13/02/12 Mensajes recientes
It works!