Can't access UI on staging env

Hey, I just configured my webserver. The url I gave the “Staging” environment config is https://staging.fa.foxxbee.app/.

But I am getting the following message.

Screen Shot 2021-09-02 at 4.17.27 PM

Any help would be much appreciated.

Hello @cooki23 and welcome on our community forum!

Can you please check & share your server logs to get additional informations on what is going on please? :slight_smile:

Thank you

Hey @anon16419211 , I am running the app using pm2. I restarted the app, and the logs are the following:

0|forest-a | [nodemon] 2.0.7
0|forest-a | [nodemon] to restart at any time, enter `rs`
0|forest-a | [nodemon] watching path(s): *.*
0|forest-a | [nodemon] watching extensions: js,mjs,json
0|forest-a | [nodemon] starting `node app.js`
0|forest-a | Listening on port 3000
0|forest-a | Executing (default): SELECT 1+1 AS result
0|forest-a | Database connected!
0|forest-a | Your admin panel is available here: https://app.forestadmin.com/projects

I can reach the app from my browser and using curl by hitting the following url: https://staging.fa.foxxbee.app/

But there are no logs when i try to reach it from the Forest UI, which makes me guess that it’s not hitting it.

And that’s because when I load the admin UI, the requests being made are to an old configured url:

Can you tell me if the value of APPLICATION_URL in your .env file is the right one?

Do you have any other logs on your server side that can help debugging you?

Thank you

1 Like

Good catch, it was the APPLICATION_URL :slight_smile:

Thanks !

1 Like