idurar / idurar-erp-crm

Open Source Headless ERP CRM E-Commerce Accounting Software | Node Js React
https://cloud.idurarapp.com/
Other
6.17k stars 1.84k forks source link

Impossible to successfully setup the project since last update of dev branch #875

Open Gregsai opened 9 months ago

Gregsai commented 9 months ago

Describe the bug

I tried reinstalling the project since the last update of the dev branch. However, once the commands indicated in the installation guide have been executed, I launch the application and I obtain the error message "Request Error 503 Invalid signature" as illustrated in the following figure:

image

I am also unable to log in. Logout does not work:

https://github.com/idurar/idurar-erp-crm/assets/85080566/d5521d06-c3d7-4bdd-92ce-522253dd30c5

Here is also the contents of the console:

https://github.com/idurar/idurar-erp-crm/assets/85080566/99b5b5e1-b1e6-4298-9363-28146f66b306

Are some people experiencing the same problem?

To Reproduce Steps to reproduce the behavior:

  1. Setup the project following README instructions
  2. Start the app
  3. Observe the Request Error 503 on the top right corner

Expected behavior

An app successfully running after setup

Desktop (please complete the following information):

raphael3213 commented 9 months ago

Most likely, something is failing in the isValidAuthToken.js, on the error being caught you are getting this response. If you try to debug the error there, you should be able to have a better clarity on the issue. But I am not facing this issue, when I tried the installation. Could it be a connectivity issue to your Mongo ?

Gregsai commented 9 months ago

Honestly I don't know. But it would surprise me. Before this update it was working perfectly.

I tried to setup mongodb locally and remotely but it did not change anything to the issue.

I will pursue my investigation according to your advice. Thank you !

Gregsai commented 9 months ago

Update

I found a solution but i don't know if it's normal. The origin of the problem was that my browser local storage still had old data. Once i deleted it and refreshed it, everything was working.

However, I am wondering, if this happened to me, couldn't it happen to a user ? Or is it because i am working on development mode or something else ?