Open anarion80 opened 2 months ago
Hello @anarion80 , I just tested the email verification and it worked.
Here is a clue to resolve your problem:
If you have tried installing Domain Watchdog several times, a BEARER
cookie may have been installed on your browser. The keys to create this token may have been modified since this installation.
Can you try to delete this cookie and try again?
Alternatively, I think visiting http://192.168.2.100:8173/logout would be enough to delete this cookie.
I have personally already encountered this problem and I will see to implement the deletion of this cookie if the token is invalid.
Does this solve the problem?
No, unfortunately this doesn't work. There are no cookies as far as I can see:
I cleared all data anyway. I also logged out via logout link and no change :(
Perhaps those ERR_BAD_REQUEST errors have something to do with the situation?
I also moved to a proper public domain instead of internal IPs, but the result is exactly the same :(
I can't reproduce the error but I suspect a secure cookie issue.
The BEARER
cookie has the Secure attribute. This means that your browser will refuse this cookie if the connection is not secure.
Can you test on localhost or over a secure connection?
I hesitate to add an environment variable to bypass this protection.
I have set everything now under https://my.domain, so everything goes via secure connection. Then there is traefik reverse proxy that proxies to the server in docker. Still this doesn't change a thing. There is no mention of ANY cookie, bearer, secure cookie when looking at the browser network and application tabs.
After initial hurdles with docker install
If you've modified your compose.yml, you should share it as the cause to your issue might lie within it.
There is no mention of ANY cookie, bearer, secure cookie when looking at the browser network and application tabs.
Do note that the cookie is only set by the login endpoint.
I'm actually using Ansible to set all the containers, but this is very similar to docker-compose: https://github.com/anarion80/ansible-nas/blob/add_domain_watchdog/roles/domain_watchdog/tasks/main.yml
Other than validation of this email address, everything else seems to work fine after manually updating the DB for the user activation.
Hey @anarion80, I still can't reproduce this issue. Does this issue happen to others too? If not, I'll close this issue.
I haven't looked into your Ansible configuration but it might be coming from your environment, maybe you can try if it works without Ansible.
After initial hurdles with docker install I finally get to see the interface. Browser console is throwing a lot permission errors as stated in some other issues.
I configured email system
and registration email is sent and received correctly:
Worker:
Server:
But when I click on the link - nothing really happens, and after trying to log in I get the following:
In the browser all I get is this: