Dotnet EF Core builds the project and hangs

Viewed 292

enter image description here

I'm trying to scaffold a single table from an existing database. After 'Build Succeeded' the process hangs without showing any further progress. I can see the process running, holding at ~ 12% CPU. I'm running Debian 10.

The server is running on a VirtualBox VM. I confirmed the database is accessible using DBeaver. I'm not sure how to troubleshoot this, because I'm not getting any kind of error message.

I updated login auditing on the SQL server to collect both failed and successful logins. When I connect from something like DBeaver, I see successful logins for the database account. I don't see any logs recorded when I run the dotnet ef scaffold command.

I started Wireshark, and I do see traffic between my computer and the VM on port 1433. There is a TDS7 pre-login message, a bunch of acknowledgements, and then keep-alive requests and acknowledgements. So I know network connectivity is not an issue. It's like the dotnet ef command is just sitting and waiting for the database to respond.

I completed the same steps on a Mac laptop, and was able to scaffold the models without any issues.

0 Answers
Related