Base solution for your next web application
Open Closed

After upgrading to 6.0.0 Not logged in #5710


User avatar
0
david5 created

After upgrading to 6.0.0, you will be taken back to login page after successful return login (/ account / login)


12 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @david5

    1. Are there any error logs on the server side log file (App_Data/Logs.txt) or on the browser console ?
    2. Can you clear your browser cookies and try again ?
  • User Avatar
    0
    david5 created

    Clear and reset logging success

  • User Avatar
    0
    david5 created

    After a few days, the same symptoms

    • browser cookies clear

    Logs.txt

  • User Avatar
    0
    ryancyq created
    Support Team

    Hi @david5, can you provide the network request details as well?

  • User Avatar
    0
    david5 created

    What are the network request details?

    [ chrome network Capture ] link url : https://drive.google.com/drive/folders/1ceE3IZzdeWsIECyaS6DmSiK7WjEG6sxU login request -> AbpLogs\login-request.png login response -> AbpLogs\llogin-response1.png ~ login-response3.png

    [ Execution environment ] ASP.NET ZERO DOWNLOAD : ASP.NET CORE Mvc & Jquery v6.0.0 OS : windows 10 Tool : visual studio 2017 Run : IIS Express, Debug Run (Ctrl+F5)

  • User Avatar
    0
    ismcagdas created
    Support Team

    You can see it in the Chrome's network tab. Press F12 to open developer console.

  • User Avatar
    0
    david5 created

    [ Chrome's network tab image] link url : https://drive.google.com/drive/folders/1ceE3IZzdeWsIECyaS6DmSiK7WjEG6sxU login request -> AbpLogs\login-request.png login response -> AbpLogs\login-response1.png ~ login-response3.png

  • User Avatar
    0
    ryancyq created
    Support Team

    Hi @david5 , did you make any changes to IdentityServer configurations?

  • User Avatar
    0
    david5 created

    No changes to IdentityServer configurations Database Connection String Only Change

    appsettings.json -> "ConnectionStrings": { "Default": "Server=.; Database=AfxTestDb; User Id=id; Password=password;" }

    • Debug Stop Run Login AccountController.cs -> Login(line:208) -> signInResult.Succeeded But return /account/login?returnUrl=%2FApp
  • User Avatar
    0
    ismcagdas created
    Support Team

    @david5

    If this is a repeatable problem, could you send your project to [email protected] and let us check it for you ?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @david5

    Any news about this ?

    Thanks.

  • User Avatar
    0
    david5 created

    Normal operation on another computer. Problem I reset my laptop -> login succeed Normal operation.

    Thanks.