Hi team,
We are getting the following error in BE logs while logging into the forest admin portal in Production environments
“Gateway response type: DEFAULT_5XX with status code: 504”
PFB the screenshots
We are using AWS API gateway for routing for the backend, where are setting the CORS configuration.
We are getting the same error if we specify the exact value for ‘Access-Control-Allow-Origin’ as “https://app.forestadmin.com”.
Can you help here to debug?
Note that it was working fine before with ‘Access-Control-Allow-Origin’ as *
Hi @dogan.ay
We have set the custom domain name for our AWS API gateway as ‘https://partner-api.yubiinvest.com’. And note that the same is being used for other services. i.e it is working fine.
Sorry I got confused there and thought you had a custom domain setup, indeed you would not need the CORS_ORIGINS var env then.
Are you able to see any logs on your agent when accessing the frontend ?
Is there any difference in the setup between your QA and prod envs ?
If nothing else, do you have a date in mind of when this started happening ?
Could you confirm to me the last 4 chars of your FOREST_ENV_SECRET in both QA env and Production env.
From the logs of our server I can see that your QA env is making requests, but I cannot see a single call made with the FOREST_ENV_SECRET of your production environment.
I can confirm then that on our side we do not have any log with your PROD env secret, I would suggest you to look into your AWS config that could cause error or impede the network between your agent and Forest Admin Servers.