UserManager.getUser: user not found in storage

I have…

  • [ ] Checked the logs and have provided the logs if I found something suspicious there

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ x] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Irregular behaviour when users try to log in to dashboard. A user can log in to the app dashboard but then it suddenly does not allow login anymore. The login modal pops up and clears itself when you press login. The same user can log in to the dashboard with the same credentials on another PC. The users use to be able to log in fine until it suddenly started behaving this way. The logging also stopped working at the same time:

“logging”: {
/*
* Setting the flag to true, enables well formatteds json logs.
/
“human”: true,
/

* Set to true, to use colors.
*/
“colors”: true,
“file”: “/www/wwwroot/cms.domain.co.za/logs/log”

},

Expected behavior

User should be able to log in to dashboard regardless of browser or device.

Minimal reproduction of the problem

User logs in on via a browser and has access to the app dashboard. Then you use the same credentials to log in on a browser of a user that is experiencing the issue and it behaves the same way.

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [X ] Self hosted with other version
  • [ ] Cloud version

Version: [4.2]

Browser:

  • [X ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ X] IE
  • [ X] Edge

Others:

The users started experiencing issues where they can log in but if they click on any content then the content items are empty

Does it happen for all users? In general the message is okay, it happens when token expire. But of course it should login again.

Sometimes this happens when the timezone of the user machine or the server is out of sync. But there is not that much I can do without logs. You have to investigate it yourself first.

My log file stopped writing to it for no reason so working to find out why that is happening. The user is in the app and we have reset the passwords for them as well.

I think it is a frontend problem, not backend.

Thank you. Still encountering issues and now only able to log in on Brave and Firefox.

Have you tried a newer version? are you running under http or https?

HI. Same issues as before where we can’t get it to load on https. If you are on http on chrome it loads the login module, but only clears what you entered. If you are on Brave (in my case) i can log in on http.

As soos as we go to https it gives the squidex error for invalid redirect URL.

Our log files are also not being written to anymore which doesn’t help troubleshooting it.

Http is not supported anymore because http dropped the support. If you move to https you need to ensure that you always redirect from http to https and that you configure the base url setting properly.

About the log files: Not sure where the problem is. Perhaps you have to update web.config again or so? I am not supporting log files out of the box.

that’s been our problem from the start. We can load the landing page on https by setting the base URL to be https. When you click login you get this error22

What is your base url? This error is also logged and I have seen it so many times and it was always the base url setting. I don’t see why it should be different now.