You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When establishing a connection via the Coder Registry module that uses the URI handler or Coder JetBrains Gateway Plugin wizard, users are presented with insufficient error logs when the connection fails. This makes it difficult to troubleshoot and identify the root cause. A few example errors are given below.
Current Issues:
The logs can be collected from the Collect Logs button and suggest repeated retries but do not guide users on the next steps.
java.lang.Throwable: Failed to retrieve IDEs (attempt 4; will retry in 49718 ms)at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)at com.coder.gateway.views.steps.CoderWorkspaceProjectIDEStepView$init$1$ides$2.invoke(CoderWorkspaceProjectIDEStepView.kt:242)at com.coder.gateway.views.steps.CoderWorkspaceProjectIDEStepView$init$1$ides$2.invoke(CoderWorkspaceProjectIDEStepView.kt:206)at com.coder.gateway.util.RetryKt.suspendingRetryWithExponentialBackOff(Retry.kt:62)at com.coder.gateway.util.RetryKt$suspendingRetryWithExponentialBackOff$1.invokeSuspend(Retry.kt)at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)at kotlinx.coroutines.internal.SoftLimitedDispatcher$Worker.run(SoftLimitedDispatcher.kt:125)at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Lack of detailed error messages to guide users.
Logs are not surfaced or accessible during the connection process.
Desired Solution
Implement streaming logs that provide visibility into the connection process and allow copying logs. Similar to how the VSCode remote does.
Improving the error messaging and log visibility will:
Reduce user frustration by making failures more transparent.
Speed up troubleshooting for both users and support teams.
Enhance reliability and trust in the platform’s connection processes.
matifali
changed the title
Improve Error Messaging and Logging During Connection Establishment
Improve Error Logging During Connection Establishment
Dec 16, 2024
Problem Description
When establishing a connection via the Coder Registry module that uses the URI handler or Coder JetBrains Gateway Plugin wizard, users are presented with insufficient error logs when the connection fails. This makes it difficult to troubleshoot and identify the root cause. A few example errors are given below.
Current Issues:
The logs can be collected from the Collect Logs button and suggest repeated retries but do not guide users on the next steps.
Desired Solution
Implement streaming logs that provide visibility into the connection process and allow copying logs. Similar to how the VSCode remote does.
Improving the error messaging and log visibility will:
Upstream Issue: https://youtrack.jetbrains.com/issue/GTW-10251/Unactionable-Error-messages
The text was updated successfully, but these errors were encountered: