You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[WebToolsE2E][Aspire] Refreshing the browser when running aspire 9.1 and aspire 8.2 project at the same time, displays an authentication login and errors in CMD.
#6942
Open
vmykagapuz opened this issue
Dec 13, 2024
· 0 comments
Open the browser for 9.0 project > refresh the page
ACTUAL
Refreshing the browser for 9.0 project, displays an aunthentication login in the dashboard.
The error shows in CMD for 8.0 project
Aspire.Hosting.Dashboard.Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery[7]
An exception was thrown while deserializing the token.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
---> System.Security.Cryptography.CryptographicException: The payload was invalid. For more information go to https://aka.ms/aspnet/dataprotectionwarning
at Microsoft.AspNetCore.DataProtection.Cng.CbcAuthenticatedEncryptor.DecryptImpl(Byte* pbCiphertext, UInt32 cbCiphertext, Byte* pbAdditionalAuthenticatedData, UInt32 cbAdditionalAuthenticatedData)
at Microsoft.AspNetCore.DataProtection.Cng.Internal.CngAuthenticatedEncryptorBase.Decrypt(ArraySegment`1 ciphertext, ArraySegment`1 additionalAuthenticatedData)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.GetCookieTokenDoesNotThrow(HttpContext httpContext)
EXPECTED
Running aspire 9.0 and aspire 8.2 project at the same time, can refresh browser without errors in the cmd.
The text was updated successfully, but these errors were encountered:
vmykagapuz
changed the title
[WebToolsE2E][Aspire] After refreshing the browser when running aspire 9.1 and 8.2 project at the same time, displays an authentication login and errors in CMD.
[WebToolsE2E][Aspire] After refreshing the browser when running aspire 9.1 and aspire 8.2 project at the same time, displays an authentication login and errors in CMD.
Dec 13, 2024
vmykagapuz
changed the title
[WebToolsE2E][Aspire] After refreshing the browser when running aspire 9.1 and aspire 8.2 project at the same time, displays an authentication login and errors in CMD.
[WebToolsE2E][Aspire] Refreshing the browser when running aspire 9.1 and aspire 8.2 project at the same time, displays an authentication login and errors in CMD.
Dec 13, 2024
INSTALL STEPS
NOTE
REPRO STEPS
ACTUAL
Refreshing the browser for 9.0 project, displays an aunthentication login in the dashboard.
The error shows in CMD for 8.0 project
EXPECTED
Running aspire 9.0 and aspire 8.2 project at the same time, can refresh browser without errors in the cmd.
The text was updated successfully, but these errors were encountered: