New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Authentication #17

Closed
GoogleCodeExporter opened this Issue May 1, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@GoogleCodeExporter

GoogleCodeExporter commented May 1, 2015

What steps will reproduce the problem?
1. When rightclicking 'See Sonar Issues' nothing happens

What is the expected output? What do you see instead?
I should see sth :)

What version of the product are you using? On what operating system?
1.2 (NB 8.0, LINUX)

Please provide any additional information below.

the Netbeans messages.log shows following exception:

SEVERE [org.openide.util.Exceptions]
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
        at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
Caused: sun.security.validator.ValidatorException: PKIX path building failed
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
        at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
        at sun.security.validator.Validator.validate(Validator.java:260)
        at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
        at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
        at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
Caused: javax.net.ssl.SSLHandshakeException
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
        at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
        at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at org.sonar.wsclient.connectors.HttpClient3Connector.executeRequest(HttpClient3Connector.java:102)
Caused: org.sonar.wsclient.connectors.ConnectionException: Query: 
org.apache.commons.httpclient.methods.GetMethod@482a8163
        at org.sonar.wsclient.connectors.HttpClient3Connector.executeRequest(HttpClient3Connector.java:115)
        at org.sonar.wsclient.connectors.HttpClient3Connector.execute(HttpClient3Connector.java:81)
        at org.sonar.wsclient.Sonar.findAll(Sonar.java:63)
        at qubexplorer.SonarQube.getProjects(SonarQube.java:213)
        at qubexplorer.SonarQube.existsProject(SonarQube.java:229)
        at qubexplorer.SonarQube.getCounting(SonarQube.java:173)
        at qubexplorer.ui.CountsWorker.doInBackground(CountsWorker.java:40)
        at qubexplorer.ui.CountsWorker.doInBackground(CountsWorker.java:21)
        at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at javax.swing.SwingWorker.run(SwingWorker.java:335)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[catch] at java.lang.Thread.run(Thread.java:745)

The url that is configured for the sonar server is:
https://ourserver.ourcompany.com/

Note:https NOT http

Original issue reported on code.google.com by thomas.z...@gmail.com on 24 Jul 2014 at 11:27

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter May 1, 2015

This seems a problem related to the HTTP-level communication of sonar 
libraries. Please see http://jira.codehaus.org/browse/SONAR-1411

Original comment by hmvic...@gmail.com on 25 Jul 2014 at 3:37

GoogleCodeExporter commented May 1, 2015

This seems a problem related to the HTTP-level communication of sonar 
libraries. Please see http://jira.codehaus.org/browse/SONAR-1411

Original comment by hmvic...@gmail.com on 25 Jul 2014 at 3:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment