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.

Re: [netcdf-java] access opendap site over https

> Have you tried using http:\server\thredds\dodsC\TRL\temperature.nc and

> allowing the https handshake to happen lower down?

The problem is that in this case we need to provide a client
certificate.  If we could get a handle to the HttpClient object (which I
think is used to make HTTP calls under the hood?) we could probably set
it up to perform the handshake.

Cheers, Jon

-----Original Message-----
From: netcdf-java-bounces@xxxxxxxxxxxxxxxx
[mailto:netcdf-java-bounces@xxxxxxxxxxxxxxxx] On Behalf Of John Caron
Sent: 23 March 2010 15:15
To: Adit Santokhee
Cc: netcdf-java@xxxxxxxxxxxxxxxx
Subject: Re: [netcdf-java] access opendap site over https

On 3/23/2010 9:00 AM, Adit Santokhee wrote:
> Hi,
>
> I am trying to access an opendap site over https using a certificate. 
> However, it is not working:
>
> java.io.FileNotFoundException: 
> https:\server\thredds\dodsC\TRL\temperature.nc (The filename, 
> directory name, or volume label syntax is incorrect)
>        at java.io.RandomAccessFile.open(Native Method)
>        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
>        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
>        at 
> ucar.unidata.io.RandomAccessFile.<init>(RandomAccessFile.java:232)
>        at ucar.nc2.NetcdfFile.getRaf(NetcdfFile.java:521)
>        at ucar.nc2.NetcdfFile.open(NetcdfFile.java:386)
>        at 
>
ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:679)
>        at 
> ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:434)
>
> What would you recommend trying?
>
> Cheers,
> Adit
>
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 

Have you tried using http:\server\thredds\dodsC\TRL\temperature.nc and 
allowing the https handshake to happen lower down?

We are also modifying our code to allow https: in the dataset URLs.

_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/ 



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