Socket Hangup Error when refreshing the browser
See original GitHub issueEnvironment check:
npm i macaca-cli -g && macaca doctor
-
app inspector version / 版本号: It cames empty when I write app-inspector -v
-
os version / 系统:
-
device information / 设备版本: deviceSerialNumber: Serial Number identifier: UDID deviceClass: iPhone deviceName: A Phone deviceIdentifier: UDID productVersion: 9.3.4 buildVersion: 13G35 deviceSoftwareVersion: 9.3.4 (13G35) deviceArchitecture: arm64 deviceTotalCapacity: 12805275648 deviceAvailableCapacity: 10458669056 deviceIsTransient: NO ignored: NO deviceIsBusy: NO deviceIsActivated: YES deviceActivationState: Activated isPasscodeLocked: NO deviceType: <DVTDeviceType:0x7f8665d91a60 Xcode.DeviceType.iPhone>
-
terminal log / 终端输出信息:
>> iOS device started: 8cf88820750279d6cd49b48d5a079a9315598778
>> inspector start at: http://192.168.10.138:5678
<-- GET /
>> ios.js:67:10 [master] pid:8410 Dump iOS XML success, save to /usr/local/lib/node_modules/app-inspector/.temp/ios.json
--> GET / 200
<-- GET /
>> ios.js:67:10 [master] pid:8410 Dump iOS XML success, save to /usr/local/lib/node_modules/app-inspector/.temp/ios.json
--> GET / 200
<-- GET /
>> helper.js:94:16 [master] pid:8410 xctest client proxy error with: Error: socket hang up
Error: socket hang up
at createHangUpError (_http_client.js:302:15)
at Socket.socketOnEnd (_http_client.js:394:23)
at emitNone (events.js:91:20)
at Socket.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
I want to open an application then use inspector. When I ran that command app-inspector -u udid, it gets only main screen page. When I open an app, then refresh the browser, I saw socket hang up error. When browser’s screen became Internal server error message only.
Any help, thanks !
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top GitHub Comments
Okay, it’s returned normal. Just an internet issue with my ISP. Can be closed, thank you.
Correct me, if I’m wrong but i think your installation is not properly done. Because, favicon is macacajs’s file and if you get 404 on it; my opinion is run macaca doctor and fix any problem if exist. Than try again, if you get still errors, i think re-install can be best option.
Good luck