com.jcraft.jsch.JSchException

java.net.UnknownHostException: XXXX

Samebug tips1

Check if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".

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

Solutions on the web10

  • via developer-works.com by Unknown author, 1 year ago
    java.net.UnknownHostException: targetserverhyperion
  • via Jenkins JIRA by Peter Kline, 11 months ago
    java.net.UnknownHostException: ${builder_ip}
  • Stack trace

    • com.jcraft.jsch.JSchException: java.net.UnknownHostException: XXXX at com.jcraft.jsch.Util.createSocket(Util.java:394) at com.jcraft.jsch.Session.connect(Session.java:215) at org.apache.jmeter.protocol.ssh.sampler.AbstractSSHSampler.connect(AbstractSSHSampler.java:72) at org.apache.jmeter.protocol.ssh.sampler.SSHCommandSampler.sample(SSHCommandSampler.java:64) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:431) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258) at java.lang.Thread.run(Unknown Source) Caused by: java.net.UnknownHostException: XXXX at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at com.jcraft.jsch.Util$1.run(Util.java:362) ... 1 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 user
    Once, 1 year ago
    Once, 7 months ago
    Unknown user
    Once, 7 months ago
    3 times, 9 months ago
    Unknown user
    Once, 1 year ago
    110 more bugmates