Server crashes on node.js > v14
0x023 opened this issue · 2 comments
Using iOS with frida 14.08 , selecting an app in the web application triggers a proxy error:
Running Ubuntu 18.04 with nodejs 14
Proxy error: Could not proxy request /socket.io/?EIO=3&transport=websocket from 192.168.1.49:8081 to http://localhost:31337/.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
Proxy error: Could not proxy request /socket.io/?EIO=3&transport=websocket from 192.168.1.49:8081 to http://localhost:31337/.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
Proxy error: Could not proxy request /api/remote/add from 192.168.1.49:8081 to http://localhost:31337/.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
Please advise.
This means that the server has crashed. I've noticed the problem and it seemed to be related to WebSocket.
Still trying to figure it out.
A temporary workaround is to restart the server. You can either:
- Ctrl - C to close all tmux panels and run
npm start
again - Add a comment or any code with no side effects to the
server/app.ts
, save it to trigger the autoreload, andnodemon
wil reload the server side
The second workaround is faster but you have to make sure that your changes won't break the server
I've pushed a workaround for this to avoid accessing the icons of the devices.