org.scribe.exceptions.OAuthConnectionException: There was a problem while creating a connection to the remote service.

Jenkins JIRA | Sylvain Deschenes | 10 months ago
  1. 0

    I've got this error: {code:java} 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 {code} 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.

    Jenkins JIRA | 10 months ago | Sylvain Deschenes
    org.scribe.exceptions.OAuthConnectionException: There was a problem while creating a connection to the remote service.
  2. 0

    [JENKINS-32601] Connection timeout behind a proxy - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    org.scribe.exceptions.OAuthConnectionException: There was a problem creating a connection to the remote service.
  3. 0

    I've got this error: {code:java} 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 {code} 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.

    Jenkins JIRA | 10 months ago | Sylvain Deschenes
    org.scribe.exceptions.OAuthConnectionException: There was a problem while creating a connection to the remote service.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Proxy support request

    GitHub | 2 years ago | martincz
    org.scribe.exceptions.OAuthConnectionException: There was a problem while creating a connection to the remote service.
  6. 0

    error running bing translation api

    Google Groups | 4 years ago | swapnil jadhav
    java.lang.Exception: [microsoft-translator-api] Error retrieving translation : Connection timed out

  1. pnaranja 2 times, last 5 months ago
  2. bpbhat77 2 times, last 2 months ago
  3. tfr 2 times, last 4 months ago
  4. tvrmsmith 1 times, last 4 months ago
  5. treefolk 1 times, last 2 weeks ago
44 more registered users
49 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    6 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:637)
    2. sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
    2 frames
  4. Java RT
    HttpsURLConnectionImpl.getOutputStream
    1. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    2. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    3. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    4. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
    5. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:934)
    8. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    9. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1093)
    10. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
    10 frames
  5. Scribe OAuth Library
    Request.send
    1. org.scribe.model.Request.addBody(Request.java:134)
    2. org.scribe.model.Request.doSend(Request.java:112)
    3. org.scribe.model.Request.send(Request.java:65)
    4. org.scribe.model.Request.send(Request.java:75)
    4 frames
  6. org.jenkinsci.plugins
    BitbucketBuildStatusNotifier.prebuild
    1. org.jenkinsci.plugins.bitbucket.api.BitbucketApiService.getAccessToken(BitbucketApiService.java:27)
    2. org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusNotifier.notifyBuildStatus(BitbucketBuildStatusNotifier.java:216)
    3. org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusNotifier.prebuild(BitbucketBuildStatusNotifier.java:79)
    3 frames
  7. Hudson
    AbstractBuild$AbstractBuildExecution.preBuild
    1. hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:840)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:835)
    2 frames
  8. Hudson Maven Embedder
    MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
    1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:664)
    1 frame
  9. Hudson
    Run.execute
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
    2. hudson.model.Run.execute(Run.java:1741)
    2 frames
  10. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
    1 frame
  11. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:98)
    2. hudson.model.Executor.run(Executor.java:408)
    2 frames