Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Greetings! Thank you for the report Jesse! Did you run into a similar issue in 5.1 by any chance? I've created a github issue to make sure we don't lose track of it: https://github.com/Unidata/netcdf-java/issues/140 If you have a github account and don't mind, we can take the conversation over there. Otherwise, here is good :-) Cheers! Sean On Thu, Oct 24, 2019 at 4:48 PM Jesse Bickel - NOAA Affiliate via netcdf-java <netcdf-java@xxxxxxxxxxxxxxxx> wrote: > When using cdm-core-5.2.0, when attempting to access a netCDF resource on > a server that serves https on port 443 but does not serve http on port 80, > attempting to access the https resource fails but with a message indicating > it tried port 80. > > See redacted stack trace below. > > I wonder if it is related to the diff at > https://github.com/Unidata/netcdf-java/compare/v5.1.0...v5.2.0#diff-89b73930910f1f42a6af87d6d282a372 > but this is speculation. > > Jesse > > -- > Contractor, ERT, Inc. > Federal Affiliation: NWC/OWP/NOAA/DOC > > Failed to open netCDF file > https://fqdn-of-server/path/to/netcdf_resource.nc > ... > Caused by: ucar.httpservices.HTTPException: > org.apache.http.conn.HttpHostConnectException: Connect to fqdn-of-server:80 > [fqdn-of-server/x.x.x.x] failed: Connection timed out: connect > at ucar.httpservices.HTTPMethod.executeRaw(HTTPMethod.java:373) > at ucar.httpservices.HTTPMethod.execute(HTTPMethod.java:314) > at > ucar.unidata.io.http.HTTPRandomAccessFile.doConnect(HTTPRandomAccessFile.java:136) > at > ucar.unidata.io.http.HTTPRandomAccessFile.<init>(HTTPRandomAccessFile.java:60) > at > ucar.unidata.io.http.HTTPRandomAccessFile.<init>(HTTPRandomAccessFile.java:40) > at ucar.nc2.NetcdfFile.getRaf(NetcdfFile.java:448) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:338) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:305) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:290) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:278) > at > wres.io.reading.nwm.NWMTimeSeries.openFile(NWMTimeSeries.java:194) > ... 52 more > Caused by: org.apache.http.conn.HttpHostConnectException: Connect to > fqdn-of-server:80 [fqdn-of-server/x.x.x.x] failed: Connection timed out: > connect > at > org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156) > at > org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374) > at > org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) > at > org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) > at > org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) > at > org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) > at > org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) > at > org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) > at ucar.httpservices.HTTPMethod.executeRaw(HTTPMethod.java:366) > ... 62 more > Caused by: java.net.ConnectException: Connection timed out: connect > at java.base/java.net.PlainSocketImpl.waitForConnect(Native > Method) > at java.base/java.net > .PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) > at java.base/java.net > .AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) > at java.base/java.net > .AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) > at java.base/java.net > .AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) > at java.base/java.net > .SocksSocketImpl.connect(SocksSocketImpl.java:403) > at java.base/java.net.Socket.connect(Socket.java:591) > at > org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75) > at > org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) > ... 72 more > > _______________________________________________ > NOTE: All exchanges posted to Unidata maintained email lists are > recorded in the Unidata inquiry tracking system and made publicly > available through the web. Users who post to any of the lists we > maintain are reminded to remove any personal information that they > do not want to be made public. > > > netcdf-java mailing list > netcdf-java@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: > https://www.unidata.ucar.edu/mailing_lists/ >
netcdf-java
archives: