Installation fails if behind proxy
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- node.js
- Domain
- build-system, networking
Research direction
Start by tracing the npm install path that downloads the Qode archive from the GitHub releases URL and inspect how node-fetch handles proxy connections. Reproduce the failure on a proxied Linux environment, then verify that installation can retrieve the archive successfully through the proxy.
Written by the indexing model from the issue text.
Description
Describe the bug
Installation couldn't reach required remote file if connection is proxied
To Reproduce
Steps to reproduce the behavior:
- run
npm installstep of the installation process on a PC that connects to Internet via proxy
Expected behavior
Success
Screenshots
Error while setting up Qode: FetchError: request to https://github.com/nodegui/qode/releases/download/v2.1.1/qode-linux-x64-v2.1.1.tar.gz failed, reason: connect ECONNREFUSED 140.82.121.3:443
at ClientRequest.<anonymous> (/apps/nodegui-starter/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (events.js:400:28)
at TLSSocket.socketErrorListener (_http_client.js:475:9)
at TLSSocket.emit (events.js:400:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
type: 'system',
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED'
}
Desktop (please complete the following information):
- OS: [e.g. Mac, Linux, Win] Linux
- latest
- OS Version Debian 9
Additional context
Add any other context about the problem here.
node-fetch can not connect thru proxy. There are tons of feature requests but no reaction
- Dominant language
- C++
- Stars
- 9.2k
- Forks
- 315
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nodegui/nodegui
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Support QTransform Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·