Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JetBrains Active Connections counter stuck at 0 despite active usage #18350

Closed
Assignees
f0ssel
Labels
must-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.s2Broken use cases or features (with a workaround). Only humans may set this.
@blink-so

Description

@blink-so

Problem Description

The JetBrains Active Connections counter in the Coder UI is perpetually stuck at0, even when users are actively connected via JetBrains Toolbox or Gateway. This issue has been observed across multiple customers for at least six months.

Current Behavior

  • The connection counter remains at0 despite confirmed active usage
  • The tracking mechanism relies on a string match (idea.vendor.name=JetBrains) in the forwarded process name, which appears to no longer be used by newer JetBrains processes
  • In some workspaces, even with JetBrains running, no "discovered forwarded JetBrains process" log entry appears

Investigation Results

Based on process analysis in a workspace with active JetBrains usage:

# Active JetBrains processes found:$ jps -lv3607 com.jetbrains.toolbox.MainKt -ea -Dfile.encoding=UTF8 ...11004 com.intellij.idea.Main abort vfprintf -XX:ErrorFile=/home/coder/java_error_in_goland_%p.log ...

The processes are running as:

  • JetBrains Toolbox CLI:com.jetbrains.toolbox.MainKt
  • GoLand IDE:com.intellij.idea.Main

However, these processes may not contain the expectedidea.vendor.name=JetBrains property that Coder's detection logic relies on.

Potential Solutions

  1. Update detection logic to recognize modern JetBrains process patterns:

    • Look forcom.jetbrains.toolbox.MainKt processes
    • Look forcom.intellij.idea.Main processes
    • Check for JetBrains-specific JVM arguments or classpath patterns
  2. Leverage existing experimental flag: The--usage-type=JetBrains flag seems to work ondev.coder.com, suggesting this could be formalized as the default detection method

  3. Implement fallback detection strategies when legacy string matching fails

Expected Behavior

Active JetBrains sessions (via Gateway/Toolbox) should be accurately reflected in the Coder UI's Active Connections metric.

Environment

  • Coder Version: [Current production version]
  • JetBrains Toolbox: 2.6.3.43718
  • IDE: GoLand (viacom.intellij.idea.Main)
  • Platform: Linux

Related Issues

Metadata

Metadata

Assignees

Labels

must-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.s2Broken use cases or features (with a workaround). Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp