Self hosted temporal java jdk

when connecting with stage self hosted temporal in my local java spring boot application , I am able to deploy and start the workflows but getting the below error in polling from queue. What could be the reasons??

2025-02-27 17:44:20.859 WARN 20036 — [ce=“default”: 4] io.temporal.internal.worker.Poller : Failure in poller thread Activity Poller taskQueue=“AJIO_FORWARD_ORDER_TASK_QUEUE”, namespace=“default”: 4

io.grpc.StatusRuntimeException: UNAVAILABLE: HTTP status code 504
invalid content-type: text/html
headers: Metadata(:status=504,date=Thu, 27 Feb 2025 12:14:20 GMT,content-type=text/html,content-length=160)
DATA-----------------------------

504 Gateway Time-out

504 Gateway Time-out


nginx

@maxim Do you have any idea on this issue??

I don’t know anything about nginx