socket hang up (requests with cert auth) after upgrade vscode to v1.36.1
See original GitHub issuesocket 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
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (7 by maintainers)
Top Results From Across the Web
why socket hang up error comes while trying to retrieve source ...
Downgrade to the VS Code February 2022 release. Deploy via Azure CLI. Once again, we understand the inconvenience with this issue.
Read more >Node - Error: socket hang up - MSDN - Microsoft
This is related to an issue in node.js that was fixed in v 5.4.0 - nodejs/node#4482. Please upgrade your version of node.js and...
Read more >newrelic/NEWS.md - UNPKG
Errors returned from 'axios' requests contain a reference to the request ... 144, * Updated tap to clear up npm audit issues around...
Read more >Read more - GitHub
Updated configuration system to automatically create an environment variable ... `grpc.record_errors` when deciding to log errors on gRPC client requests.
Read more >Package List — Spack 0.18.0 documentation
It is automatically generated based on the packages in this Spack version. ... A package universe and a request to install, remove, or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
this issue remains.
@anderson9149 could you please share me with the request that I can test?