Allow dialing wss peers using DNS multiaddrs #1593
Labels
kind/bug
A bug in existing code (including security flaws)
need/triage
Needs initial labeling and prioritization
Problem
From what I can tell while we technically have WSS dialing from go-libp2p due to libp2p/go-ws-transport#115 it's basically unusable.
Currently trying to dial some peer like
/dns4/node3.preload.ipfs.io/tcp/443/wss/p2p/QmY7JB6MQXhxHvq7dBDh4HpbH29v4yE9JRadAVpndvzySN
will result in an error like:i.e. we do not make use of the DNS information in the dialing and so we run into a certificates problem because the certificate is tied to the domain name.
Small tool if you want to play with this and see the issue is https://github.com/aschmahmann/vole. You can run something like:
The text was updated successfully, but these errors were encountered: