com.jcraft.jsch.JSchException

java.net.UnknownHostException: ${builder_ip}

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".


rafaelrafael

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

Solutions on the web669

  • via Unknown by Peter Kline,
  • via Unknown by Peter Kline,
  • via Unknown by Unknown author,
  • Stack trace

    • com.jcraft.jsch.JSchException: java.net.UnknownHostException: ${builder_ip} at com.jcraft.jsch.Util.createSocket(Util.java:341) at com.jcraft.jsch.Session.connect(Session.java:182) at com.jcraft.jsch.Session.connect(Session.java:150) at org.jvnet.hudson.plugins.SSHSite.createSession(SSHSite.java:118) at org.jvnet.hudson.plugins.SSHSite.executeCommand(SSHSite.java:128) at org.jvnet.hudson.plugins.SSHBuilder.perform(SSHBuilder.java:60) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1576) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Caused by: java.net.UnknownHostException: ${builder_ip} at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) at java.net.Socket.connect(Socket.java:546) at java.net.Socket.connect(Socket.java:495) at java.net.Socket.<init>(Socket.java:392) at java.net.Socket.<init>(Socket.java:206) at com.jcraft.jsch.Util.createSocket(Util.java:335) ... 14 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

    jstrayerjstrayer
    Once,
    Unknown visitor
    Unknown visitorOnce,
    GatgeagentGatgeagent
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    110 more bugmates