github / codespaces-jetbrains-feedback

Feedback on the Codespaces integration with JetBrains IDEs
Apache License 2.0
32 stars 7 forks source link

gateway error report #126

Open klclee opened 1 year ago

klclee commented 1 year ago

Description Steps to reproduce Impact Additional context com.jetbrains.gateway.ssh.deploy.DeployException: Worker binary deploy failed: check command log for details: net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange at com.jetbrains.gateway.ssh.GoWorkerDeployer.deploy$intellij_gateway_core(GoWorkerDeployer.kt:270) at com.jetbrains.gateway.ssh.GoWorkerDeployer$deploy$1.invokeSuspend(GoWorkerDeployer.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) at com.github.codespaces.jetbrains.gateway.connector.CodespacesConnectorService.getJetBrainsConnectionConfig(CodespacesConnectorService.kt:421) at com.github.codespaces.jetbrains.gateway.connector.CodespacesConnectorService.getJetBrainsConnectionConfig$default(CodespacesConnectorService.kt:419) at com.github.codespaces.jetbrains.gateway.connector.CodespacesConnectorService$prepareForJetBrainsConnection$1.run(CodespacesConnectorService.kt:269) at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428) at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$9(CoreProgressManager.java:512) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:87) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: com.intellij.ssh.SshException: net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange at com.intellij.ssh.impl.sshj.SshjConnectionUtilKt.setUpSessionForSshJ(SshjConnectionUtil.kt:254) at com.intellij.ssh.impl.SshConnection.doSshjSshConnection(SshConnection.kt:211) at com.intellij.ssh.impl.SshConnection.access$doSshjSshConnection(SshConnection.kt:27) at com.intellij.ssh.impl.SshConnection$createSshSessionForSshj$1.invoke(SshConnection.kt:204) at com.intellij.ssh.impl.SshConnection$createSshSessionForSshj$1.invoke(SshConnection.kt:201) at com.intellij.ssh.Ssh.wrapBlockingSshCall(ssh.kt:394) at com.intellij.ssh.Ssh.wrapBlockingSshCall$default(ssh.kt:375) at com.intellij.ssh.impl.SshConnection.createSshSessionForSshj(SshConnection.kt:201) at com.intellij.ssh.impl.SshConnection.access$createSshSessionForSshj(SshConnection.kt:27) at com.intellij.ssh.impl.SshConnection$createSession$1.invoke(SshConnection.kt:189) at com.intellij.ssh.impl.SshConnection$createSession$1.invoke(SshConnection.kt:186) at com.intellij.ssh.Ssh.wrapBlockingSshCall(ssh.kt:394) at com.intellij.ssh.Ssh.wrapBlockingSshCall$default(ssh.kt:375) at com.intellij.ssh.impl.SshConnection.createSession(SshConnection.kt:186) at com.intellij.ssh.impl.SshConnection.access$createSession(SshConnection.kt:27) at com.intellij.ssh.impl.SshConnection$openChannel$1.invoke(SshConnection.kt:91) at com.intellij.ssh.impl.SshConnection$openChannel$1.invoke(SshConnection.kt:56) at com.intellij.ssh.Ssh.wrapBlockingSshCall(ssh.kt:394) at com.intellij.ssh.Ssh.wrapBlockingSshCall$default(ssh.kt:375) at com.intellij.ssh.impl.SshConnection.openChannel(SshConnection.kt:56) at com.intellij.ssh.SshConnectionService.exec(SshConnectionService.kt:215) at com.intellij.ssh.ExecBuilder.execute(ssh.kt:221) at com.intellij.ssh.ExecBuilder.execute$default(ssh.kt:215) at com.jetbrains.gateway.ssh.deploy.impl.SshCommandExecutor$executeCommand$process$1.invoke(SshCommandExecutor.kt:66) at com.jetbrains.gateway.ssh.deploy.impl.SshCommandExecutor$executeCommand$process$1.invoke(SshCommandExecutor.kt:60) at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:52) at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1) at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:44) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Caused by: net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange at net.schmizz.sshj.transport.TransportImpl.init(TransportImpl.java:165) at net.schmizz.sshj.SSHClient.onConnect(SSHClient.java:807) at net.schmizz.sshj.SocketClient.connect(SocketClient.java:108) at com.intellij.ssh.impl.sshj.SshjConnectionUtilKt.connectPlatform(SshjConnectionUtil.kt:863) at com.intellij.ssh.impl.sshj.SshjConnectionUtilKt.setUpSessionForSshJ$lambda$11(SshjConnectionUtil.kt:224) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange at net.schmizz.sshj.transport.TransportImpl.receiveServerIdent(TransportImpl.java:196) at net.schmizz.sshj.transport.TransportImpl.init(TransportImpl.java:158) ... 12 more OS: Mac OS X OS Version: 14.0 OS Architecture: aarch64 Java Version: 17.0.8 Java Runtime Version: 17.0.8+7-b1000.22 Java Vendor: JetBrains s.r.o. Available CPUs: 10 Max Memory: 2147483648 Free Memory: 33788552 Total Memory: 201326592 IDE Version: 2023.2.2 IDE: JetBrains Gateway 2023.2.2 Plugin Version: 0.5.0.1214 Plugin path: /Users/charlie/Library/Application Support/JetBrains/JetBrainsGateway2023.2/plugins/github-codespaces-gateway Plugin ID: com.github.codespaces.jetbrains.gateway