mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #578] User registration yes, login no #380
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#380
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @blacknet76 on GitHub (Aug 17, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/578
Hi all,
I have a problem to get it to work. I can register a new user but I can't login with it. I got always this error "An error has occurred. An unexpected error occurred." (Is translatet from German output). I can't see also a entry in the bitwareden.log file.
I checked the MySQL DB and the new user is added.
I hope anyone can help and I forgot a stupid setting in my docker-compose file.
Here are my docker-compose.yml
@dani-garcia commented on GitHub (Aug 18, 2019):
If there aren't any errors in the logfile, can you check the web browsers console? Or maybe the network requests tab?
@blacknet76 commented on GitHub (Aug 19, 2019):
In the logfile is no error reportet. In the browser console under network I get status 500 for token and for prelogin is the status 200
Header
Parameters
In the docker log I get following
@blacknet76 commented on GitHub (Aug 30, 2019):
Can no one help?
Or can anyone give me a working docker-compose file to compare and check out?
@mprasil commented on GitHub (Aug 30, 2019):
Do you have any proxy in front of the bitwarden instance?
@blacknet76 commented on GitHub (Aug 30, 2019):
@mprasil in my local test environment no, but I configure it on my production server and here I use traefik with the following labels
@mprasil commented on GitHub (Aug 30, 2019):
You might want to remove
WEBSOCKET_ENABLED: "true". The websocket connection won't work without appropriately configured proxy and client will fail trying to access it. When that happens clients tend to misbehave in weird ways, this is why it's disabled by default. So as a first step to troubleshoot it, try to run the server without and see if you can log in.@blacknet76 commented on GitHub (Aug 30, 2019):
No I can't login, same error and log entry as before
@mprasil commented on GitHub (Aug 30, 2019):
Also to minimize the possible failure scenarios, can you try without
DATABASE_URL? This will use local sqlite DB that will be gone once you restart the container, but that's good enough for test.Also remove
ENABLE_DB_WALvariable. It has no effect with MySQL and with sqlite the default is usually better option.@blacknet76 commented on GitHub (Aug 30, 2019):
Same error as before, here now my config from docker.
I have also deactivate RUST_BACKTRACE but with the same result.
I have tesed with a windows 10, Linux and with my mobile phone with LTE to make sure that it is not a problem on my computer and/or network.
Are certain packages needed on the host machine?
docker logs
And here a screenshot from the ff console
Screenshot
@mprasil commented on GitHub (Aug 30, 2019):
Okay this is really shooting in the dark, but I've noticed you have typo in the
SMTP_HOST(gamilinstead ofgmail) and the error logged saysfailed to lookup address information: Name or service not known. Could that be it?Edit: same for
SMTP_USERNAME@blacknet76 commented on GitHub (Aug 30, 2019):
Thanks for the hint to the typo error.
I checked the admin page and changed all settings copy/paste. And now it works like a charm.
I think I have here also a typo error. Thanks for your support.
@mprasil commented on GitHub (Aug 30, 2019):
Glad you figured that out!