Deplyment Test Connection:Test STFP Connection return Request failed

SSH Configuration Test Connection OK

But not work at Deplyment configuration.

 

 

2021-01-18 10:56:26,515 [  66525]   INFO - port.random.BouncyCastleRandom - Generating random seed from SecureRandom. 
2021-01-18 10:56:26,527 [  66537]   INFO - z.sshj.transport.TransportImpl - Client identity string: SSH-2.0-SSHJ_0.29.0 
2021-01-18 10:56:26,559 [  66569]   INFO - z.sshj.transport.TransportImpl - Server identity string: SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.4 
2021-01-18 10:56:26,577 [  66587]   INFO - om.intellij.ssh.impl.sshj.sshj - Authentication log: SSH connection to oduser@localhost:2222
* With predefined preferred authentications: keyboard-interactive,password
* With signature factories: ssh-rsa, ssh-dss, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-ed25519, ssh-rsa-cert-v01@openssh.com
* With keep alive interval 120 seconds
* With keep alive count max 3
* With OpenSSH-like host key verifier (knownHostsFile=[C:\Users\feihu\.ssh\known_hosts], strictHostKeyChecking=ASK, hashKnownHosts=false)
* With authentications allowed by the client: publickey, password, keyboard-interactive
* With connect timeout 10000 milliseconds
* Connected
  => none (failure, new auth methods allowed by the server: publickey, password)
  => password (success) 
2021-01-18 10:56:26,580 [  66590]   INFO - z.sshj.transport.TransportImpl - Disconnected - BY_APPLICATION 
2021-01-18 10:56:50,565 [  90575]   INFO - .channel.direct.SessionChannel - Will request `sftp` subsystem 
2021-01-18 10:56:50,566 [  90576]   WARN - net.schmizz.concurrent.Promise - <<chan#1 / chanreq for subsystem>> woke to: net.schmizz.sshj.connection.ConnectionException: Request failed 
2021-01-18 10:56:50,566 [  90576]   WARN - t.connections.RemoteConnection - Request failed 
com.intellij.ssh.SshTransportException: Request failed
  at com.intellij.ssh.impl.sshj.SshjSshConnection.openChannel(SshjSshConnection.kt:54)
  at com.intellij.ssh.impl.SshConnection$openChannel$1.invoke(SshConnection.kt:68)
  at com.intellij.ssh.impl.SshConnection$openChannel$1.invoke(SshConnection.kt:30)
  at com.intellij.ssh.Ssh.wrapBlockingSshCall(ssh.kt:436)
  at com.intellij.ssh.Ssh.wrapBlockingSshCall$default(ssh.kt:418)
  at com.intellij.ssh.impl.SshConnection.openChannel(SshConnection.kt:57)
  at com.intellij.ssh.SshConnectionService.sftp(SshConnectionService.kt:203)
  at com.intellij.ssh.SshConnectionService$failSafeSftp$1.invoke(SshConnectionService.kt:214)
  at com.intellij.ssh.SshConnectionService$failSafeSftp$1.invoke(SshConnectionService.kt:34)
  at com.intellij.ssh.impl.channels.FailSafeSftpChannel.getHome(FailSafeSftpChannel.kt:167)
  at com.jetbrains.plugins.webDeployment.connections.platform.PlatformSftpFileSystem.<init>(PlatformSftpFileSystem.java:38)
  at com.jetbrains.plugins.webDeployment.connections.platform.PlatformSftpFileProvider.doCreateFileSystem(PlatformSftpFileProvider.java:112)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.tryToCreateFileSystem(AbstractOriginatingFileProvider.java:157)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:101)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:79)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:63)
  at com.jetbrains.plugins.webDeployment.connections.SftpFileProviderProxy.findFile(SftpFileProviderProxy.java:74)
  at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:715)
  at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:647)
  at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool.lambda$createConnection$0(RemoteConnectionPool.java:262)
  at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
  at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
  at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:270)
  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
  at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
  at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
  at java.base/java.security.AccessController.doPrivileged(Native Method)
  at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
  at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: net.schmizz.sshj.connection.ConnectionException: Request failed
  at net.schmizz.sshj.connection.channel.AbstractChannel.gotResponse(AbstractChannel.java:405)
  at net.schmizz.sshj.connection.channel.AbstractChannel.handle(AbstractChannel.java:192)
  at net.schmizz.sshj.connection.ConnectionImpl.handle(ConnectionImpl.java:130)
  at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:507)
  at net.schmizz.sshj.transport.Decoder.decodeMte(Decoder.java:159)
  at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:79)
  at net.schmizz.sshj.transport.Decoder.received(Decoder.java:231)
  at net.schmizz.sshj.transport.Reader.run(Reader.java:59)
