ipfs-shipyard / java-ipfs-http-client

A Java implementation of the HTTP IPFS API
MIT License
538 stars 243 forks source link

Infura node as a client #158

Closed kuabhish closed 1 year ago

kuabhish commented 4 years ago

I am trying to connect to an Infura node from Java Android application. I was following the issue to connect to an infura node.

https://github.com/ipfs-shipyard/java-ipfs-http-client/issues/115 like this : IPFS ipfs = new IPFS("/dnsaddr/ipfs.infura.io/tcp/5001/https");

But I am getting this error.

java.lang.RuntimeException: IOException contacting IPFS daemon.
    Trailer: null ipfs method not allowed

Any suggestions please.

kevodwyer commented 1 year ago

closing as stale. Check out new release