2025-06-11 13:07:21.424 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-11 13:07:21.629 +02:00 [INF] Application started. Press Ctrl+C to shut down. 2025-06-11 13:07:21.629 +02:00 [INF] Hosting environment: Production 2025-06-11 13:07:21.629 +02:00 [INF] Content root path: C:\inetpub\MTG_SetupWizardWebsite 2025-06-11 13:07:21.952 +02:00 [INF] Completed to save external localizations. 2025-06-11 13:07:22.225 +02:00 [INF] CORS policy execution successful. 2025-06-11 13:07:22.260 +02:00 [INF] Request starting HTTP/2 GET https://localhost:7511/.well-known/openid-configuration - null null 2025-06-11 13:07:22.260 +02:00 [INF] Request finished HTTP/2 OPTIONS https://localhost:7511/.well-known/openid-configuration - 204 null null 872.2819ms 2025-06-11 13:07:22.267 +02:00 [INF] CORS policy execution successful. 2025-06-11 13:07:22.331 +02:00 [INF] The request URI matched a server endpoint: "Configuration". 2025-06-11 13:07:22.338 +02:00 [INF] The configuration request was successfully extracted: {}. 2025-06-11 13:07:22.340 +02:00 [INF] The configuration request was successfully validated. 2025-06-11 13:07:22.560 +02:00 [INF] The response was successfully returned as a JSON document: { "issuer": "https://localhost:7511/", "authorization_endpoint": "https://localhost:7511/connect/authorize", "token_endpoint": "https://localhost:7511/connect/token", "introspection_endpoint": "https://localhost:7511/connect/introspect", "end_session_endpoint": "https://localhost:7511/connect/endsession", "revocation_endpoint": "https://localhost:7511/connect/revocat", "userinfo_endpoint": "https://localhost:7511/connect/userinfo", "device_authorization_endpoint": "https://localhost:7511/device", "jwks_uri": "https://localhost:7511/.well-known/jwks", "grant_types_supported": [ "authorization_code", "implicit", "password", "client_credentials", "refresh_token", "urn:ietf:params:oauth:grant-type:device_code", "LinkLogin", "Impersonation" ], "response_types_supported": [ "code", "code id_token", "code id_token token", "code token", "id_token", "id_token token", "token", "none" ], "response_modes_supported": [ "query", "form_post", "fragment" ], "scopes_supported": [ "openid", "offline_access", "email", "profile", "phone", "roles", "address", "MTGCorp" ], "claims_supported": [ "aud", "exp", "iat", "iss", "sub" ], "id_token_signing_alg_values_supported": [ "RS256" ], "code_challenge_methods_supported": [ "plain", "S256" ], "subject_types_supported": [ "public" ], "prompt_values_supported": [ "consent", "login", "none", "select_account" ], "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], "introspection_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], "revocation_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], "device_authorization_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], "claims_parameter_supported": false, "request_parameter_supported": false, "request_uri_parameter_supported": false, "tls_client_certificate_bound_access_tokens": false, "authorization_response_iss_parameter_supported": true }. 2025-06-11 13:07:22.569 +02:00 [INF] Request finished HTTP/2 GET https://localhost:7511/.well-known/openid-configuration - 200 2427 application/json;charset=UTF-8 309.1748ms 2025-06-11 13:07:22.572 +02:00 [INF] Request starting HTTP/2 OPTIONS https://localhost:7511/.well-known/jwks - null null 2025-06-11 13:07:22.573 +02:00 [INF] CORS policy execution successful. 2025-06-11 13:07:22.573 +02:00 [INF] Request finished HTTP/2 OPTIONS https://localhost:7511/.well-known/jwks - 204 null null 1.1519ms 2025-06-11 13:07:22.596 +02:00 [INF] Request starting HTTP/2 GET https://localhost:7511/.well-known/jwks - null null 2025-06-11 13:07:22.597 +02:00 [INF] CORS policy execution successful. 2025-06-11 13:07:22.598 +02:00 [INF] The request URI matched a server endpoint: "JsonWebKeySet". 2025-06-11 13:07:22.600 +02:00 [INF] The JSON Web Key Set request was successfully extracted: {}. 2025-06-11 13:07:22.602 +02:00 [INF] The JSON Web Key Set request was successfully validated.
2025-06-11 13:07:21.424 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-11 13:07:21.629 +02:00 [INF] Application started. Press Ctrl+C to shut down. 2025-06-11 13:07:21.629 +02:00 [INF] Hosting environment: Production 2025-06-11 13:07:21.629 +02:00 [INF] Content root path: C:\inetpub\MTG_SetupWizardWebsite 2025-06-11 13:07:21.952 +02:00 [INF] Completed to save external localizations. 2025-06-11 13:07:22.225 +02:00 [INF] CORS policy execution successful. 2025-06-11 13:07:22.260 +02:00 [INF] Request starting HTTP/2 GET https://localhost:7511/.well-known/openid-configuration - null null 2025-06-11 13:07:22.260 +02:00 [INF] Request finished HTTP/2 OPTIONS https://localhost:7511/.well-known/openid-configuration - 204 null null 872.2819ms 2025-06-11 13:07:22.267 +02:00 [INF] CORS policy execution successful. 2025-06-11 13:07:22.331 +02:00 [INF] The request URI matched a server endpoint: "Configuration". 2025-06-11 13:07:22.338 +02:00 [INF] The configuration request was successfully extracted: {}. 2025-06-11 13:07:22.340 +02:00 [INF] The configuration request was successfully validated. 2025-06-11 13:07:22.560 +02:00 [INF] The response was successfully returned as a JSON document: { "issuer": "https://localhost:7511/", "authorization_endpoint": "https://localhost:7511/connect/authorize", "token_endpoint": "https://localhost:7511/connect/token", "introspection_endpoint": "https://localhost:7511/connect/introspect", "end_session_endpoint": "https://localhost:7511/connect/endsession", "revocation_endpoint": "https://localhost:7511/connect/revocat", "userinfo_endpoint": "https://localhost:7511/connect/userinfo", "device_authorization_endpoint": "https://localhost:7511/device", "jwks_uri": "https://localhost:7511/.well-known/jwks", "grant_types_supported": [ "authorization_code", "implicit", "password", "client_credentials", "refresh_token", "urn:ietf:params:oauth:grant-type:device_code", "LinkLogin", "Impersonation" ], "response_types_supported": [ "code", "code id_token", "code id_token token", "code token", "id_token", "id_token token", "token", "none" ], "response_modes_supported": [ "query", "form_post", "fragment" ], "scopes_supported": [ "openid", "offline_access", "email", "profile", "phone", "roles", "address", "MTGCorp" ], "claims_supported": [ "aud", "exp", "iat", "iss", "sub" ], "id_token_signing_alg_values_supported": [ "RS256" ], "code_challenge_methods_supported": [ "plain", "S256" ], "subject_types_supported": [ "public" ], "prompt_values_supported": [ "consent", "login", "none", "select_account" ], "token_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], "introspection_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], "revocation_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], "device_authorization_endpoint_auth_methods_supported": [ "client_secret_post", "private_key_jwt", "client_secret_basic" ], "claims_parameter_supported": false, "request_parameter_supported": false, "request_uri_parameter_supported": false, "tls_client_certificate_bound_access_tokens": false, "authorization_response_iss_parameter_supported": true }. 2025-06-11 13:07:22.569 +02:00 [INF] Request finished HTTP/2 GET https://localhost:7511/.well-known/openid-configuration - 200 2427 application/json;charset=UTF-8 309.1748ms 2025-06-11 13:07:22.572 +02:00 [INF] Request starting HTTP/2 OPTIONS https://localhost:7511/.well-known/jwks - null null 2025-06-11 13:07:22.573 +02:00 [INF] CORS policy execution successful. 2025-06-11 13:07:22.573 +02:00 [INF] Request finished HTTP/2 OPTIONS https://localhost:7511/.well-known/jwks - 204 null null 1.1519ms 2025-06-11 13:07:22.596 +02:00 [INF] Request starting HTTP/2 GET https://localhost:7511/.well-known/jwks - null null 2025-06-11 13:07:22.597 +02:00 [INF] CORS policy execution successful. 2025-06-11 13:07:22.598 +02:00 [INF] The request URI matched a server endpoint: "JsonWebKeySet". 2025-06-11 13:07:22.600 +02:00 [INF] The JSON Web Key Set request was successfully extracted: {}. 2025-06-11 13:07:22.602 +02:00 [INF] The JSON Web Key Set request was successfully validated.
How can I attach the log? It's too big to put it here.
There are no logs, the folder is empty.
Angular: Configuración del environment:
Once the changes are made, I get the following error. ! imagen.png
When you accept the error and try to login, this error appears.
What am I doing wrong?
Everything's fine now. It was my mistake. Thanks.
Thanks for all.