trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.03k stars 2.31k forks source link

getting this error any solutions? #6166

Open Kushvanshi-Shubham opened 10 months ago

Kushvanshi-Shubham commented 10 months ago

PS C:\Users\shubh\Blockchain\eventtrigger> truffle unbox react

Starting unbox...

√ Preparing to download box × Downloading Unbox failed! Error: Error connecting to https://raw.githubusercontent.com/truffle-box/react-box/master/truffle-box.json. Please check your internet connection and try again.

connect ETIMEDOUT 2405:200:1607:2820:41::36:443 at Function.AxiosError.from (C:\Users\shubh\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\axios\dist\node\axios.cjs:789:1) at RedirectableRequest.handleRequestError (C:\Users\shubh\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\axios\dist\node\axios.cjs:2744:1) at RedirectableRequest.emit (node:events:514:28) at ClientRequest.eventHandlers. (C:\Users\shubh\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\follow-redirects\index.js:14:1) at ClientRequest.emit (node:events:514:28) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:514:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at processTicksAndRejections (node:internal/process/task_queues:82:21) Truffle v5.11.2 (core: 5.11.2) Node v18.17.0

gnidan commented 10 months ago

Hi, thanks for raising this.

Do you get this same result if you try truffle unbox with other boxes (e.g. truffle unbox metacoin)? I would guess so, but would like to confirm.

Do you have any interesting network conditions? Corporate proxy or great firewall perhaps? Those might get in the way in ways we can't help, unfortunately.