Zerui18 / XenLive-Issues-Tracker

Plesase submit reports for bugs / AOEs here.
0 stars 0 forks source link

unable to connect (timing out) #5

Open joshuah345 opened 2 years ago

joshuah345 commented 2 years ago

unc0ver 14.8 here macOS Monterey

Every time i try to connect, it times out. tried running xenlived to see what's going on and all i get is

handle connection with fd: 6
client socket closed 6

verbose ssh says:

debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to 192.168.1.12 [192.168.1.12] port 2021.
debug1: Connection established.
debug1: identity file /Users/joshua/.ssh/id_rsa type 0
debug1: identity file /Users/joshua/.ssh/id_rsa-cert type -1
debug1: identity file /Users/joshua/.ssh/id_dsa type -1
debug1: identity file /Users/joshua/.ssh/id_dsa-cert type -1
debug1: identity file /Users/joshua/.ssh/id_ecdsa type -1
debug1: identity file /Users/joshua/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/joshua/.ssh/id_ecdsa_sk type -1
debug1: identity file /Users/joshua/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /Users/joshua/.ssh/id_ed25519 type -1
debug1: identity file /Users/joshua/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/joshua/.ssh/id_ed25519_sk type -1
debug1: identity file /Users/joshua/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /Users/joshua/.ssh/id_xmss type -1
debug1: identity file /Users/joshua/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.6
kex_exchange_identification: Connection closed by remote host
Connection closed by 192.168.1.12 port 2021

which is just telling me that it timed out again.

generated a new key on my device and enabled password auth only. didn't work copied keys over and only used key auth. still didn't work

Zerui18 commented 2 years ago

Hi, please ensure that you are using the latest version of both XenLive (iOS tweak) and XenLive-Edit (VSCode extension). The latest version does not make use of ssh or any other dependencies and should work properly simply by following the instructions provided on XenLive-Edit's product page.

joshuah345 commented 2 years ago

i'm aware that xenlive doesn't require ssh. i only ran ssh to get a better idea of what may be happening in the background.

i reinstalled xenlive in vsocde and on my device multiple times to no avail. i also tried using port 22 for xenlive (which failed as well), yet i can ssh fine.

xenlive-edit is 1.1.1 xenlive is 1.1.0

Zerui18 commented 2 years ago

To help me debug, please send me a copy of XenLive-Edit’s logs with the following steps:

  1. Restart vscode
  2. Enable XenLive-Edit & wait for a few seconds
  3. Under Output, copy the logs under both “XenLive Info” and “XenLive Error”.

Thank you.

Sent from my iPad

On 23 Feb 2022, at 6:16 PM, Superuser @.***> wrote:

 i'm aware that xenlive doesn't require ssh. i only ran ssh to get a better idea of what may be happening in the background.

i reinstalled xenlive in vsocde and on my device multiple times to no avail. i also tried using port 22 for xenlive (which failed as well), yet i can ssh fine.

xenlive-edit is 1.1.1 xenlive is 1.1.0

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

joshuah345 commented 2 years ago

XenLive Error:

Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021
Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021

XenLive Info:

Connection : Initiated
Connection : Creating socket
Client : Created filesystem watcher at file:///Users/joshua/Documents/iOSjb/widgets/Greetings
Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021
Connection : Auto-reconnecting.
Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021
Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021
Zerui18 commented 2 years ago

From your logs, it appears that ssh could connect from your pc to xenlived (the first set of logs where xenlived did open a file descriptor for the connection from ssh), but the vscode extension can’t - which is very strange considering they are in the same environment :/.

I can’t pinpoint the exact cause, but can I verify if your devices are on the same network and your IP address of the phone is correctly entered.

On 23 Feb 2022, at 6:38 PM, Superuser @.***> wrote:  XenLive Error:

Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021 Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021 XenLive Info:

Connection : Initiated Connection : Creating socket Client : Created filesystem watcher at file:///Users/joshua/Documents/iOSjb/widgets/Greetings Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021 Connection : Auto-reconnecting. Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021 Connection : Socket Error: connect ETIMEDOUT 192.168.1.12:2021 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.