coder / coder/coder-desktop-linux

Coder Connect fails to connect

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
7
フォーク
1
平均マージ
7時間 11分
マージ済み PR(30日)
1

説明

First of all, thanks for this, it's been a bit frustrating being a Linux using Coder admin for an org that is mostly on Macbooks and not able to talk to people about Coder Desktop when it looks like it might be very useful for some workflows in our company.

Probably our biggest Coder power user is also a Linux user so will be excited for this.

I also appreciate this is still early days so you're probably expecting a lot of bugs etc.

When I start Coder Connect it fails with:

```
Failed to start CoderVPN: Failed to start VPN. Service reported failure: The downloaded Coder CLI reports that vpn-daemon is not supported on this platform for this deployment build. -> Unable to read beyond the end of the stream.
```

System details:

```
❯ uname -a
Linux laptom 6.17.0-14-generic #14~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jan 15 15:52:10 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

❯ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.4 LTS"
PRETTY_NAME="Ubuntu 24.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.4 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
```

We also run Tailscale and that's needed to reach our Coder control plane in case that has any impact on things. IIRC Coder Desktop on Mac and Windows had issues with connecting to workspaces when you already had a VPN active a long time ago but I don't remember if that got fixed.

I'm running it via an installed deb that I built with:

```
VERSION=0.0.1-fb8e9fd7782106401ad2995f28a37f5e99d9f1bb ./Packaging.Linux/build-deb.sh amd64
```

and installed with:

```
sudo apt install ./coder-desktop_0.0.1-fb8e9fd7782106401ad2995f28a37f5e99d9f1bb_amd64.deb
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Tailscale がアクティブな状態で、Packaging.Linux/build-deb.sh を使って amd64 パッケージをビルドし、Ubuntu 24.04 上で Coder Connect を起動して、失敗を再現します。ダウンロードされた Coder CLI と vpn-daemon の起動パスを追跡します。完了の条件は、インストールされたデスクトップが CoderVPN を起動し、報告されたプラットフォームサポートエラーなしで接続することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
linux, ubuntu
領域
desktop, networking, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。