Back

[SOLVED] Where to locate web page to confirm password recovery

  • 0
  • Self Hosted
  • Accounts
  • Web
day5012
12 May, 2023, 19:13

I mean, if I use docker container (in my case recovery) in Details tab, everything works. When you enter chowapp.site, it throws you to the password recovery page. But if I specify this on the custom locations tab, then when I enter show chowapp/recovery, I have a 404 error. Maybe I'm moving in the wrong direction at all, because this is my first big project.

TL;DR
The user is having issues with a password recovery page on their website. They are looking for help in locating the web page and fixing any errors. They mention trying different configurations and changing the hostname, but nothing seems to be working. They also mention that the recovery page doesn't need to be on the same domain as their appwrite instance. By browsing to the URL, the recovery page seems to work fine. However, when specifying the custom location in the settings, it results in a 404 error. The user is unsure if they are moving in the right direction with their project. Solution: It is recommended for the user to double-check
Drake
12 May, 2023, 19:17

if I use docker container (in my case recovery) in Details tab, everything works

What do you mean?

Drake
12 May, 2023, 19:17

you said you got this running. how did you verify it's running? What did you browse to in your browser?

day5012
12 May, 2023, 19:27

I mean recovery from npm_gateway, where I added docker container which contains html file earlier.

TypeScript
        "Name": "npm_gateway",
        "Id": "08281cac18ef52c3e017952eda1567c50a09c6d2ed2694b3b7a3dc948fc92682",
        "Created": "2023-05-11T14:35:48.217696676+03:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
 ///
        "Containers": "217b1763e5f2717d6c42bde61d71fbadae330e45a5b347943e35068efd82e066": {
                "Name": "recovery",
                "EndpointID": "35d81b3ef7aec828acadb090ca4a1c84fbe355ec52fe940ccf56553c123a0954",
                "MacAddress": "02:42:ac:15:00:02",
                "IPv4Address": "172.21.0.2/16",
                "IPv6Address": ""
            },
            "32ccc54dd367f7d479181cf278b4dd7a351f36304a11412e871b1fd30edd0bf6": {
                "Name": "npm-app-1",
                "EndpointID": "42a6efa66fbb9ce7daa30eba67cca6302ec37d700141f0f68f5f6d5a31f9f1d1",
                "MacAddress": "02:42:ac:15:00:03",
                "IPv4Address": "172.21.0.3/16",
                "IPv6Address": ""
            },
            "efad25ce4ae75f56ad7cbb1099ab9ce7c55e85491160e410e69c379cf113a60b": {
                "Name": "appwrite-traefik",
                "EndpointID": "9f306ada0577d375443d23ed6b2fbd12b1c7f4d027889b1baba76db23c6ee0e8",
                "MacAddress": "02:42:ac:15:00:04",
                "IPv4Address": "172.21.0.4/16",
                "IPv6Address": ""
            }
        },
        "Options": {},
        "Labels": {
            "com.docker.compose.network": "gateway",
            "com.docker.compose.project": "npm",
            "com.docker.compose.version": "2.15.1"
        }
    }
Drake
12 May, 2023, 19:28

you said you browsed to it and it worked...what did you browse to?

day5012
12 May, 2023, 19:29

Just browsing https://chowapp.site and I got to the needed page

Drake
12 May, 2023, 19:30

Do you see the recovery page when you browse to this?

Drake
12 May, 2023, 19:31

How do you see the recovery page?

day5012
12 May, 2023, 19:34

I just temporarily replaced it to check if recovery works as hostname. Now I have returned everything and the appwrite console returns on request. Previously, it opened as needed.

Drake
12 May, 2023, 19:38

What exactly did you put in the url without NPM?

Drake
12 May, 2023, 19:39

How about you try putting recovery/recovery for the hostname?

day5012
12 May, 2023, 19:44

I can't understand you. Checked through https://chowapp.site/. As forward hostname used recovery with the same protocol and port.

day5012
12 May, 2023, 19:46

I didn't help.

Drake
12 May, 2023, 19:47

would you please share a screenshot of your npm config?

day5012
12 May, 2023, 19:49

Where I can find that?

Drake
12 May, 2023, 19:50

these

day5012
12 May, 2023, 19:52

I haven't changed them, they are the same so far.

Drake
12 May, 2023, 19:52

i asked you to change hte hostname from recovery to recovery/recovery

day5012
12 May, 2023, 19:54
Drake
12 May, 2023, 19:58

would you please share the output of docker inspect recovery?

day5012
12 May, 2023, 20:01
Drake
12 May, 2023, 20:07

is your recovery page blank?

Drake
12 May, 2023, 20:13

btw, your recovery page doesn't need to be on the same domain as your appwrite instance

day5012
12 May, 2023, 20:18

It contained a simple form for entering a password and confirmation, but I only noticed that it is empty and the Index OF was written when accessing by IP. Before that, I was restarting the server, perhaps because of this. Anyway thanks for taking the time. It seems to me that I need to completely go through all the stages of creation, because I have recreated and changed a lot of things, and because of this something is probably going wrong.

Drake
12 May, 2023, 20:21

ya..something is wrong with your recovery page. get that working first and test such that you can access it directly. then put nginx proxy manager in front of it

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