java.lang.Error

java.net.ConnectException: Connexion refusée

Samebug tips4

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4981

  • via GitHub by LeOSW42
    ,
  • via GitHub by jbauer180266
    ,
  • via GitHub by lesv
    ,
  • Stack trace

    • java.lang.Error: java.net.ConnectException: Connexion refusée at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:239)[java-gitlab-api-1.2.3.jar:?] at org.gitlab.api.http.GitlabHTTPRequestor$1.hasNext(GitlabHTTPRequestor.java:193)[java-gitlab-api-1.2.3.jar:?] at org.gitlab.api.http.GitlabHTTPRequestor.getAll(GitlabHTTPRequestor.java:161)[java-gitlab-api-1.2.3.jar:?] at org.gitlab.api.GitlabAPI.getAllProjects(GitlabAPI.java:586)[java-gitlab-api-1.2.3.jar:?] at svnserver.ext.gitlab.mapping.GitLabMappingConfig.create(GitLabMappingConfig.java:76)[git-as-svn.jar:?] at svnserver.server.SvnServer.<init>(SvnServer.java:113)[git-as-svn.jar:?] at svnserver.server.Main.main(Main.java:48)[git-as-svn.jar:?] Caused by: java.net.ConnectException: Connexion refusée at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_102] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_102] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_102] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885)[?:1.8.0_102] at java.security.AccessController.doPrivileged(Native Method)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)[?:1.8.0_102] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)[?:1.8.0_102] at org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError(GitlabHTTPRequestor.java:369)[java-gitlab-api-1.2.3.jar:?] at org.gitlab.api.http.GitlabHTTPRequestor.access$300(GitlabHTTPRequestor.java:28)[java-gitlab-api-1.2.3.jar:?] at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:236)[java-gitlab-api-1.2.3.jar:?] ... 6 more Caused by: java.net.ConnectException: Connexion refusée at java.net.PlainSocketImpl.socketConnect(Native Method)[?:1.8.0_102] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[?:1.8.0_102] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[?:1.8.0_102] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[?:1.8.0_102] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[?:1.8.0_102] at java.net.Socket.connect(Socket.java:589)[?:1.8.0_102] at java.net.Socket.connect(Socket.java:538)[?:1.8.0_102] at sun.net.NetworkClient.doConnect(NetworkClient.java:180)[?:1.8.0_102] at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)[?:1.8.0_102] at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)[?:1.8.0_102] at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)[?:1.8.0_102] at sun.net.www.http.HttpClient.New(HttpClient.java:308)[?:1.8.0_102] at sun.net.www.http.HttpClient.New(HttpClient.java:326)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)[?:1.8.0_102] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)[?:1.8.0_102] at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:324)[java-gitlab-api-1.2.3.jar:?] at org.gitlab.api.http.GitlabHTTPRequestor.access$200(GitlabHTTPRequestor.java:28)[java-gitlab-api-1.2.3.jar:?] at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:232)[java-gitlab-api-1.2.3.jar:?]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    HronomHronom
    9 times, last one
    regissoregisso
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    279 more bugmates