[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDFJava #RAN-171087]: "javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection" for proxy connections
- Subject: [netCDFJava #RAN-171087]: "javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection" for proxy connections
- Date: Mon, 25 Sep 2017 14:38:12 -0600
There is a bug in the HTTPSession code.
I have fixed the bug; see github pull request
https://github.com/Unidata/thredds/pull/924
It is unknown if this fixes the bug reported here
because I have no ability to test.
> > Hello Dennis,
> >
> > thank you for the quick reply.
> >
> > I tried to change to netCDF-java version 4.6.10
> > (http://artifacts.unidata.ucar.edu/content/repositories/unidata-releases/edu/ucar/netcdfAll/4.6.10/netcdfAll-4.6.10.jar)
> >
> > I tried to set the proxy settings by reading them from the system settings
> > using
> > "org.apache.http.impl.client.HttpClientBuilder.create().useSystemProperties().build()"
> >
> > The resulting error is:
> > Java exception occurred:
> > "java.lang.NoSuchFieldError: INSTANCE
>
> Remember that I do not entirely trust the proxy API we have
> because of our inability to test it.
> In looking at the code, there may be a bug that I need to track down
> that is preventing the proxy info from being used.
>
> Having said that.
> There are at least two ways to set the proxy.
> 1. add flag -Dproxyurl=http://<host>:<port>
> to the java command.
>
> 2. add flags -Dhttps.proxyHost=<hostname> -Dhttps.proxyPort=<port>
> to the java command
>
>
>
>
>
> =Dennis Heimbigner
> Unidata
>
=Dennis Heimbigner
Unidata
Ticket Details
===================
Ticket ID: RAN-171087
Department: Support netCDF Java
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.