# Distributed Services With Go: Unable to pass readiness/liveness checks. (page 210, 215)

**URL:** <https://forum.devtalk.com/t/distributed-services-with-go-unable-to-pass-readiness-liveness-checks-page-210-215/22354>\
**Category:** PragProg Customers\
**Tags:** book-distributed-services-with-go\
**Created:** [22 September 2021 20:03 UTC](https://forum.devtalk.com/t/distributed-services-with-go-unable-to-pass-readiness-liveness-checks-page-210-215/22354 "2021-09-22T20:03:02Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nicewook](https://forum.devtalk.com/user_avatar/forum.devtalk.com/nicewook/32/4174_2.png) [@nicewook](https://forum.devtalk.com/u/nicewook)\
**Post date:** [28 June 2022 06:44 UTC](https://forum.devtalk.com/t/distributed-services-with-go-unable-to-pass-readiness-liveness-checks-page-210-215/22354/5 "2022-06-28T06:44:35Z")

</div>

Solved.  
For someone who may have the same issue, check the link below

> <https://github.com/evdzhurov/dist-services-with-go/issues/1>
>
> Hello, This is HS Jeong from South Korea. SW engineer. 
> 
> I went through the bo…ok and got stucked on ch 10. 
> I found your repo and tried to test your code for ch 10 but failed
> Could you give me any guide? 
> 
> \## My situation
> 1. Windows WSL2 - Ubunto 20.04
> 2. Changed git head to \`690314c\` - your ch10 complete commit
> 3. Did all the way to \`helm install proglog deploy/proglog\` and checked all three pods running okay using \`$ kubectl get pods\`
> 4. port-forwarding and run \`cmd/getservers/main.go\` - but failed. 
> 
> \## Terminal output
> \`\`\`bash
> $ go run cmd/getservers/main.go 
> 2022/06/02 17:49:28 rpc error: code = Unavailable desc = connection closed before server preface received
> exit status 1
> \`\`\`
> 
> \`\`\`bash
> $ kubectl port-forward pod/proglog-0 8400
> Forwarding from 127.0.0.1:8400 -\> 8400
> Forwarding from \[::1\]:8400 -\> 8400
> Handling connection for 8400
> E0602 17:49:28.379357 10869 portforward.go:406\] an error occurred forwarding 8400 -\> 8400: error forwarding port 8400 to pod d871ac34568f6a8d9a87107d4ecca4fb5fd1c4988110266b83a70e42cd1645a6, uid : failed to execute portforward in network namespace "/var/run/netns/cni-00ea3bcd-7544-2ddc-97d0-4414947404b1": failed to connect to localhost:8400 inside namespace "d871ac34568f6a8d9a87107d4ecca4fb5fd1c4988110266b83a70e42cd1645a6", IPv4: dial tcp4 127.0.0.1:8400: connect: connection refused IPv6 dial tcp6 \[::1\]:8400: connect: connection refused 
> E0602 17:49:28.379731 10869 portforward.go:234\] lost connection to pod
> \`\`\`

---

_[View the full topic](https://forum.devtalk.com/t/distributed-services-with-go-unable-to-pass-readiness-liveness-checks-page-210-215/22354)._
