502: Bad Gateway

Having trouble installing Oxygen? Got a bug to report? Post it all here.
KathiSchleidt
Posts: 2
Joined: Wed Apr 14, 2010 1:26 pm

502: Bad Gateway

Post by KathiSchleidt »

Hi,

got Oxygen up and running, but got an odd effect on one machine - whenever i try either open an external document (via URL) or validate against an external schema, i get an error that this isn't reachable (when opening i get 502: Bad Gateway, when validating i get "Description: schema_reference.4: Failed to read schema document 'http://schemas.opengis.net/sensorML/1.0.1/sensorML.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>."

Odd bit is that i can access all the schemas via browser from this machine. on the other ones it works without a problem. any insights as to what's wrong?

:)

kathi
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: 502: Bad Gateway

Post by sorin_ristache »

Hello,

It is an HTTP server error code. When you try to open the URL from Oxygen a proxy/gateway server that is used to access the final server (the one with the resource specified in the URL) received an invalid response from an upstream server that it accessed to fulfill the request. Did you set an HTTP proxy server in Oxygen from Options -> Preferences -> HTTP(S)/(S)FTP/Proxy Configuration? If yes please check that proxy server.

If you want to get the same result in Oxygen as when accessing the URL from the Web server please check that you access the URL through the same network interface and the same proxy server as from the browser.


Regards,
Sorin
KathiSchleidt
Posts: 2
Joined: Wed Apr 14, 2010 1:26 pm

Re: 502: Bad Gateway

Post by KathiSchleidt »

Thanks! while the proxy server i have configured in my browser didn't work, telling it to use a direct connection did! makes life much easier!

:)

kathi
Post Reply