Tailcat ls and adb tunneling on Android (possibly specific to Firestick)

オープン
#136 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, go

調査の方向性

Reproduce the reported commands with tailcat on the Firestick: tailcat ls TC_ID, tailcat serve 5555, tailcat forward TC_ID 15555:5555, and adb connect 127.0.0.1:15555. Compare the hanging ls and refused ADB connection with a direct LAN ADB connection. Done means the relevant tunneling behavior is understood and corrected, with both commands responding as expected.

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

説明

@bradfitz Thank you for the latest patch you made regarding the Android NS error message and for bumping the go module (I don't really understand what this is but I saw the commit!). I was able to successfully compile and start tailcat on the Firestick via adb shell and it generated a tailcat ID.

I tried a ping using tailcat ping tc_id (where tc_id is the actual id) and pong was displayed (great!!)
I then proceeded to try to ls using the command tailcat ls tc_id but it just hung (waited indefnitely but no response) - this is not a critical need for me but just thought you might have an idea on this.

What I really wanted to try to get going was to be able to serve adb (port 5555) using a forward but I could not get this to work, it just said adb refused to connect when I tried to adb connect 127.0.0.1:15555

The following were my steps, if you have any ideas (I use tailscale at the moment which creates a VPN to be able to access port 5555 but my hope was to use tailcat to avoid the limitations of controlling tailscale from another app).

Commands I have tried:
ON FS: tailcat serve 5555 (I then receive the TC_ID)
ON Windows machine: tailcat forward TC_ID 15555:5555
ON Windows machine: adb connect 127.0.0.1:15555
Response: unable to connect

I can confirm I can make a direct ADB connection to the FS using the internal LAN IP and Port 5555 without the adb popup appearing so I know adb is authorized correctly

Am I perhaps missing something in terms of the possibility of tunneling to get to ADB?

Sorry for the long message and thank you so far for the legendary fixes thus far!

主要言語
Go
スター
8.8k
フォーク
404
平均マージ
3時間 48分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tailscale/tailcat のほかの issue

tailscale/tailcat の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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