Skip to content
Back

CLI login on self hosted with docker

  • 0
  • Self Hosted
tkorsback
20 Oct, 2025, 09:56

Hi,

I have a working docker setup with traefik in front of the services. Everything works as expected except for login with CLI.

I've tried with appwrite client -e https://mardy.dev.cloud/v1

and also with -p -k

The response I get is that the server is not running as expected. Error: Invalid endpoint or your Appwrite server is not running as expected.

Do anyone have an idea what it could be? Traefik is using a self-signed cert so maybe I need to turn something off for Appwrite?

TL;DR
Issue: Developer having trouble logging in via CLI to self-hosted Docker setup with Traefik in front of services. Error message received: "Invalid endpoint or your Appwrite server is not running as expected." Solution: The issue might be related to Traefik using a self-signed certificate. Try to disable certificate validation in the CLI authentication command or configure Traefik to work properly with the authentication process.
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