Hi David, I tried to run Geonode from the same machine with the localhost config files. And I get a response from the GeoServer (only redirecting response, because of the lack of javascript in curl ) but not the error with the hostname.
So I looked again in my config files and realized that I forgot a backslash after the http in the previous posted GEONODE_BASE_URL value (there should be http://172.18.10.241/). So it was a typo as like you said. This causes an error in the httpclient which sets the hostname to null. Now I can access the GeoServer site of Geonode. Thank you very much for your inputs. Patrick -------- Original-Nachricht -------- > Datum: Tue, 16 Aug 2011 09:07:49 -0400 > Von: David Winslow <[email protected]> > An: [email protected] > Betreff: Re: [geonode] Access Geonode from remote > This setting seems right (assuming there's no typo). Perhaps you can use > curl or wget to verify that Apache is listening on that interface? I'd > recommend running it from the same machine to ensure that the network > environment is as similar as possible to the one GeoServer runs in. > > -- > David Winslow > OpenGeo - http://opengeo.org/ > > On Tue, Aug 16, 2011 at 2:27 AM, Patrick Krejci > <[email protected]>wrote: > > > Sorry for the late response David, but we had a public holiday on monday > > and I didn't have access to the network. > > > > The value is: > > > > <context-param> > > <param-name>GEONODE_BASE_URL</param-name> > > <param-value>http:/172.18.10.241/</param-value> > > </context-param> > > > > This is the internal IP-address. > > > > > > > > > > -------- Original-Nachricht -------- > > > Datum: Fri, 12 Aug 2011 08:46:39 -0400 > > > Von: David Winslow <[email protected]> > > > An: [email protected] > > > Betreff: Re: [geonode] Access Geonode from remote > > > > > This looks like a GeoNode-specific error, but not one that I have seen > > > before. What value have you set for the GEONODE_BASE_URL in > GeoServer's > > > web.xml ? > > > > > > -- > > > David Winslow > > > OpenGeo - http://opengeo.org/ > > > > > > On Fri, Aug 12, 2011 at 2:42 AM, Patrick Krejci > > > <[email protected]>wrote: > > > > > > > Thanks David for your quick answer. Yes I tried to get the Geoserver > > > > directly over port 8080, I get the following HTTP Status 500 error. > > > > > > > > java.lang.IllegalArgumentException: Host name may not be null > > > > > org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68) > > > > > org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107) > > > > > > > > > > > > > > org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280) > > > > > > > > > > > > > > org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220) > > > > > > > > > > > > org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89) > > > > org.geonode.security.HTTPClient.sendGET(HTTPClient.java:56) > > > > > > > > > > > > > > org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:108) > > > > > > > > > > > > > > org.geonode.security.DefaultSecurityClient.authenticateCookie(DefaultSecurityClient.java:72) > > > > > > > > > > > > > > org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:93) > > > > > > > > > > > > > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > > > > > > > > > > > org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) > > > > > > > > > > > > > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > > > > > > > > > > > > > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) > > > > > > > > > > > > > > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > > > > > > > > > > > > > > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) > > > > > > > > > > > > > > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) > > > > > > > org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) > > > > > > > > > > > > > > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > > > > org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > > > > > > > > > > > > I will also try to find/get a answer to this problem in the > geoserver > > > > documentation. > > > > > > > > Thanks > > > > > > > > Patrick > > > > > > > > > > > > > > > > -------- Original-Nachricht -------- > > > > > Datum: Thu, 11 Aug 2011 16:45:57 -0400 > > > > > Von: David Winslow <[email protected]> > > > > > An: [email protected] > > > > > Betreff: Re: [geonode] Access Geonode from remote > > > > > > > > > Try accessing GeoServer directly > > > > > (http://<ip>:8080/geoserver-geonode-dev/). > > > > > Do you still get an error? > > > > > > > > > > The error message you're reporting from Apache indicates GeoServer > > > itself > > > > > is > > > > > having some issues so that would be the place to dig in. > > > > > > > > > > -- > > > > > David Winslow > > > > > OpenGeo - http://opengeo.org/ > > > > > > > > > > On Thu, Aug 11, 2011 at 4:35 PM, Patrick Krejci > > > > > <[email protected]>wrote: > > > > > > > > > > > Hi mailinglist,**** > > > > > > > > > > > > ** ** > > > > > > > > > > > > I hope I’m in the correct list here, but for me it’s > difficult > > > to > > > > > know what > > > > > > causes the problem. I installed the Version 1.0 of Geonode with > the > > > > > > Documentation “Deploying on Ubuntu 10.04”. Therefore I have > a > > > Ubuntu > > > > > Server > > > > > > (textbased), which has an internal and external IP address. **** > > > > > > > > > > > > ** ** > > > > > > > > > > > > The Access to Geonode portal happens over a remote pc in the > > > Network. > > > > > Due > > > > > > to this, I have configured the configuration files from > localhost > > to > > > > the > > > > > > internal IP address. The Client of Geonode (Geonode Portal) > works > > > from > > > > > the > > > > > > access over the remote server in the network. The redirection to > > the > > > > > > geonetwork site also works correctly so that the Site will be > > > forwarded > > > > > to > > > > > > port 8080 and I see the geonetwork site. **** > > > > > > > > > > > > ** ** > > > > > > > > > > > > My Problem is the following. If I open the GeoServer Site of > > Geonode > > > ( > > > > > > http://IP-address/geoserver-geonode-dev/ ) i receive a proxy > > error. > > > > The > > > > > > proxy server could not handle the request > > GET/geoserver-geonode-dev/ > > > > > (Error > > > > > > reading from remote server).**** > > > > > > > > > > > > ** ** > > > > > > > > > > > > How I have to configure Geonode so that I can access the site > from > > a > > > > > remote > > > > > > server?**** > > > > > > > > > > > > ** ** > > > > > > > > > > > > Thanks in advance****< /p> > > > > > > > > > > > > ** ** > > > > > > > > > > > > Patrick**** > > > > > > > > > > > > ** ** > > > > > > > > > > > > ** ** > > > > > > > > > > > > > > > > > > > > -- > > > > NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! > > > > Jetzt informieren: http://www.gmx.net/de/go/freephone > > > > > > > > -- > > NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! > > Jetzt informieren: http://www.gmx.net/de/go/freephone > > -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
