java.net.UnknownHostException: cs42.salesforce.com

GitHub | pautaran | 2 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unknown Host exception

    Google Groups | 8 years ago | sujal.w...@gmail.com
    ec2.amazonaws.com
  2. 0

    GitHub comment 60#278596141

    GitHub | 2 weeks ago | pautaran
    java.net.UnknownHostException: cs42.salesforce.com
  3. 0

    when i try to call this API https://jsonplaceholder.typicode.com/posts/1 I am getting error. Its working fine in my network. I tried in Chrome browser its working Error Message: 2016/11/11 13:22:01 - Spoon - Transformation opened. 2016/11/11 13:22:01 - Spoon - Launching transformation [RestClinet]... 2016/11/11 13:22:01 - Spoon - Started the transformation execution. 2016/11/11 13:22:01 - RestClinet - Dispatching started for transformation [RestClinet] 2016/11/11 13:22:01 - Generate Rows.0 - Finished processing (I=0, O=0, R=0, W=1, U=0, E=0) 2016/11/11 13:23:26 - REST Client.0 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Because of an error, this step can't continue: 2016/11/11 13:23:26 - REST Client.0 - Can not result from [https://jsonplaceholder.typicode.com/posts/1] 2016/11/11 13:23:26 - REST Client.0 - java.net.ConnectException: Connection timed out: connect 2016/11/11 13:23:26 - REST Client.0 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : org.pentaho.di.core.exception.KettleException: 2016/11/11 13:23:26 - REST Client.0 - Can not result from [https://jsonplaceholder.typicode.com/posts/1] 2016/11/11 13:23:26 - REST Client.0 - java.net.ConnectException: Connection timed out: connect 2016/11/11 13:23:26 - REST Client.0 - 2016/11/11 13:23:26 - REST Client.0 - at org.pentaho.di.trans.steps.rest.Rest.callRest(Rest.java:229) 2016/11/11 13:23:26 - REST Client.0 - at org.pentaho.di.trans.steps.rest.Rest.processRow(Rest.java:449) 2016/11/11 13:23:26 - REST Client.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2016/11/11 13:23:26 - REST Client.0 - at java.lang.Thread.run(Thread.java:745) 2016/11/11 13:23:26 - REST Client.0 - Caused by: com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection timed out: connect 2016/11/11 13:23:26 - REST Client.0 - at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:213) 2016/11/11 13:23:26 - REST Client.0 - at com.sun.jersey.client.apache.ApacheHttpClientHandler.handle(ApacheHttpClientHandler.java:175) 2016/11/11 13:23:26 - REST Client.0 - at com.sun.jersey.api.client.Client.handle(Client.java:648) 2016/11/11 13:23:26 - REST Client.0 - at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680) 2016/11/11 13:23:26 - REST Client.0 - at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) 2016/11/11 13:23:26 - REST Client.0 - at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507) 2016/11/11 13:23:26 - REST Client.0 - at org.pentaho.di.trans.steps.rest.Rest.callRest(Rest.java:171) 2016/11/11 13:23:26 - REST Client.0 - ... 3 more 2016/11/11 13:23:26 - REST Client.0 - Caused by: java.net.ConnectException: Connection timed out: connect 2016/11/11 13:23:26 - REST Client.0 - at java.net.DualStackPlainSocketImpl.connect0(Native Method) 2016/11/11 13:23:26 - REST Client.0 - at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) 2016/11/11 13:23:26 - REST Client.0 - at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:344) 2016/11/11 13:23:26 - REST Client.0 - at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) 2016/11/11 13:23:26 - REST Client.0 - at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) 2016/11/11 13:23:26 - REST Client.0 - at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) 2016/11/11 13:23:26 - REST Client.0 - at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 2016/11/11 13:23:26 - REST Client.0 - at java.net.Socket.connect(Socket.java:579) 2016/11/11 13:23:26 - REST Client.0 - at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:637) 2016/11/11 13:23:26 - REST Client.0 - at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:469) 2016/11/11 13:23:26 - REST Client.0 - at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140) 2016/11/11 13:23:26 - REST Client.0 - at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82) 2016/11/11 13:23:26 - REST Client.0 - at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127) 2016/11/11 13:23:26 - REST Client.0 - at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) 2016/11/11 13:23:26 - REST Client.0 - at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) 2016/11/11 13:23:26 - REST Client.0 - at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) 2016/11/11 13:23:26 - REST Client.0 - at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) 2016/11/11 13:23:26 - REST Client.0 - at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) 2016/11/11 13:23:26 - REST Client.0 - at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:210) 2016/11/11 13:23:26 - REST Client.0 - ... 9 more 2016/11/11 13:23:26 - REST Client.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 2016/11/11 13:23:26 - RestClinet - Transformation detected one or more steps with errors. 2016/11/11 13:23:26 - RestClinet - Transformation is killing the other steps! 2016/11/11 13:23:26 - RestClinet - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Errors detected! 2016/11/11 13:23:26 - Spoon - The transformation has finished!! 2016/11/11 13:23:26 - RestClinet - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Errors detected! 2016/11/11 13:23:26 - RestClinet - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Errors detected!

    Pentaho BI Platform Tracking | 3 months ago | darkparticle
    java.net.ConnectException: Connection timed out: connect 2016/11/11 13:23:26 - REST Client.0 -
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hipchat notifications do not function at all when the system is behind a proxy. When a system proxy is configured I can manually post notifications to the rooms but this plugin does not seem to take the system proxy (or the one configured in the plugins) into consideration. Nov 04, 2013 5:40:58 PM WARNING jenkins.plugins.hipchat.StandardHipChatService publish Error posting to HipChat java.net.NoRouteToHostException: No route to host 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:618) at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:451) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) 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 jenkins.plugins.hipchat.StandardHipChatService.publish(StandardHipChatService.java:43) at jenkins.plugins.hipchat.ActiveNotifier.completed(ActiveNotifier.java:63) at jenkins.plugins.hipchat.HipChatListener.onCompleted(HipChatListener.java:26) at jenkins.plugins.hipchat.HipChatListener.onCompleted(HipChatListener.java:14) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1729) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230)

    Jenkins JIRA | 3 years ago | Chris Tobey
    java.net.NoRouteToHostException: No route to host
  6. 0

    doesn't support sites with self-signed SSL

    GitHub | 3 years ago | jovezhong
    java.net.ConnectException: Connection refused

  1. Hronom 1 times, last 1 month ago
  2. iferca 2 times, last 2 months ago
  3. guizmaii 1 times, last 2 months ago
  4. mauritius 2 times, last 3 months ago
  5. eti22 2 times, last 4 months ago
