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

DNS test cannot resolve name #103

Closed
tdiesler opened this issue Sep 4, 2018 · 2 comments
Closed

DNS test cannot resolve name #103

tdiesler opened this issue Sep 4, 2018 · 2 comments

Comments

@tdiesler
Copy link
Contributor

tdiesler commented Sep 4, 2018

Tests run: 37, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 70.75 sec <<< FAILURE! - in io.ipfs.api.APITest
dnsTest(io.ipfs.api.APITest)  Time elapsed: 0.166 sec  <<< ERROR!
java.lang.RuntimeException: 
IOException contacting IPFS daemon.
Trailer: [X-Stream-Error] {"Message":"could not resolve name (recursion limit exceeded)","Code":0,"Type":"error"}

	at io.ipfs.api.APITest.dnsTest(APITest.java:623)
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://127.0.0.1:5001/api/v0/dns?arg=ipfs.io
	at io.ipfs.api.APITest.dnsTest(APITest.java:623)
tdiesler added a commit to tdiesler/java-ipfs-api that referenced this issue Sep 4, 2018
ianopolous added a commit that referenced this issue Sep 4, 2018
[Ignore #103] DNS test cannot resolve name
@magik6k
Copy link

magik6k commented Sep 5, 2018

This is caused by infra change which broke similar test in js-ipfs-api - ipfs-inactive/js-ipfs-http-client#839. TL;DR is that you need to call resolve with -r to resolve ipfs.io now.

@ianopolous
Copy link
Collaborator

This is fixed in master now

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