Closed maikeriva closed 1 year ago
This looks like a bug in the CLI in which the endpoint check ignores the --selfSigned
flag:
As a workaround, I recommend manually updating your ~/.appwrite/prefs.json
like:
{
"endpoint": "https://localhost/v1",
"selfSigned": true
}
👟 Reproduction steps
When I try to set an https host via the appwrite cli, it fails with the following error:
Appwrite itself works normally it is reachable both via the web console and the SDKs. If I replace
https
withhttp
, the command succeeds. It is very likely not an issue with system permissions as addingsudo
to the command does not change the outcome. After a troubleshooting conversation on Discord, I was recommended to open an issue here.👍 Expected behavior
appwrite client should work as expected with https.
👎 Actual Behavior
appwrite client only works with http.
🎲 Appwrite version
Version 1.0.x
💻 Operating system
Linux
🧱 Your Environment
Appwrite: 1.0.1 appwrite-cli: 1.1.1 OS: Fedora 36
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?