I am unable to login to forestadmin. I recive a message: “Backend unraachable” and “Unlock your data”. Please help.
Expected behavior
Actual behavior
Failure Logs
Navigated to https://app.forestadmin.com/rental-admin/Production/Operations/dashboard/xxxx
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://o460888.ingest.sentry.io/api/5461860/envelope/?sentry_key=xxxx&sentry_version=7. (Reason: CORS request did not succeed).
Forest Admin 🌲 Start third-party services tracking. chunk.7.4103759264c1de7273b2.js:236:60
Disable custom header forest-environment-id, forest-project-id as it is not allowed by the client chunk.7.4103759264c1de7273b2.js:236:60
GEThttps://www.gravatar.com/avatar/17d7b75b39686368174d1109ddae47ba?s=40&d=404
[HTTP/2 404 Not Found 18ms]
GEThttps://www.gravatar.com/avatar/17d7b75b39686368174d1109ddae47ba?s=40&d=404
[HTTP/2 404 Not Found 14ms]
XHRPOSThttps://xxxxxx.com/forest/sessions
[HTTP/1.1 502 Bad Gateway 901ms]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://yyyyyy.com/forest/sessions. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
TypeError: NetworkError when attempting to fetch resource. chunk.7.4103759264c1de7273b2.js:236:60
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. vendor-cd62d5e7b3b72d6d5df7f94c11ad88b0.js:5356:168
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://o460888.ingest.sentry.io/api/5461860/envelope/?sentry_key=xxxxx&sentry_version=7. (Reason: CORS request did not succeed).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://o460888.ingest.sentry.io/api/5461860/store/?sentry_key=xxxxx&sentry_version=7. (Reason: CORS request did not succeed).
Context
Please provide any relevant information about your setup.
Hi @user1,
I see that you are using a very old version of Forest, to allow us to help you could you please upgrade to the last version, you need to follow these instructions.
It should be located in your project folder, in the package.json file.
we dont have access to frontend because of this error
If you are able to access forestadmin with the issue “Backend is unreachable / Unlock your data”, you should be able to see error in your browser developer console.
Could you make a video of the issue, with the Developer console open on the “Console” tabs & showing the “Network” tabs as well?
It appear that you have a CORS error on the authentication (forest/session).
This is most likely the source of your issue, however, I can’t see the “network” tabs in the developer console in the video.
Your original logs in the thread seems to show a 502 (Bad Gateway) of the same route.
It can be related to either the let’s encrypt certificate issue that happen recently (Depending on your node version, (node --version)). Could you share to us that information?
Could you also share the /forest/session request and response (Via the Network tabs of the Chrome developer console)?