com.jcraft.jsch.JSchException: failed to send channel request

Jenkins JIRA | toto auzoo | 2 years ago
  1. 0

    It seems like SCP plugin is using SFTP to send publish artifact over SSH : {quote} [SCP] Connecting to ***** ERROR: Failed to upload files com.jcraft.jsch.JSchException: failed to send channel request at com.jcraft.jsch.Request.write(Request.java:65) at com.jcraft.jsch.RequestSftp.request(RequestSftp.java:47) at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:190) at com.jcraft.jsch.Channel.connect(Channel.java:200) at com.jcraft.jsch.Channel.connect(Channel.java:144) at be.certipost.hudson.plugin.SCPSite.createChannel(SCPSite.java:163) at be.certipost.hudson.plugin.SCPRepositoryPublisher.perform(SCPRepositoryPublisher.java:161) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Publish artifacts to SCP Repository' changed build result to UNSTABLE {quote} I would use this plugin because my server doesn't handle SFTP but does handle SCP. When configuring SCP host, everything seems ok, aka the plugin can connect to the server. But when sending a file from a job, the error above appears. Job configuration attached

    Jenkins JIRA | 2 years ago | toto auzoo
    com.jcraft.jsch.JSchException: failed to send channel request
  2. 0

    It seems like SCP plugin is using SFTP to send publish artifact over SSH : {quote} [SCP] Connecting to ***** ERROR: Failed to upload files com.jcraft.jsch.JSchException: failed to send channel request at com.jcraft.jsch.Request.write(Request.java:65) at com.jcraft.jsch.RequestSftp.request(RequestSftp.java:47) at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:190) at com.jcraft.jsch.Channel.connect(Channel.java:200) at com.jcraft.jsch.Channel.connect(Channel.java:144) at be.certipost.hudson.plugin.SCPSite.createChannel(SCPSite.java:163) at be.certipost.hudson.plugin.SCPRepositoryPublisher.perform(SCPRepositoryPublisher.java:161) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Publish artifacts to SCP Repository' changed build result to UNSTABLE {quote} I would use this plugin because my server doesn't handle SFTP but does handle SCP. When configuring SCP host, everything seems ok, aka the plugin can connect to the server. But when sending a file from a job, the error above appears. Job configuration attached

    Jenkins JIRA | 2 years ago | toto auzoo
    com.jcraft.jsch.JSchException: failed to send channel request
  3. 0

    ImageJ - FIJI update site setup issues on windows

    nabble.com | 1 year ago
    com.jcraft.jsch.JSchException: failed to send channel request
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SFTP connection issue with DefaultSftpSessionFactory

    Stack Overflow | 3 years ago | user2637582
    com.jcraft.jsch.JSchException: failed to send channel request
  6. 0

    你好 我使用jsch 上传SFTP文件 也出现相同的异常 - 开源中国社区

    oschina.net | 1 year ago
    com.jcraft.jsch.JSchException: failed to send channel request

  1. Sachin Bhakare 1 times, last 8 months ago
20 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. com.jcraft.jsch.JSchException

    failed to send channel request

    at com.jcraft.jsch.Request.write()
  2. JSch
    Channel.connect
    1. com.jcraft.jsch.Request.write(Request.java:65)
    2. com.jcraft.jsch.RequestSftp.request(RequestSftp.java:47)
    3. com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:190)
    4. com.jcraft.jsch.Channel.connect(Channel.java:200)
    5. com.jcraft.jsch.Channel.connect(Channel.java:144)
    5 frames
  3. be.certipost.hudson
    SCPRepositoryPublisher.perform
    1. be.certipost.hudson.plugin.SCPSite.createChannel(SCPSite.java:163)
    2. be.certipost.hudson.plugin.SCPRepositoryPublisher.perform(SCPRepositoryPublisher.java:161)
    2 frames
  4. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
    4. hudson.model.Build$BuildExecution.post2(Build.java:183)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
    6. hudson.model.Run.execute(Run.java:1765)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:89)
    9. hudson.model.Executor.run(Executor.java:240)
    9 frames