com.sforce.ws.ConnectionException

Failed to send request to https://login.salesforce.com/services/Soap/c/37.0/0DF58000000L2Vm

Samebug tips9

host port isnt set

Check if your MongoDB is available.


rprp

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

Solutions on the web5776

  • via GitHub by martincz
    ,
  • via Unknown by swapnil jadhav,
  • Stack trace

    • com.sforce.ws.ConnectionException: Failed to send request to https://login.salesforce.com/services/Soap/c/37.0/0DF58000000L2Vm at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:121) at com.sforce.soap.enterprise.EnterpriseConnection.login(EnterpriseConnection.java:1207) at com.sforce.soap.enterprise.EnterpriseConnection.<init>(EnterpriseConnection.java:386) at com.sforce.soap.enterprise.Connector.newConnection(Connector.java:27) at Main.main(Main.java:18) 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:977) 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 com.sforce.ws.transport.JdkHttpTransport.connectRaw(JdkHttpTransport.java:136) at com.sforce.ws.transport.JdkHttpTransport.connectLocal(JdkHttpTransport.java:100) at com.sforce.ws.transport.JdkHttpTransport.connectLocal(JdkHttpTransport.java:95) at com.sforce.ws.transport.JdkHttpTransport.connect(JdkHttpTransport.java:91) at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:95) ... 4 more

    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,
    Unknown visitor
    Unknown visitorOnce,
    CasperCasper
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    483 more bugmates