Ok, yes indeed it seems so.
By looking at your nginx logs, I see some 504
but only from your “bc” service (the link of your application in your previous post points to the agent-api app, are you sure of it ?).
The nginx logs also indicate that it’s the underlying service that answers those 504
(the status at the end of the logs correspond to the upstream service status)