I cannot confirm the reason according to the current log info.
2021-12-07 09:38:41.073 +05:30 [ERR] An error occurred using the connection to database 'genieerp' on server 'tcp:cozydev.database.windows.net,1433'.
A complete project will make troubleshooting difficult, you can create a simple project according to your steps.
hi
Can you check https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues?q=+IPv4+address+
hi
Please share more code. eg DbContext and Your EF Core Module or share a simple project that can reproduce the problem,
Thanks
hi
auto switch to ".WithReadPreference(ReadPreference.Primary)" when encountering a multi-document transaction and the connection string was specified with "readPreference=secondaryPreferred". I noticed that adding a tenant and adding a tenant's admin user is a multi-document transaction in your tenant module.
Maybe you can consider to custom the IConnectionStringResolver
.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Data/Volo/Abp/Data/IConnectionStringResolver.cs
hi
ABP does not use Session related services by default but uses claims-based authentication and authorization.
https://github.com/abpframework/abp/issues/42
hi
When it cannot find the connection string, it tries to resolve an invalid database connection, which subsequently times out.
Can you share the error logs or some details? If this problem exists, we have to fix it.
hi
https://github.com/abpframework/abp/issues/10851#issuecomment-986346340