NetrisTV / ws-scrcpy

Web client prototype for scrcpy.
MIT License
1.67k stars 328 forks source link

iOS close window error #127

Closed inluxc closed 3 years ago

inluxc commented 3 years ago

After i close iOS window and wait for 30sec, i gives the following error..

ERR! WebDriverAgent xcodebuild exited with code '65' and signal 'null'
info WD Proxy socket hang up
info DevCon Factory Releasing connections for 00008030-001550A4029A402E device on any port number
info DevCon Factory Found cached connections to release: ["00008030-001550A4029A402E:8004"]
info DevCon Factory Releasing the listener for '00008030-001550A4029A402E:8004'
info HTTP Waiting until the server is closed
info iProxy@00008030:8004 The connection has been closed
info HTTP Received server close event
[QvhackRunner][udid: 00008030001550A4029A402E] "exit" event. code null, signal: SIGTERM
[QvhackRunner][udid: 00008030001550A4029A402E] "close" event. code null, signal: SIGTERM

I cant connect anymore to the Iphone, o need to disconnect and connect it again.

drauggres commented 3 years ago

Hi. Technically there is no error in this text, just debug logs. This part is from WebDriverAgent:

ERR! WebDriverAgent xcodebuild exited with code '65' and signal 'null'
info WD Proxy socket hang up
info DevCon Factory Releasing connections for 00008030-001550A4029A402E device on any port number
info DevCon Factory Found cached connections to release: ["00008030-001550A4029A402E:8004"]
info DevCon Factory Releasing the listener for '00008030-001550A4029A402E:8004'
info HTTP Waiting until the server is closed
info iProxy@00008030:8004 The connection has been closed
info HTTP Received server close event

And this is from node-js server:

[QvhackRunner][udid: 00008030001550A4029A402E] "exit" event. code null, signal: SIGTERM
[QvhackRunner][udid: 00008030001550A4029A402E] "close" event. code null, signal: SIGTERM

The server waits 30 seconds after the last client disconnected and then terminates ws-qvh. Reconnection should work (at least it works for me).