microfab icon indicating copy to clipboard operation
microfab copied to clipboard

Service discovery hostname is wrong

Open sstone1 opened this issue 2 years ago • 2 comments

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

sstone1 avatar Mar 10 '23 16:03 sstone1

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 🙂

mbwhite avatar Mar 11 '23 11:03 mbwhite

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

davidkel avatar Mar 18 '23 08:03 davidkel