6174 / 6174/comflowyspace

Miniconda download fails

Open
#170 3 comments 0 reactions 1 assignee Claimed by @6174 View on GitHub
bug
Dominant language
TypeScript
Stars
2.3k
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Firstly, I would like to express my gratitude for the release of the Windows version☺️

I tried to install it immediately, but I encountered an error at the initial stage and couldn't proceed.

```
Install Conda (1 / 5)

Install conda error: Error downloading from https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe: request to https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe failed, reason: connect ETIMEDOUT 2606:4700::6810:8203:443, FetchError: request to https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe failed, reason: connect ETIMEDOUT 2606:4700::6810:8203:443 at ClientRequest.

(C:\Users\---\AppData\Local\Programs\comflowy\resources\app.asar\layers\main\dist\index.js:95296:14) at ClientRequest.emit (node:events:517:28) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:517:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
```

The internet condition is relatively stable, and I tried turning off the firewall but it had no effect.

Contributor guide

No contributing guide indexed for this repository

Research direction

The error occurs in the conda installation step, likely in the download logic within the main layer's index.js file. Examine the network request handling and timeout settings for the Miniconda download URL. Check if there are fallback mirrors or retry mechanisms, and verify the download function's error handling. Testing involves simulating a network timeout to see if the error is caught and reported appropriately.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, node.js, typescript
Domain
backend, cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.