You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the wasmer login command with the --registry option to specify a registry URL, wasmer appends https:// to the url. This error occurs even though the specified URL is valid and points to a running registry.
Run wasmer login --registry 'http://localhost:8000/graphql' wapm_MYTOKEN.
$ wasmer login --registry 'http://localhost:8000/graphql' wapm_MYTOKEN
Error when trying to ping registry "https://http/://localhost:8000/graphql": error sending request for url (https://http//localhost:8000/graphql): error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
WARNING: Registry "https://http/://localhost:8000/graphql" will be used, but commands may not succeed.
error: error sending request for url (https://http//localhost:8000/graphql): error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
│ 1: error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
│ 2: dns error: failed to lookup address information: nodename nor servname provided, or not known
╰─▶ 3: failed to lookup address information: nodename nor servname provided, or not known
Describe the bug
When using the wasmer login command with the --registry option to specify a registry URL, wasmer appends
https://
to the url. This error occurs even though the specified URL is valid and points to a running registry.$ wasmer -vV; rustc -vV wasmer 3.2.0-beta.1 (82974ac 2023-03-23) binary: wasmer-cli commit-hash: 82974aca26b7d0a0a6f19f62a39a1d2ad07bdfad commit-date: 2023-03-23 host: aarch64-apple-darwin compiler: singlepass,cranelift rustc 1.69.0-nightly (585f3eef2 2023-02-11) binary: rustc commit-hash: 585f3eef26f04440bca726c29193af7b4fa90e54 commit-date: 2023-02-11 host: aarch64-apple-darwin release: 1.69.0-nightly LLVM version: 15.0.7
Steps to reproduce
wasmer login --registry 'http://localhost:8000/graphql' wapm_MYTOKEN
.Expected behavior
I should be able to log in to a registry running locally oh http://localhost:PORT
Actual behavior
The cli force-prepends
https://
to the registry URL.The text was updated successfully, but these errors were encountered: