- ABP Framework version: v5.3.2
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): Tiered
- Exception message and stack trace:
- Steps to reproduce the issue:"
86 Answer(s)
-
0
hi
Any error?
-
0
hi
Any error?
It carries on trying the load the login page. I'll try to grab the error message and paste it here. I'll do that ASAP.
-
0
ok, You can also check the
Logs\Logs.txt
-
0
HTTP Error 500.30 - ASP.NET Core app failed to start
Common solutions to this issue: The app failed to start The app started but then stopped The app started but threw an exception during startup
Troubleshooting steps: Check the system event log for error messages Enable logging the application process' stdout messages Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028265
-
0
Good morning maliming!
Over and over again, I am getting the same error message.
Best Regards,
Justin
-
0
I just want the login page of the AuthServer app to load and be able to login.
-
0
hi
Please check the
Application Event Logs
https://www.devtopics.com/how-to-check-the-application-event-log-for-errors/ https://docs.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-7.0#50030-in-process-startup-failure
-
0
I'll follow the steps in those blog but I also have the logs file for the AuthServer app. Can I send it to you please?
-
0
hi liming.ma@volosoft.com
-
0
hi liming.ma@volosoft.com
I have sent the log file to that email address.
-
0
hi
It seems your app can't connect the Redis and DataBase. Please check your configution.
---> StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s). UnableToConnect on localhost:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 10s ago, v: 2.2.4.27433
[ERR] An error occurred using the connection to database 'Firebird_Administration' on server 'localhost,1434'. 2022-07-08 10:25:56.637 +10:00 [ERR] An exception occurred while iterating over the results of a query for context type 'Firebird.AdministrationService.EntityFrameworkCore.AdministrationServiceDbContext'. Microsoft.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=3834; handshake=11250; ---> System.ComponentModel.Win32Exception (258): The wait operation timed out.
-
0
hi
It seems your app can't connect the Redis and DataBase. Please check your configution.
---> StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s). UnableToConnect on localhost:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 10s ago, v: 2.2.4.27433
[ERR] An error occurred using the connection to database 'Firebird_Administration' on server 'localhost,1434'. 2022-07-08 10:25:56.637 +10:00 [ERR] An exception occurred while iterating over the results of a query for context type 'Firebird.AdministrationService.EntityFrameworkCore.AdministrationServiceDbContext'. Microsoft.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=3834; handshake=11250;
---> System.ComponentModel.Win32Exception (258): The wait operation timed out.Could you please help me with that? Connecting to the database when I created a startup application using the free online template was a problem that I have faced already a few weeks ago.
You can take the time you need. But your help with troubleshooting the connection to Redis and Database is definitely needed,
-
0
hi
Did you migrate the database? Run
DbMigrator
to migrate and seed the database.Is the Redis run correct on
localhost:6379
? -
0
hi
Did you migrate the database? Run
DbMigrator
to migrate and seed the database.Is the Redis run correct on
localhost:6379
?Did you migrate the database? Run
DbMigrator
to migrate and seed the database. <-- That wasn't the instruction I was given on this site:https://docs.abp.io/en/commercial/latest/startup-templates/microservice/get-started
The instructions are:
- Run the infrastructure
- Run the AuthServer application, not the DBMigrator application
When I run the DBMigrator application, I get build errors.
Is the Redis run correct on
localhost:6379
<-- Nothing loads when I try to access this URL. -
0
hi
The etc/docker folder under the main solution contains a
up.ps1
file. Execute it to run the necessary infrastructure services:What's the output of the
up.ps1
command?Can you check the docker?
docker ps
-
0
hi
The etc/docker folder under the main solution contains a
up.ps1
file. Execute it to run the necessary infrastructure services:What's the output of the
up.ps1
command?Can you check the docker?
docker ps
What's the output of the up.ps1 command? <-- The output of the up.ps1 command was pretty lengthy and took several minutes to execute. I didn't save the output of that command.
Can you check the docker? docker ps <-- Do you want me to run the command at the command line?
-
0
-
0
Did you install the Docker Windows?
Run the
docker ps
after theup.ps1
Did you install the Docker Windows? <-- Yes I have. Here is the output of "docker ps":
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 66a7ed7ba2c7 postgres "docker-entrypoint.s…" 3 days ago Up 3 days 0.0.0.0:5432->5432/tcp docker-postgresql-1
-
0
It seems the
up.ps1
is not working.Try to run these command.
> cd etc\docker > docker network create your-project-name-network > docker-compose -f docker-compose.infrastructure.yml -f docker-compose.infrastructure.override.yml up -d > logs.txt
-
0
It seems the
up.ps1
is not working.Try to run these command.
> cd etc\docker > docker network create your-project-name-network > docker-compose -f docker-compose.infrastructure.yml -f docker-compose.infrastructure.override.yml up -d > logs.txt
That's the response I got after running the second docker command:
time="2022-07-11T19:33:31+10:00" level=warning msg="Found orphan containers ([docker-postgresql-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up."
-
0
[+] Running 7/7
- Container sql-server-db Running 0.0s
- Container elasticsearch Running 0.0s
- Container kibana Running 0.0s
- Container grafana Running 0.0s
- Container prometheus Running 0.0s
- Container rabbitmq Running 0.0s
- Container redis Running 0.0s
The list above indicates that the docker services are running,
-
0
Good morning Maliming!
Could you advise on next steps please?
Best Regards,
Justin
-
0
hi
ZOOM doesn't work well for remote checking. Can you try connecting to the databases in docker using the database and Redis client?
-
0
redis: ports: - "6379:6379" sql-server-db: ports: - "1434:1433" environment: SA_PASSWORD: "myPassw0rd"
-
0
If possible, you can recreate a new microservice project or try another computer to troubleshoot the environment.