edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

Error 10061

Open mmonacci opened this issue 2 years ago • 2 comments

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:

  1. Your internet connectivity is slow
  2. 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)

mmonacci avatar Jun 03 '23 21:06 mmonacci

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.

tailhook avatar Jun 05 '23 11:06 tailhook

Thank you. I had this error after rebooting the system. The command edgedb instance start -I mytestname helped

creatormir avatar Jan 31 '24 16:01 creatormir