Error 10061
Hello, I am new with EdgeDb Last week I was able to complete QuickStart and progress with EasyDb Book. But, today I started having a problem. At first I thought it was a connection. Disabled Firewall, uninstalled and reinstalled WSL. But everything stays the same. Now I can not move forward from the initialization of the project.
PowerShell 7.3.4
PS C:\Users\marco> CD
PS C:> cd C:\Dev\edge\qs
PS C:\Dev\edge\qs> edgedb project init
No edgedb.toml found in \\?\C:\Dev\edge\qs or above
Do you want to initialize a new project? [Y/n]
Y Specify the name of EdgeDB instance to use with this project [default: qs]: qs Checking EdgeDB versions... Specify the version of EdgeDB to use with this project [default: 2.16]: 2.16 ┌─────────────────────┬────────────────────────────────┐ │ Project directory │ \?\C:\Dev\edge\qs │ │ Project config │ \?\C:\Dev\edge\qs\edgedb.toml │ │ Schema dir (empty) │ \?\C:\Dev\edge\qs\dbschema │ │ Installation method │ WSL │ │ Version │ 2.16+a95c8e1 │ │ Instance name │ qs │ └─────────────────────┴────────────────────────────────┘ Fetching https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-gnu.json takes too long. Common reasons are:
- Your internet connectivity is slow
- Firewall blocks internet access to this resource Version 2.16+a95c8e1 is already downloaded Initializing EdgeDB instance... Applying migrations... edgedb error: ClientConnectionFailedError: cannot establish connection for 30s: No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión. (os error 10061)
If the error is when migrations are being executed it means that database is initialized. You should be able to apply migration separately via edgedb migrate (or perhaps edgedb instance start and then migrate).
But take a look at edgedb instance list first. WSL VM might be too small to run multiple instances by default, so you man want to shutdown unused ones if there are any.
Other than that, it looks like the WSL is just slow but working. There is very little we can do to make it faster. Maybe there is an antivirus that makes things slower or something.
Thank you. I had this error after rebooting the system. The command edgedb instance start -I mytestname helped