Skip to content
Back

cli 5 vs 6

  • 0
  • Self Hosted
  • Auth
  • Tools
Bouahaza
23 Oct, 2024, 16:53

Hello, I'm enable to login on self hosted (appwrite 1.6) via cli 5.0.5 but unable on 6.1.0

Error :

TypeScript
AppwriteException [Error]: fetch failed
    at Client.call (/snapshot/sdk-for-cli/lib/client.js:192:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async accountCreateEmailPasswordSession (/snapshot/sdk-for-cli/lib/commands/account.js:1016:16)
    at async loginCommand (/snapshot/sdk-for-cli/lib/commands/generic.js:57:9) {
  code: undefined,
  response: undefined
}
TL;DR
Developers are experiencing difficulties logging in via CLI on self-hosted Appwrite 1.6 using version 6.1.0 compared to 5.0.5. Error message indicates a fetch failure. Make sure the endpoint is correct running `appwrite client --debug`.
Steven
23 Oct, 2024, 16:58

is the endpoint correct when you run appwrite client --debug?

Bouahaza
23 Oct, 2024, 16:58

Yes, it's the same on twice cli

Bouahaza
23 Oct, 2024, 16:58

And selfSigned = true

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more