vscode-restclient: socket hang up (requests with cert auth) after upgrade vscode to v1.36.1
socket hang up (requests with cert auth) after upgrade vscode to v1.36.1
- REST Client Version: 0.21.3
- VSCode Version: Version: 1.36.1 (user setup) Commit: 2213894ea0415ee8c85c5eea0d0ff81ecc191529 Date: 2019-07-08T22:59:35.033Z Electron: 4.2.5 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Windows_NT x64 10.0.17763
No proxy
Steps to Reproduce:
-
IIS - Create virtual directory test under default website and configure settings 1.a - SSL Settings:
Require SSL Require Client Certificate -
Create index.html file and place it into test virtual directory
<html><body>OK</body></html>
- Create test.http file
GET https://localhost/Test/index.htm
- Edit settings.json (Setup client cert)
"rest-client.certificates": {
"localhost:443": {
"pfx": "_res/Cert.pfx",
"passphrase": "supersecretpassword"
}
},
- Send request GET https://localhost/Test/index.htm
You should get error:
Error: socket hang up
at createHangUpError (_http_client.js:322:15)
at TLSSocket.socketOnEnd (_http_client.js:425:23)
at TLSSocket.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1092:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
In vscode version 1.35.0 worded without errors
- REST Client Version: 0.21.3
- VSCode Version: Version: 1.35.0 (user setup) Commit: 553cfb2c2205db5f15f3ee8395bbd5cf066d357d Date: 2019-06-04T01:17:12.481Z Electron: 3.1.8 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Windows_NT x64 10.0.17763
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 21 (7 by maintainers)
this issue remains.