0

Please or Register to create posts and topics.

Problem with a 2nd Login

Hi,

At the first login everything is going well. All tables are displayed correctly on Home.

After the deregistration I get the message : "Unable to retrieve data from the server. Errors: session expired". See Attachment 1

After logging in for the second time, the data will be displayed briefly but then I will get the message "LOAD ERROR
Unable to retrieve data from the server. Errors: session expired ".  Error messages see Attachment 2

 

What can I do?

regards Ingo

 

 

Hello,

What does the logs say? (Project Root -> Logs).
Can you share the content here?

Also make sure the base-address you're authenticating on is the same as the address you're issuing your resource request on.
I've seen this happen in the past with incorrect configuration.

Regards,
Eben Monney

Hi,

2019-02-07T12:42:14.9278740-03:00 [INF] Seeding initial data completed (dcd778dd)
2019-02-07T12:44:29.1264024-03:00 0HLKD2BATGTI6:00000003 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:44:29.1283436-03:00 0HLKD2BATGTI3:00000007 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:44:29.1424021-03:00 0HLKD2BATGTI3:00000007 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:44:29.1443359-03:00 0HLKD2BATGTI6:00000003 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:47:06.1141783-03:00 0HLKD2BATGTIC:00000002 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:47:06.1226198-03:00 0HLKD2BATGTIC:00000002 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:47:08.1373025-03:00 0HLKD2BATGTI7:00000007 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:47:08.1458418-03:00 0HLKD2BATGTI7:00000007 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:47:35.5972945-03:00 0HLKD2BATGTI9:00000007 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:47:35.6286679-03:00 0HLKD2BATGTI9:00000007 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:48:05.5938950-03:00 0HLKD2BATGTIA:00000006 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:48:05.5978212-03:00 0HLKD2BATGTIA:00000006 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:48:35.6019125-03:00 0HLKD2BATGTI9:00000008 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:48:35.6075914-03:00 0HLKD2BATGTI9:00000008 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:49:05.5665548-03:00 0HLKD2BATGTIA:00000007 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:49:05.5762948-03:00 0HLKD2BATGTIA:00000007 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:49:35.5789451-03:00 0HLKD2BATGTI9:00000009 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:49:35.5829292-03:00 0HLKD2BATGTI9:00000009 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:50:05.5975354-03:00 0HLKD2BATGTIG:00000009 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:50:05.6054172-03:00 0HLKD2BATGTIG:00000009 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:50:35.5612473-03:00 0HLKD2BATGTIA:00000009 [WRN] Invalid refresh token (831190ec)
2019-02-07T12:50:35.5716173-03:00 0HLKD2BATGTIA:00000009 [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:51:05.6147473-03:00 0HLKD2BATGTI9:0000000B [WRN] Invalid refresh token (831190ec)
2019-02-07T12:51:05.6446711-03:00 0HLKD2BATGTI9:0000000B [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:51:35.5766906-03:00 0HLKD2BATGTIG:0000000B [WRN] Invalid refresh token (831190ec)
2019-02-07T12:51:35.5808608-03:00 0HLKD2BATGTIG:0000000B [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:52:05.6117263-03:00 0HLKD2BATGTIA:0000000B [WRN] Invalid refresh token (831190ec)
2019-02-07T12:52:05.6163722-03:00 0HLKD2BATGTIA:0000000B [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T12:52:35.6393617-03:00 0HLKD2BATGTI9:0000000D [WRN] Invalid refresh token (831190ec)
2019-02-07T12:52:35.6472083-03:00 0HLKD2BATGTI9:0000000D [WRN] Refresh token validation failed. aborting., request details: "" (710da8bf)
2019-02-07T13:28:00.7130747-03:00 [INF] Seeding initial data completed (dcd778dd)
2019-02-07T13:28:19.5025916-03:00 [INF] Seeding initial data completed (dcd778dd)

the base address is correct.

if you need I can send you my project.

regards Ingo

 

Hello,

I tested your attached project and was not able to reproduce the issue.
Your application seems to be caching some invalid values (e.g. refresh token). Try the following

  1. Open with a different browser or incognito mode
  2. Open the browser's developer tools and delete the local and session storage for the site. Or simply clear the browser's cache for the site
  3. Open the project with a new db.

If the above doesn't help please state the steps to reproduce the issue.

Regards,
Eben Monney

Hello,

First of all thanks for the help. With a new database, the program works flawlessly. That's how I found my BUG.

 

Regards Ingo

Glad you got it fixed.

Regards,
Eben Monney