skywire icon indicating copy to clipboard operation
skywire copied to clipboard

`skywire-cli proxy list` & `skywire-cli vpn list` unsupported protocol error when using dmsghttp-config

Open 0pcom opened this issue 2 years ago • 1 comments

$ skywire-cli proxy list
[2023-09-11T06:38:35.518343809-05:00] ERROR [skywire-cli]: Get "dmsg://0204890f9def4f9a5448c2e824c6a4afc85fd1f877322320898fafdf407cc6fef7:80/api/services?type=proxy&version=v1.3.13": unsupported protocol scheme "dmsg"
directly querying service discovery
http://sd.skycoin.com/api/services?type=proxy
02129785d93a83eda784c773074c949c8134ee83697c0073ba78f620bff0b7bd49:3 | ID
025755544c7b1ba7beedff8954fc7e1dcf680e47d7b39104c6cb67bb37fe161a4a:3 | ID
03a5fa4385b45c13a8be1db6a2a3f159ac53de83d9d0635f1094291912f8147279:3 | ID
03808c127d04f18a11b734c4b2f8719791bdbd57b82e04d1929a9ab1a861390c92:3 | ID
...

the query to the service discovery needs to use dmsgget instead of http.Get when the dmsghttp-config is in use

0pcom avatar Sep 11 '23 11:09 0pcom

This issue is still outstanding

0pcom avatar Mar 23 '24 14:03 0pcom