-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
Description of the bug
I'm building an example of the microservices project built using go-micro
with two simple services: https://github.com/begmaroman/go-micro-boilerplate/blob/feature/k8s/docker-compose.yaml
The first service is rest-api-svc and built using go micro web framework. Another one is account-svc built using go-micro.
They use nats server for discovery, transport and as a broker. I tried all other options for the transport but the following bug still appears:
{"id":"go.micro.client.transport","code":500,"detail":"nats: no responders available for request","status":"Internal Server Error"}
The interesting point is that the bug is flaky and appears ~ once per 10 request.
How to reproduce the bug
- Clone the repo
- Run
go mod download
- Run
make build-base-image
- Run
docker compose up --build
- Send request to
GET http://localhost:3004/user
few times
Environment
Go Version: 1.23.0
Metadata
Metadata
Assignees
Labels
No labels