Hi, i have found the same topic here, but it’s pretty old.
We have whitelisted the ips for dev development (Germany/Europe-Central 18.197.138.225 and 52.57.69.21) and it works ok.
When we deploy the app, both in test and release mode, the requests are getting timeout.
We found this document Allowlist NAT IPs : Freshdesk Support , and whitelisted all EU IPs, but the requests are still returning status 504 - timeout.
Could you share the manifest.json file and the requests.json file to check if the requests are okay?
In development, the app runs on your local machine, which might be connected to the same network, so it works.
So, it’s likely the IP whitelisting issue if it only fails when deployed on the cloud.
Is it possible to check the network logs from your network firewall?
The mentioned two IP addresses are the only IPs used for all the apps in production. We have not received any complaints from other customers so far.
Thanks for the reply @Raviraj
We disabled the firewall and noticed that the requests are made from US IP addresses, not EU.
We use sandbox environment, so, maybe sandbox is always on US / or the client is using US servers.
We fixed the issue, however i’ll write some feedback here:
the server was returning the response, but freshdesk proxy couldn’t parse the response and returned status 502 - response: Error in establishing connection.
after some debugging and testing with express proxy, it turns out that the server was returning Error: Parse Error: Invalid header value char.
after removing new lines from the response content-security-policy headers everything was ok.
Maybe you can check the request proxy code in order to correctly pass the error to the client.