Issue to connect to frontend service

I deployed temporal via helm charts now to trying to expose fronted service via nginx -ingress controller and trying to connect to worker from outside the cluster while running run_worker.py code I’m getting this below error :-

RuntimeError: Failed client connect: get_system_info call error after connection: Status { code: Internal, message: “protocol error: received message with invalid compression flag: 60 (valid flags are 0 and 1) while receiving response with status: 401 Unauthorized”, metadata: MetadataMap { headers: {“date”: “Tue, 14 May 2024 05:39:59 GMT”, “content-type”: “text/html”, “content-length”: “172”, “www-authenticate”: “Basic realm=""”, “strict-transport-security”: “max-age=15724800; includeSubDomains”} }, source: None }