Skip to content

Default user and password #254

Closed
Closed

Description

I have installed appwrite on a digital ocean server with docker compose. How do I log in to the dashboard the first time?
I have tried to sign up but get a message that "Access from this client host is forbidden. URL host must be one of..."

Activity

  1. eldadfux commented on Nov 12, 2019

    @eldadfux
    Member

    Hey @kervi, what is the URL you have in your browser while signing up? and what version of Appwrite are you using?

  2. eldadfux commented on Nov 12, 2019

    @eldadfux
    Member

    Checked my own instance on DigitalOcean with appwrite.xx.sample.com pointing to my droplet from my local /etc/hosts and everything seems to work OK. Please post your complete error response.

  3. eldadfux commented on Nov 12, 2019

    @eldadfux
    Member

    We had solved a similar issue in the past by allowing local hostname as a default whitelisted client in this commit:
    a7d8a8e#diff-fec850b5753a5278039a717f479b6f13

    Try updating Appwrite docker image in your docker-compose.yml to 0.3.1, and run docker-compose.yml up -d again.

    If this isn't working it might be an issue with wrong detection of the forwarded port number, I'll check this direction in the meanwhile.

  4. eldadfux commented on Nov 14, 2019

    @eldadfux
    Member

    I just realized that your Appwrite instance is wrongly thinking that its hostname is 127.0.0.1. This is probably because of the proxy you have in front of him. Do you know if your proxy is passing an X-Forwarded-Host header or something similar? If this is the case, we can add a quick fix for Appwrite to try and get the X-Forwarded-Host value before attempting to get the local hostname variable.

  5. eldadfux commented on Nov 18, 2019

    @eldadfux
    Member

    @kervi are you using this proxy only for adding SSL certificates, or is there something else you need it for?

    I have just added an option to easily pass custom SSL certificate. It's going to be released in our next 0.4 version. I'll write more about it in the release notes.

  6. eldadfux commented on Nov 23, 2019

    @eldadfux
    Member

    @monatis at the first stage you will be allowed to add your own certificate (signed or self-signed) to the Appwrite docker container. A Letsencrypt integration can be a really cool feature for a production deployment. Can you suggest any good docker container daemon that we can use for this?

  7. monatis commented on Nov 23, 2019

    @monatis

    Hi @eldadfux, I think that my username was mistaken while you were intending to mention @ghost. Anyway, I'm happy to share my ideas. You can use Certbot Docker image for Letsencrypt integration; however, it's somewhat tricky to implement. You can have a look at this useful tutorial, which also has sample docker-compose.yml file and shell scripts. It seems that you need to provide a shell script in this case to get everything up and running smoothly. This shell script might walk through the configuration steps to ask for paths to signed certificates or automatic certificate obtaining. This shell script might also get the latest docker-compose.yml file and change environment variables in it to values obtained from the user. It could also be installed to a bin directory, so that we could simply do, for instance, appwrite start or appwrite stop.

  8. TorstenDittmann commented on Apr 6, 2021

    @TorstenDittmann
    Contributor

    This issue had no recent activity. It will be closed if no further activity occurs.

    Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions