Open Closed

The MVC Public Website 502 Bad Gateway #9403


User avatar
0
arif created

The website is not loading (502 Bad Gateway): https://pms.ntouch.ai/

Error Log: [14:03:43 INF] Initialized all ABP modules. [14:03:44 INF] Initializing UI Database [14:03:45 INF] Saving healthchecks configuration to database [14:03:46 WRN] Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://+:80'. [14:03:46 INF] Now listening on: http://[::]:80 [14:03:46 INF] Start processing HTTP request GET http://pms-dev-web/health-status [14:03:46 INF] Sending HTTP request GET http://pms-dev-web/health-status [14:03:46 INF] Application started. Press Ctrl+C to shut down. [14:03:46 INF] Hosting environment: Production [14:03:46 INF] Content root path: /app [14:03:46 INF] Request starting HTTP/1.1 GET http://pms-dev-web/health-status - null null [14:03:47 WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration. [14:03:47 INF] Start processing HTTP request GET https://dev-api.ntouch.ai/api/abp/application-configuration?* [14:03:47 INF] Sending HTTP request GET https://dev-api.ntouch.ai/api/abp/application-configuration?* [14:03:47 INF] Received HTTP response headers after 948.8453ms - 200 [14:03:47 INF] End processing HTTP request after 971.818ms - 200

Docker Configuration: dev-web: image: xxx/pms-dev-web:latest container_name: dev-web hostname: dev-web environment: - ASPNETCORE_URLS=http://+:80 - App__SelfUrl=https://xxx.example.com - App__AngularUrl=https://xxx.example.com - App__CorsOrigins=https://xxx.example.com,https://xxx-api.example.com - App__HealthCheckUrl=http://xxx-web/health-status - AuthServer__RequireHttpsMetadata=false - AuthServer__IsOnK8s=true
- AuthServer__Authority=https://xxx-authserver.example.com - AuthServer__ClientId=PMS_Web_Public - AuthServer__ClientSecret=1q2w3e* - AuthServer__MetaAddress=https://xxx-authserver.example.com - RemoteServices__Default__BaseUrl=https://xxx-api.example.com - RemoteServices__AbpAccountPublic__BaseUrl=https://xxx-example.com - Redis__Configuration=pms-dev-redis:6379 - ConnectionStrings__Default=User ID=postgres;Password=xxx;Host=postgres;Port=5432;Database=xxxx;Pooling=false; ports: - "44365:80" depends_on: postgres: condition: service_healthy pms-dev-redis: condition: service_healthy restart: on-failure networks: - pms-dev-network


1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    You link in the https://pms.ntouch.ai/ returns 500 right now not 502. Probably you fixed something on your side.

    Right now the only thing you can do is checking docker container logs and determine the problem that occurs in the application.

    Here is the possible problems:

    • Missing libs folder, make sure abp install-libs abp CLI command is executed in the publish pipeline.
    • Missing AuthServer.pfx file. This file is auto-generated for your solution once while you creating it and it's ignored from the git. So you should mount that file to your container or include it in the image.

    For the further actions, we'll need to see your application server logs

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 13, 2025, 11:37