-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins v.1.625.3
Runs directly
Is in a private network, access with a proxy.
I've got this error:
Bitbucket notify on start failed: There was a problem while creating a connection to the remote service. org.scribe.exceptions.OAuthConnectionException: There was a problem while creating a connection to the remote service. at org.scribe.model.Request.send(Request.java:69) at org.scribe.model.Request.send(Request.java:75) at org.jenkinsci.plugins.bitbucket.api.BitbucketApiService.getAccessToken(BitbucketApiService.java:27) at org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusNotifier.notifyBuildStatus(BitbucketBuildStatusNotifier.java:216) at org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusNotifier.prebuild(BitbucketBuildStatusNotifier.java:79) at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:840) at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:835) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:664) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:637) at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) 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.plainConnect(HttpURLConnection.java:934) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1093) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) at org.scribe.model.Request.addBody(Request.java:134) at org.scribe.model.Request.doSend(Request.java:112) at org.scribe.model.Request.send(Request.java:65) ... 12 more
I've tried a lot of settings without success:
- Set the environment variable JAVA_TOOL_OPTIONS: -Dhttp.proxyHost=<proxyserver> -Dhttp.proxyPort=8080 -Dhttps.proxyHost=<proxyserver> -Dhttps.proxyPort=8080 in Jenkins configuration with value
- Set the proxy in the advance tab of plugins configuration.
- Add to the variable JENKINS_JAVA_OPTIONS: -Dhttp.proxyHost=<proxyserver> -Dhttp.proxyPort=8080 -Dhttps.proxyHost=<proxyserver> -Dhttps.proxyPort=8080 in JENKINS in the file: /etc/sysconfig/jenkins
Nothing is working... Every other plugins and job are working. Only this plugin report an error.