This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
see http://www.unidata.ucar.edu/software/netcdf-java/reference/HTTPservice.html David Stuebe wrote:
Hi John CC Jenn, Guy I have run into a problem accessing files on HTTP servers using netcdf Java. I get this error: Server does not support byte Ranges The strange part is that the error only occurs when accessing the files from ASA. Specifically when I take my laptop home and make the same NETCDF JAVA request from my house it works fine. Similarly local files, or files hosted inside the ASA network are fine. There is something funny about the fire wall or our service provider but we can't seem to figure out what. Have you run into this before? Let me know if you have any ideas Thanks David Stuebe *From:* Jennifer Read *Sent:* Tuesday, February 03, 2009 10:33 AM *To:* Jennifer Read; Guy De Wardener *Cc:* David Stuebe *Subject:* RE: Java Error We tested with this address:
http://science.whoi.edu/users/kestons/redtide_2005_hindcast/OUT/avg_gom_0014.nc
using java NetCDF (One ring to bind them). *From:* Jennifer Read *Sent:* Tuesday, February 03, 2009 10:22 AM *To:* Guy De Wardener *Cc:* David Stuebe *Subject:* Java Error So, Dave is getting this error: java.io.IOException: Server does not support byte Ranges at
ucar.unidata.io.http.HTTPRandomAccessFile.<init>(HTTPRandomAccessFile.java:123)
at
ucar.unidata.io.http.HTTPRandomAccessFile.<init>(HTTPRandomAccessFile.java:94)
at ucar.nc2.NetcdfFile.getRaf(NetcdfFile.java:441) at ucar.nc2.NetcdfFile.open(NetcdfFile.java:347) at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:622) at ucar.nc2.dataset.NetcdfDataset.openFile(NetcdfDataset.java:500) at ucar.nc2.ui.ToolsUI$NCdumpPanel.run(ToolsUI.java:1214) at ucar.nc2.ui.ToolsUI$GetDataTask.run(ToolsUI.java:3098) at java.lang.Thread.run(Unknown Source) When he tries to connect from inside ASA to another source. It works outside (at home) and it works inside if hes connecting inside. Im having him see what happens if he uses wireless and tries to connect. It isnt a firewall issue- there have been no firewall changes in the past long time.