Open ze42 opened 1 month ago
Thank you for reporting this bug.
Indeed, /https
and /tls/http
are not supported. https://
hint is not forwarded to go-ipfs-cmds client.
The host
value in:
likely does not include protocol, just host, and http://
is added in:
Potential quick fix is to make sure kubo/cmd/ipfs/kubo/start.go prepends https://
to host
if apiAddr
contains /https
or /tls/http
@ze42 would you have time to open PR with a fix?
@lidel I’m new to this repository, but I believe this fix requires a small change, and I would like to contribute to it. Can I take this?
@Sairaviteja27 sure, submit PR once you have something ready for review 👍
Checklist
Installation method
ipfs-update or dist.ipfs.tech
Version
Config
Description
When trying to connect to a distant API over
https
, it fails and try to connect withhttp
.When checking logs from the RP we have in place receiving the request, we see
"scheme": "http"
.When trying to access directly the same URL with curl and
https
, it works properly.