jenkins.plugins.publish_over.BapPublisherException

Exception when publishing, exception message [Failed to connect SFTP channel. Message [java.io.IOException: channel is broken]]

Samebug tips0

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 web3

  • via Unknown by Alex Domoradov,
  • via Unknown by Alex Domoradov,
  • Stack trace

    • jenkins.plugins.publish_over.BapPublisherException: Exception when publishing, exception message [Failed to connect SFTP channel. Message [java.io.IOException: channel is broken]] at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:68) at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:37) at hudson.FilePath.act(FilePath.java:990) at hudson.FilePath.act(FilePath.java:968) at jenkins.plugins.publish_over.BPInstanceConfig.perform(BPInstanceConfig.java:138) at jenkins.plugins.publish_over.BPPlugin.perform(BPPlugin.java:111) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: jenkins.plugins.publish_over_ssh.BapSshSftpSetupException: Failed to connect SFTP channel. Message [java.io.IOException: channel is broken] at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.connectSftpChannel(BapSshHostConfiguration.java:293) at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.setupSftp(BapSshHostConfiguration.java:250) at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.createClient(BapSshHostConfiguration.java:236) at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.createClient(BapSshHostConfiguration.java:210) at jenkins.plugins.publish_over_ssh.BapSshHostConfiguration.createClient(BapSshHostConfiguration.java:47) at jenkins.plugins.publish_over.BapPublisher$Performer.perform(BapPublisher.java:229) at jenkins.plugins.publish_over.BapPublisher$Performer.access$000(BapPublisher.java:205) at jenkins.plugins.publish_over.BapPublisher.perform(BapPublisher.java:158) at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:64) ... 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

    We couldn't find other users who have seen this exception.