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?
try appwrite login --endpoint=https://mardy.dev.cloud/v1
I have tried that also. Same problem. The reason I want to use the cli is to avoid connecting repos for functions and sites so I can develop locally.
have you tried setting selfSigned to true?
Yes, with command (failed) and also in *.json config.
Is there any way to prevent appwrite to use ssl and just serve on http? I’ve read that appwrite generates a cert for local dev.
I will try again with a fresh install.
if on localhost it skips the ssl cert generation
you can see it skips it in container logs
Ok cool. Then the ssl with traefik works.
I did a fresh install and the cli could login on 127.0.0.1 but not localhost. In the browser I can visit localhost but not login. On 127.0.0.1 I can visit and login.
Will try one more fresh install on my gaming pc also just to verify.
In the end I think I will go with a dnsmasq container since the hosts file can’t handle wildcards.
Recommended threads
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...
- 1.9.6 Console handles all array columns ...
When creating or updating a row in the appwrite 1.9.6 web console, the form treats all list columns as a type string. Even if the column is a list of booleans, ...