502 Bad Gateway Error When Calling Foundry ML Live API

Hello,

I am experiencing a 502 Bad Gateway error when trying to call the Foundry ML Live API.


1. Issue Description

  • API Endpoint:
    https://sena.palantirfoundry.com/foundry-ml-live/api/inference/transform/ri.foundry-ml-live.main.live-deployment.df7e276b-709b-436a-b4bf-0321197a7078/debug

  • When I try to access this endpoint, I receive a 502 Bad Gateway error.

  • In the browser, I see a message saying “This page can’t be reached” along with an HTML error page.

2. Steps to Reproduce

  1. Send a GET/POST request to the API endpoint above.

  2. The response is a 502 Bad Gateway error with an HTML error page.

3. Expected Result

  • The API should return a valid response.

4. Actual Result

  • I receive a 502 Bad Gateway error.

  • The HTML error page includes the following:

    <html> ... <p><b>502 </b></p> <p><b> :state 9:Application response 502 badgateway</b></p> ... </html>

5. Additional Information

  • Browser: (e.g., Chrome 124.0)

  • Request Method: (e.g., POST, GET)

  • Request Parameters/Headers: (if applicable, please see attached)

  • Recent changes or deployments: None

  • Screenshot: (attached if possible)

6. Questions

  • What could be causing this error?

  • Is there any ongoing maintenance or server-side issue?

  • Are there any additional checks or troubleshooting steps I should try?

Thank you for your help!

Hi, there is no ongoing maintenance or error logs relating to this deployment on Foundry. It is possible a proxy between your machine and Foundry has received an unexpected response or is misconfigured. I’ve found this same error message on the following page: https://success.skyhighsecurity.com/Skyhigh_Secure_Web_Gateway_(On-Prem)/Secure_Web_Gateway_Product_Guide/Supporting_Functions/Next-Hop_Proxies/TCP_Health_Check_for_Next_Hop_Proxy/Troubleshooting_TCP_Health_Check, which suggests it might be coming from one of such gateways.