appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
91 stars 26 forks source link

🐛 Bug Report: Unable to log in with self signed certificate #141

Open Ricolo53 opened 1 month ago

Ricolo53 commented 1 month ago

👟 Reproduction steps

Since the update, it's impossible to login

❯ appwrite client --self-signed true
✓ Success: Setting client
❯ appwrite client --debug
endpoint :
key :
cookie :
selfSigned : false
project

✓ Success: Setting client
❯ appwrite client --endpoint "https://my.url/v1" --verbose
Error: Invalid endpoint or your Appwrite server is not running as expected.
    at /snapshot/sdk-for-cli/lib/commands/generic.js:271:23
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

I've done a reset, deleted the configuration json, but nothing works, I can't switch the cli to self-signed.

👍 Expected behavior

Business as usual

👎 Actual Behavior

Can't use it

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?