Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service discovery hostname is wrong #149

Open
sstone1 opened this issue Mar 10, 2023 · 2 comments
Open

Service discovery hostname is wrong #149

sstone1 opened this issue Mar 10, 2023 · 2 comments

Comments

@sstone1
Copy link

sstone1 commented Mar 10, 2023

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

@mbwhite
Copy link
Contributor

mbwhite commented Mar 11, 2023

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 🙂

@davidkel
Copy link

davidkel commented Mar 18, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants