Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TcpIP sometimes throws an empty error #527

Open
YishaiYosifov opened this issue May 24, 2024 · 0 comments
Open

TcpIP sometimes throws an empty error #527

YishaiYosifov opened this issue May 24, 2024 · 0 comments

Comments

@YishaiYosifov
Copy link

Calling device.tcpip() will sometimes throw an empty error:

Error
    at E:\Projects\adb\node_modules\@devicefarmer\adbkit\src\adb\command\host-transport\tcpip.ts:17:21
    at tryCatcher (E:\Projects\adb\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (E:\Projects\adb\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (E:\Projects\adb\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (E:\Projects\adb\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (E:\Projects\adb\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (E:\Projects\adb\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (E:\Projects\adb\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (E:\Projects\adb\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (E:\Projects\adb\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (node:internal/timers:478:21)

This is caused by adb tcpip sometimes, instead of outputting restarting in TCP mode port: xxxx, not outputting anything, yet the device is still restarted in tcp mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant