wssip icon indicating copy to clipboard operation
wssip copied to clipboard

WSSiP v1.0.9 Windows Binary was shut down sliently

Open kaito834 opened this issue 8 years ago • 3 comments

I launched WSSiP v1.0.9 on Windows 10, and tried to connect wss://echo.websocket.org at websocket.org. Then, WSSiP v1.0.9 was shut down silently. No error was not recorded at Windows Event log. Please let me know if you need more information to investigate this issue.

My environments:

  • Windows 10 (64 bit)
  • Google Chrome 59.0.3071.115

My procedures:

  1. Download wssip-1.0.9-win32.zip
  2. Unzip the wssip-1.0.9-win32.zip, and launch WSSiP.exe
  3. Run [Options] > [Start/Stop server] on WSSiP UI
  4. Open https://www.websocket.org/echo.html on Google Chrome
  5. Set localhost:8080 as proxy on Google Chrome
  6. Press [Connect] button at websocket.org on Google Chrome
  7. Then, WSSiP is shut down silently

kaito834 avatar Jul 31 '17 09:07 kaito834

Using WSSiP 1.1.0, this issue seems to be solved. But, WSSiP 1.1.0 could not proxy WebSocket connection between echo.websocket.org and client. An error associated with SSL/TLS happened.

My Environment

  • Windows 10 (64 bit)
  • Node.js v8.3.0
  • Mozilla Firefox 54.0.1

My Procedures

  1. Install Node.js v8.3.0; the latest version of Node.js
  2. git clone -b dev https://github.com/nccgroup/wssip
  3. cd wssip
  4. npm i [email protected]
  5. npm i node-forge
  6. npm i debug
  7. npm i --production
  8. set DEBUG=wssip:*
  9. npm start
  10. Run [Options] > [Start/Stop server] on WSSiP UI
  11. Open https://www.websocket.org/echo.html on Firefox
  12. Set 127.0.0.1:8888 as proxy on Firefox
  13. Press [Connect] button at websocket.org on Firefox.
  14. Confirm the error logs below at Windows command prompt and websocket.org.

Error logs

websocket.org

ERROR: undefined
DISCONNECTED

Windows command prompt

Mon, 14 Aug 2017 13:00:10 GMT wssip:mitmengine [ { shortName: 'OU', value: 'Domain Control Validated' },
  { shortName: 'CN', value: '*.websocket.org' } ]
Mon, 14 Aug 2017 13:00:10 GMT wssip:mitmengine CONNECT: [HTTPS] echo.websocket.org:443 <-> localhost:55249
Mon, 14 Aug 2017 13:00:10 GMT wssip:mitmengine ERROR: [proxy#clientError] [clientError] [read ECONNRESET]
Mon, 14 Aug 2017 13:00:10 GMT wssip:mitmengine REQUEST: [NODE:0] [GET] http://detectportal.firefox.com/success.txt [HTTP/1.1]
Mon, 14 Aug 2017 13:00:10 GMT wssip:mitmengine ERROR: [mitmengine#_setupHttpServer] [SUBPROXY_CLIENTERROR:t:echo.websocket.org:443] [101057795:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:c:\e\workspace\electron-win-x64\vendor\node\deps\openssl\openssl\ssl\s3_pkt.c:1493:SSL alert number 48

kaito834 avatar Aug 14 '17 13:08 kaito834

I had the same problem and compiled the v1.1 and now it is not closing it instantly. However, it still crashes in the middle of working with it which is very annoying especially as I lose my requests.

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 silly lifecycle [email protected]~prestart: no script for prestart, continuing
7 info lifecycle [email protected]~start: [email protected]
8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~start: PATH: [REDACTED]
10 verbose lifecycle [email protected]~start: CWD: c:\[REDACTED]\wssip
11 silly lifecycle [email protected]~start: Args: [ '/d /s /c', 'electron .' ]
12 silly lifecycle [email protected]~start: Returned: code: 1  signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: `electron .`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:920:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid [email protected]
16 verbose cwd c:\[REDACTED]\wssip
17 error Windows_NT 10.0.14393
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
19 error node v6.11.3
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error [email protected] start: `electron .`
22 error Exit status 1
23 error Failed at the [email protected] start script 'electron .'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the wssip package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     electron .
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs wssip
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls wssip
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

irsdl avatar Sep 18 '17 14:09 irsdl

Facing the similar problem.

arbazkiraak avatar Feb 02 '19 19:02 arbazkiraak