Re: [thredds] Trouble with Godiva viewer

Hi Roy,

The Godiva2 viewer makes a number of AJAX requests (with JSON responses) to the 
WMS itself - i.e. the root URI of all these requests is the same as the WMS.  
For example:

gets the details of the given layer.

You could try going to our demo Godiva2 site ( 
and using something like Firebug to sniff the traffic to the server.  There is 
no proxying here so it should be reasonably straightforward.  Be warned that 
our Godiva2 server has been showing problems recently so you may see some 

I've never tried any kind of proxying between Godiva2 and the WMS - any 
experience you gather here would be very welcome!


-----Original Message-----

Hi All:

The Godiva viewer is failing on our THREDDS. When you try to access it the 
openlayers amp comes up and then a  window comes saying "Invalid JSON returned 
from Server" and no data is displayed.

If I go into debug on Safari I get:

> Refused to get unsafe header "X-JSON"

When I when it with Firefox the console error is:

> Error: [Exception... "A parameter or an operation is not supported by the 
> underlying object"  code: "15" nsresult: "0x8053000f 
> "chrome://jsview/content/jsviewOverlay.js Line: 649"]
> Source File: chrome://browser/content/tabbrowser.xml
> Line: 417

My guess it has to do with all the proxying we do, and Godiva is sending a URL 
that is blocked.  Any info on what URI Godiva uses to get its data  (how can I 
figure out  what it is sending to see if we ned to proxy anything else.



"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
Roy Mendelssohn
Supervisory Operations Research Analyst
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 

  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: