Open Closed

AuthServer-8.2.0-SessionId-is-null-error #7977


User avatar
0
alextoh97 created
  • ABP Framework version: v8.2.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: SessionId is null. It's not possible to save the session
  • Steps to reproduce the issue: Login Angular with admin

I'm upgrading the abp from 7.4 to 8.2, when I try login Angular now it will always prompt this error, It quite annoying keep hit error, its got solutions for this error?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    hi

    Are all your packages 8.2.0?

    When you sign in, the AbpIdentityProDomainModule(IdentitySessionClaimsPrincipalContributor) will add the Session Id.

    Thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    alextoh97 created

    Actually mine token had added the session Id claim to jwt token, but when it validate on authserver it not found

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share a project or a template project to reproduce?

    I will fix this if I can reproduce.

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    alextoh97 created

    Sry, I can't share the project, I try clean all the abpSession and I realize when I login the web it will create two sessions in the same time. Itz normal?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, You can test this in a new template project.

    when I login the web it will create two sessions in the same time. Itz normal?

    Yes, One session for authserver and one for the web. since you are using a tiered project.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    alextoh97 created

    But when I open the prevent concurrent login setting, it will left one only. when I open this setting, it will decrease the frequency for hit the error. It will hit the error when I close the web page then open back after sometime.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share steps to reproduce this in a new template?

    But when I open the prevent concurrent login setting, it will left one only.

    This is the default behavior.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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 v10.8.0-preview. Updated on September 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.