2021-01-18 10:56:50,567 [  90577]   WARN - loyment.ui.WebServerConfigForm - Connection failed 
com.jetbrains.plugins.webDeployment.CustomFileSystemException: Connection failed
  at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool.lambda$createConnection$0(RemoteConnectionPool.java:281)
  at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
  at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
  at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:270)
  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
  at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
  at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
  at java.base/java.security.AccessController.doPrivileged(Native Method)
  at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
  at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.intellij.ssh.SshTransportException: Request failed
  at com.intellij.ssh.impl.sshj.SshjSshConnection.openChannel(SshjSshConnection.kt:54)
  at com.intellij.ssh.impl.SshConnection$openChannel$1.invoke(SshConnection.kt:68)
  at com.intellij.ssh.impl.SshConnection$openChannel$1.invoke(SshConnection.kt:30)
  at com.intellij.ssh.Ssh.wrapBlockingSshCall(ssh.kt:436)
  at com.intellij.ssh.Ssh.wrapBlockingSshCall$default(ssh.kt:418)
  at com.intellij.ssh.impl.SshConnection.openChannel(SshConnection.kt:57)
  at com.intellij.ssh.SshConnectionService.sftp(SshConnectionService.kt:203)
  at com.intellij.ssh.SshConnectionService$failSafeSftp$1.invoke(SshConnectionService.kt:214)
  at com.intellij.ssh.SshConnectionService$failSafeSftp$1.invoke(SshConnectionService.kt:34)
  at com.intellij.ssh.impl.channels.FailSafeSftpChannel.getHome(FailSafeSftpChannel.kt:167)
  at com.jetbrains.plugins.webDeployment.connections.platform.PlatformSftpFileSystem.<init>(PlatformSftpFileSystem.java:38)
  at com.jetbrains.plugins.webDeployment.connections.platform.PlatformSftpFileProvider.doCreateFileSystem(PlatformSftpFileProvider.java:112)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.tryToCreateFileSystem(AbstractOriginatingFileProvider.java:157)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:101)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:79)
  at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:63)
  at com.jetbrains.plugins.webDeployment.connections.SftpFileProviderProxy.findFile(SftpFileProviderProxy.java:74)
  at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:715)
  at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:647)
  at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool.lambda$createConnection$0(RemoteConnectionPool.java:262)
  ... 11 more
Caused by: net.schmizz.sshj.connection.ConnectionException: Request failed
  at net.schmizz.sshj.connection.channel.AbstractChannel.gotResponse(AbstractChannel.java:405)
  at net.schmizz.sshj.connection.channel.AbstractChannel.handle(AbstractChannel.java:192)
  at net.schmizz.sshj.connection.ConnectionImpl.handle(ConnectionImpl.java:130)
  at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:507)
  at net.schmizz.sshj.transport.Decoder.decodeMte(Decoder.java:159)
  at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:79)
  at net.schmizz.sshj.transport.Decoder.received(Decoder.java:231)
  at net.schmizz.sshj.transport.Reader.run(Reader.java:59)
6 comments
Comment actions Permalink

Hello! 

 

Do you have any FW, AV, or any other application that might block the access? Please try disabling it. 

Could you please add the following lines to **Help | Debug Log Settings…**:

 

#com.intellij.ssh

#com.jetbrains.plugins.webDeployment

 

reconnect and upload logs folder zipped from ***Help | Collect logs and Diagnostic Data*** 

to the FTP

https://uploads.jetbrains.com/ and please let me know the filename.

0
Comment actions Permalink

The filename is pycharm-logs-20210121-105945.zip

Thanks!

0
Comment actions Permalink

Hello Feihu Zhang, 

Could you please try again to upload the file? I cannot find it on the FTP for some reason.  I am wondering if you have FW, AV ? 

 

0
Comment actions Permalink

Hello, I re-uploaded the file with the following attachment name:
Upload id: 2021_01_25_TVsnbM43UaVW3asy (file: pycharm-logs-20210125-105351.zip)

 

Onedrive shares link

https://1drv.ms/u/s!AterZ1YICXEBzb83RYt0JIK9qG7qLA?e=npFeKb

0
Comment actions Permalink

Re install openssh-server solved this problem.

Thanks!

0
Comment actions Permalink

thank you for letting me know! 

0

Please sign in to leave a comment.