8 more registered users
42 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.UnknownHostException

    cs42.salesforce.com

    at java.net.AbstractPlainSocketImpl.connect()
  2. Java RT
    Socket.connect
    1. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
    2. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    3. java.net.Socket.connect(Socket.java:589)
    3 frames
  3. Java JSSE
    SSLSocketFactoryImpl.createSocket
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
    2. sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:472)
    3. sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:153)
    3 frames
  4. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
    2. org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    7 frames
  5. com.sforce.cd
    ApexUnitRunner.main
    1. com.sforce.cd.apexUnit.client.codeCoverage.WebServiceInvoker.doPost(WebServiceInvoker.java:81)
    2. com.sforce.cd.apexUnit.client.codeCoverage.OAuthTokenGenerator.doPostAndGetOrgToken(OAuthTokenGenerator.java:49)
    3. com.sforce.cd.apexUnit.client.codeCoverage.OAuthTokenGenerator.getOrgToken(OAuthTokenGenerator.java:36)
    4. com.sforce.cd.apexUnit.client.codeCoverage.CodeCoverageComputer.calculateAggregatedCodeCoverageUsingToolingAPI(CodeCoverageComputer.java:104)
    5. com.sforce.cd.apexUnit.ApexUnitRunner.main(ApexUnitRunner.java:88)
    5 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. org.codehaus.mojo
    ExecJavaMojo$1.run
    1. org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
    1 frame
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame