Current private method:
private InputStream retrieveStream(String path) throws IOException {
URL target = new URL("http", host, port, version + path);
return IPFS.getStream(target);
}
It should be
private InputStream retrieveStream(String path) throws IOException {
URL target = new URL(protocol, host, port, version + path);
return IPFS.getStream(target);
}
Class: IPFS.java
Current private method: private InputStream retrieveStream(String path) throws IOException { URL target = new URL("http", host, port, version + path); return IPFS.getStream(target); }
It should be private InputStream retrieveStream(String path) throws IOException { URL target = new URL(protocol, host, port, version + path); return IPFS.getStream(target); }
Otherwise retrieve from HTTPS is not possible