Our server encountered an error (cannot login)

This is a template you can use to report issues. You can also drag images, videos and include Preformatted text

Expected behavior

Cannot log in to my dashboard despite several refresh !

Actual behavior

What is the current behavior?

Failure Logs

Please include any relevant log snippets, if necessary.

Context

Please provide any relevant information about your setup.

  • Package Version:
  • Express Version:
  • Sequelize Version:
  • Database Dialect:
  • Database Version:
  • Project Name:

Hello @PierreGoch

Would you mind telling me a bit more about your issue?

Do you mean you cannot log into ForestAdmin? Or are you stuck at the second authentication when accessing your data?

Can you tell me what error message is displayed, or event better what is reported in the network tab of your developper tools?

Thank you

Hi Guillaume,

I have a shortcut in my browser that leads to my dashboard. Usually I have to log in but now I have this page as soon as I click on the usual shortcut. So it’s before the log in process.

Can you please try to access your project via the project list? https://app.forestadmin.com/projects

The URL shown on your screenshot is a technical one. Via the project list you should have access to your dashboard via an URL similar to My Project/Production/Operations/dashboard/xxxxx.

Hi, problem solved, I tried with a different URL and it works ! Thx for your time


I’m stuck on this page, never loads. Tried several bifferent browsers/OS. Any help?

Hi @csaby.miklos,

Could you check if you have any error in your browser console? Any HTTP request that is pending?

Thanks in advance :pray:

Navigated to https://app.forestadmin.com/owl%20CONTACTS/New%20Production/Admin/dashboard
DevTools failed to load SourceMap: Could not parse content for https://app.forestadmin.com/assets/vendor-9ae8cb46e1e11e3f2f7bb96f4e156d29.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not parse content for https://app.forestadmin.com/assets/client-d6d32e4a0423eaf41abc50d53d6b2619.map: Unexpected token < in JSON at position 0
8[Violation] ‘setTimeout’ handler took ms
vendor-78615c841d7eebb1fde5d6a34982b513.js:25637 [Violation] ‘readystatechange’ handler took 262ms
vendor-78615c841d7eebb1fde5d6a34982b513.js:23600 Forest Admin :evergreen_tree: Start third-party services tracking.
vendor-78615c841d7eebb1fde5d6a34982b513.js:23600 Forest Admin :evergreen_tree: Start Drift tracking.
widget-5b26db8f51e3508b106d.js:1 [Violation] ‘message’ handler took 330ms
vendor-78615c841d7eebb1fde5d6a34982b513.js:23600 Forest Admin :evergreen_tree: Start third-party services tracking.
vendor-78615c841d7eebb1fde5d6a34982b513.js:23600 Forest Admin :evergreen_tree: Start Drift tracking.
vendor-78615c841d7eebb1fde5d6a34982b513.js:27948 [Violation] ‘load’ handler took 188ms
dashboard:1 [DOM] Password forms should have (optionally hidden) username fields for accessibility: (More info: https://goo.gl/9p2vKq) <form class=​"c-liana-login-legacy__login-form">​…​​<h2 class=​"c-liana-login-legacy__title">​Unlock your data​​<span class=​"c-liana-login-legacy__description">​…​​<label id=​"ember19" class=​"c-liana-login-legacy__password-label c-beta-label c-beta-label–important c-beta-label–top ember-view">​…​​<button disabled id=​"ember21" class=​"c-liana-login-legacy__button c-beta-button c-beta-button–primary c-beta-button–large c-beta-button–important c-beta-button–icon-before ember-view">​…​​​

Does this issue happened recently?

Could you share your package.json & your .forestadmin-schema.json if that’s possible on your end ?

we have package .json only:

{
“name”: “dandelion”,


“main”: “server.js”,
“dependencies”: {

“forest-express-mongoose”: “^0.3.0”,
},

And does this issue happened recently?

I can’t see anything that can cause this in the log you sent.

I can’t definitely be sure since I do not have a project running 0.3.0, but forest-express-mongoose@0.3.0 seems to be a pretty old version (~4 year old according to npm, the 6.6.3 was recently released).

I would definitely suggest to upgrade to v6 to get access to the latest features. You can follow upgrade note from our documentation if you feel to do so, but in your case, I would suggest to regenerate a complete project using lumber. (See this part of the documentation).