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

Problem with hosts #100

Open
FelipeSanchezCalzada opened this issue Feb 24, 2022 · 2 comments
Open

Problem with hosts #100

FelipeSanchezCalzada opened this issue Feb 24, 2022 · 2 comments

Comments

@FelipeSanchezCalzada
Copy link

I can't deploy microfab with default settings. It seems that there is a host that is not reachable.

WARN 04c Could not connect to ordering service: could not dial endpoint 'orderer-api.127-0-0-1.nip.io:8080': failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp: lookup orderer-api.127-0-0-1.nip.io on 192.168.65.5:53: no such host" channel=mychannel

The problem occurs when creating the network from the IBM Blockchain Platform VS Code Extension, but what the extension actually does is instantiate Microfab.

Thanks for the project, it looks promising.

@davidkel
Copy link

davidkel commented Mar 14, 2022

@FelipeSanchezCalzada looks like it's an environment problem for you. This is an address for a DNS request 192.168.65.5:53 and it cannot resolve orderer-api.127-0-0-1.nip.io. If you try

nslookup orderer-api.127-0-0-1.nip.io

you should get back a response similar to

Server:  UnKnown
Address:  8.8.8.8

Non-authoritative answer:
Name:    orderer-api.127-0-0-1.nip.io
Address:  127.0.0.1

Because nip.io is an external service that returns the provided ip address in the url.
see IBM-Blockchain/blockchain-vscode-extension#2878 for further discussions on why attempts to use nip.io could also fail.

@JohanIskandar
Copy link

How do you guys solve the problem?

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