alexanderGugel / alexanderGugel/wsd

[WDS] Disconnected! net::ERR_CONNECTION_REFUSED

オープン
#14 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
423
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

説明

# Bug report

**What is the current behavior?**
Hi, it took a few months to debug the adb in android gives me problems. I connect the device, accept the debugging authorization and every 20 minutes it disconnects alone, thus popping up again to accept authorization. I debug the apps with livereload, I use the ionic 4 framework. Does anyone know why that happens? Some time ago this was working correctly but I don't know if it's an adb problem or not.

**If the current behavior is a bug, please provide the steps to reproduce.**

I use the Ionic Framework with version 4, but this happens to me with any version,
**1.** I connect my device to the PC.

**2.** I accept the authorization of debugging.

**3.** I check with the adb devices command that my device recognizes.

**4.** You recognize it.

**5.** I launch my application with the command:
`ionic cordova run android --livereload --consolelogs.`

**6.** I open the chrome bug to debug my app and see the logs.

**7.** When 20 minutes have passed, the authorization popup reappears on the device and I get the following error in the DevTools console

Error por consola:
```
[WDS] Disconnected!
close @ vendor.js:137905
```

```
Failed to load resource: net::ERR_CONNECTION_REFUSED
sockjs-node/info?t=1590993683214
```

**What is the expected behavior?**

Just months ago or last year this didn't happen. I did not give this error every 20 minutes.

**Other relevant information:**
webpack version: 3.12.0
Node.js version: v10.16.3 (/usr/local/bin/node)
Operating System: macOS Catalina Versión 10.15.4
Additional tools:
```
Ionic:

Ionic CLI : 5.4.9 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 5.1.1
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 13 other plugins)

Utility:

cordova-res : 0.11.0 (update available: 0.14.0)
native-run : 0.2.9 (update available: 1.0.0)

System:

Android SDK Tools : 26.1.1 (/Users/achacon/Library/Android/sdk)
ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v10.16.3 (/usr/local/bin/node)
npm : 6.13.6
OS : macOS Catalina
Xcode : Xcode 11.4.1 Build version 11E503a

```

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

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

評価

この issue はまだ評価されていません。

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

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