Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

403
Views
Not able to communicate with Go gRPC service in Kubernetes

I am trying to run a gRPC service written in Golang inside Kubernetes. I am deploying the service (without any SSL). The Kubernetes also has nginx running with flag --enable-ssl-passthrough. I have a Go client which tries to call the gRPC service (without TLS) and I am getting the following error:

2020/03/20 18:12:54 rpc error: code = Unavailable desc = connection closed
exit status 1

When I do kubectl exec into the gRPC service pod and run the client code inside the pod (with address: localhost:<port>) then I am getting correct output. But I am not able to communicate with the gRPC service from outside.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The nginx controller pod expected that the service it is redirecting to, works on TLS. Because I had not enabled secure gRPC inside server/client, the communication was not passing forward from the controller. I enabled TLS/SSL inside service and made secure communication from client and so it is working fine now!

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!