Open Closed

Can not navigate to the login page and getting a 400 error. #4847


User avatar
0
Tuncay.Kurt created

Hello, We deployed our project in the inhouse server just for testing. We want to access the page only from within the company with the IP of the machine installed over the http protocol. For example 172.1.x.x:80. We installed Angular and Backend projects on IIS and brought the sites up. When I want to login within the page, I cannot navigate to the login page and I get a 400 error and there is no log in the log file about this. Could you please help with what we are missing? Thank you for your help. Best regards,

  • ABP Framework version: v7.0.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

7 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Can you share the error logs?

  • User Avatar
    0
    Tuncay.Kurt created

    Of course

    04/07/2023 11:24:53 GetHealthReport threw an exception when trying to get report from /health-status configured with name FinagoPortApp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 155 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 98 04/07/2023 11:24:54 The cookie '"XSRF-TOKEN"' has set 'SameSite=None' and must also set 'Secure'. 04/07/2023 11:25:03 GetHealthReport threw an exception when trying to get report from /health-status configured with name FinagoPortApp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 155 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 98 04/07/2023 11:25:07 The cookie '"XSRF-TOKEN"' has set 'SameSite=None' and must also set 'Secure'. 04/07/2023 11:25:08 The cookie '"XSRF-TOKEN"' has set 'SameSite=None' and must also set 'Secure'. 04/07/2023 11:25:13 GetHealthReport threw an exception when trying to get report from /health-status configured with name FinagoPortApp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 155 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 98 04/07/2023 11:25:23 GetHealthReport threw an exception when trying to get report from /health-status configured with name FinagoPortApp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 155 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 98 04/07/2023 11:25:33 GetHealthReport threw an exception when trying to get report from /health-status configured with name FinagoPortApp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 155 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in //src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 98

    Thank you

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Sorry, but can you share the full logs?

  • User Avatar
    0
    Tuncay.Kurt created

    I stopped IIS and clear Log file. Then started and try to navigate login page then redirected error page again. It was full logs

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The log doesn't useful, because it does not contain request information or even the initialization log of the ABP module.

    can you send the log file to me? shiwei.liang@volosoft.com thanks

  • User Avatar
    0
    Tuncay.Kurt created

    Hello again, I shared log file on e-mail.

    Thanks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Solved, you need to change the redirect_uri.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11