NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
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: http://behemoth.nerc-essc.ac.uk/ncWMS/wms?item=layerDetails&layerName=ORCA1_mv01_MONTHLY_assim_exp18%2Fsossheig&time=2011-03-28T10%3A20%3A14Z&request=GetMetadata gets the details of the given layer. You could try going to our demo Godiva2 site (http://www.reading.ac.uk/godiva2) 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 errors! I've never tried any kind of proxying between Godiva2 and the WMS - any experience you gather here would be very welcome! HTH, Jon -----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 > (NS_ERROR_DOM_INVALID_ACCESS_ERR)" location: > "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. Thanks, -Roy ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS 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 www: http://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected"
thredds
archives: