N
N
Nikita Kudrin2021-05-23 21:50:42
GitHub
Nikita Kudrin, 2021-05-23 21:50:42

Not available https://codeload.github.com/. Why?

I installed the libraries for the bot, and ran into a problem. codeload.github.com is not available.
I tried to go there through the browser, everything is the same (not available). Tried from the mobile Internet (from the phone), everything works fine. What to do? (Does not work in other browsers either)

log
$ npm i
npm ERR! code ECONNREFUSED
npm ERR! syscall connect
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to https://codeload.github.com/discordjs/discord.js/tar.gz/b376f31af9881b9cd3f82ac4a42a468947cce482 failed, reason: connect ECONNREFUSED 127.0.0.1:443
npm ERR!     at ClientRequest.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:97:14)
npm ERR!     at ClientRequest.emit (node:events:365:28)
npm ERR!     at TLSSocket.socketErrorListener (node:_http_client:447:9)
npm ERR!     at TLSSocket.emit (node:events:377:35)
npm ERR!     at emitErrorNT (node:internal/streams/destroy:193:8)
npm ERR!     at emitErrorCloseNT (node:internal/streams/destroy:158:3)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21)
npm ERR!  FetchError: request to https://codeload.github.com/discordjs/discord.js/tar.gz/b376f31af9881b9cd3f82ac4a42a468947cce482 failed, reason: connect ECONNREFUSED 127.0.0.1:443
npm ERR!     at ClientRequest.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:97:14)
npm ERR!     at ClientRequest.emit (node:events:365:28)
npm ERR!     at TLSSocket.socketErrorListener (node:_http_client:447:9)
npm ERR!     at TLSSocket.emit (node:events:377:35)
npm ERR!     at emitErrorNT (node:internal/streams/destroy:193:8)
npm ERR!     at emitErrorCloseNT (node:internal/streams/destroy:158:3)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect',
npm ERR!   address: '127.0.0.1',
npm ERR!   port: 443,
npm ERR!   type: 'system'
npm ERR! }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'

I contacted the provider, they said that everything is in order on their part. Tried resetting network and internet settings, didn't help. Everything works with VPN.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Aksenov, 2021-05-23
@HepkaPlay

Try clearing your browser cache and cookies.
If you are using a proxy: read the doc ,
if not: read this

S
Simmzzz, 2021-11-02
@Simmzzz

Cleaning the hosts file and rebooting helped me.
It is usually located in C:\Windows\System32\drivers\etc\hosts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question