microfab
microfab copied to clipboard
Service discovery hostname is wrong
The hostnames returned by service discovery are all localhost:2xxx instead of the external *.nip.io hostnames, which means that you cannot use service discovery to interact with the created network.
2023-03-10T09:55:39.398Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server localhost:2002 url:grpc://localhost:2002 timeout:3000 trace_id=6057422945510226298, span_id=6057422945510226298, service=xxxxxxxxxx, version=3.8.0
Thanks for the report. Suspect it's related to changes for SSL and prep for the raft orderer.
Sadly though can't commit to when we might get to this due to other projects. 😉
PRs welcome of course 🙂
Someone else hit this problem as well, we were able to work around it by launching the microfab container and exposing a range of ports from 2000 upwards eg 2000-2020. It at least gets you back working again. I don't think it's an issue for the gateway peer service though