[OpenLayers-Users] 502 Bad Gateway

Smaran Harihar smaran.harihar at gmail.com
Tue Dec 11 13:03:54 PST 2012


Yes you are right Phil. I realized that later and changed it but was still
giving me the same error.

Then I realized I had to clear my browser history and now it is working
fine.

Thanks,
Smaran


On Tue, Dec 11, 2012 at 1:07 PM, Phil Scadden <p.scadden at gns.cri.nz> wrote:

>  If your proxy is based on the openlayers example proxy.cgi, you will see
> that the error for a host that is not allowed is:
>
> print "Status: 502 Bad Gateway"
> print "Content-Type: text/plain"
> print
> print "This proxy does not allow you to access that location (%s)." %
> (host,)
> print
>
> This pretty much describe what you are seeing. I would say that your host
> castle.iplantcollaborative.org<http://castle.iplantcollaborative.org:8080/geoserver/wms/?LAYERS=opengeo%3APimaPine,opengeo%3ABIEN_Species_Richness_Margalef,opengeo%3ABIEN_Species_Richness,opengeo%3ABIEN_Species_Richness_Margalef_Interpolated&QUERY_LAYERS=opengeo%3APimaPine,opengeo%3ABIEN_Species_Richness_Margalef,opengeo%3ABIEN_Species_Richness,opengeo%3ABIEN_Species_Richness_Margalef_Interpolated&STYLES=,,,&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=-18295967.087793%2C-10684061.894102%2C18295967.087793%2C10684062.234102&FEATURE_COUNT=10&HEIGHT=546&WIDTH=935&FORMAT=image%2Fpng&INFO_FORMAT=application%2Fvnd.ogc.gml&SRS=EPSG%3A900913&X=174&Y=140>
> is not in the allowedHosts list or that you have misspelled it there.
>
> Notice: This email and any attachments are confidential. If received in
> error please destroy and immediately notify us. Do not copy or disclose the
> contents.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>


-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121211/eb93a416/attachment.html>


More information about the Users mailing list