facebook

Disconnected Eclipse environment fills logs with CertificateException

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #528669 Reply

    frankthetank
    Participant

    My team and I develop on a network that is generally disconnected from the internet all the time. We use Artifactory for all of our development tooling (P2, Maven, PyPi, etc) and there is no other HTTP access to the internet. We have installed the Darkest Dark theme but all of our Eclipse .log files are filling with exceptions:

    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching www.genuitec.com found.

    The primary log file (.log) plus all 10 backup logs (.bak_N.log) fill up with this message in less than one minute. Is there some way to disable the constant outbound connection requests?

    Thanks!
    Frank

    This topic was linked to an Issue on July 5, 2017 at 4:53 pm
    #528689 Reply

    Brian Fernandes
    Moderator

    Frank,

    That behaviour certainly isn’t something we’ve seen.

    1) We’re hoping there’s more to that error with a full stack trace in the log. Can you share the log file or the full stack trace for this error please?

    2) Besides being offline, can you describe anything that might be unique about your network? For instance, is there a proxy server that your system, or Eclipse is configured to use?

    3) What OS and what version/distribution of Eclipse is this? Do you know what version of Java it is using (presumably version 8, just making sure).

    4) I’m assuming this happens everytime you start Eclipse?

    Hope we can sort it out, thank you for the report!

    #528760 Reply

    frankthetank
    Participant
    1. I can get the entire log file but it will have to wait until Wednesday and even then it might be Thursday. I have to copy the log file to removable media and then move to a connected network.
    2. The unique aspect of the network is that there is no inbound or outbound network connectivity other than the Artifactory instance that is set up specifically to host development tools. Beyond that there are no proxies and there will be no configuration of proxies or other holes to connect this development environment externally.
    3. We are using CentOS 7 with Eclipse Neon (Neon) and JDK (not just JRE) 1.8. The above tools are kept completely up-to-date through the Artifactory instances.
    4. Yes, this happens every time Eclipse is started and running.

    Thanks for getting back to me on this.

    Regards,
    Frank

    #528970 Reply

    Brian Fernandes
    Moderator

    Frank,

    Thank you for the details, nothing you have mentioned seems out of the ordinary.

    Even 2-5 lines from the top of the stack trace (if you can memorize them roughly 🙂 ) might be enough; they’ll point us in the right direction. Of course, we would still want the full log too, whenever you can get to it.

    #529265 Reply

    frankthetank
    Participant

    OK – Here is the content of the stacktrace that is repeated. It was hand-copied for expediency. This same message is repeated at least once every thousandth of a second (yes, there is another copy of this message at 11:29:35.521, then 4 of them at 11:29:35.522, then another 4 at 11:29:35.523 and so on).

    
    !ENTRY com.genuitec.eclipse.theming.ui 4 0 2017-07-05 11:29:35.521
    !MESSAGE www.genuitec.com
    !STACK 0
    java.net.UnknownHostException: www.genuitec.com
    	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    	at java.net.Socket.connect(Socket.java:589)
    	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
    	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
    	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
    	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
    	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
    	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
    	at com.genuitec.eclipse.theming.ui.IconDownloaderJob.getApprovedDefinitions(IconDownloaderJob.java:338)
    	at com.genuitec.eclipse.theming.ui.IconDownloaderJob.run(IconDownloaderJob.java:45)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    
    
    #529272 Reply

    Aaron Lara
    Member

    @frankthetank, Thanks for the detailed information. We managed to replicate the issue and we are working on a fix at the moment.

    Cheers,
    Aaron Lara

    #530014 Reply

    Aaron Lara
    Member

    @frankthetank, The fix is already available at our latest version of Darkest Dark, coulld you please update (if you haven’t done that yet) and confirm you no longer see this issue?

    Thanks!
    Aaron Lara

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Disconnected Eclipse environment fills logs with CertificateException

You must be logged in to post in the forum log in