-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Bitwarden installation Create Account button does not function. #2584
Comments
It appears some processes were aborted. Log file from Bitwarden container:
|
I did learn a bit more from the logs from those processes. The error for admin, api, and icons happened in Program.cs on the line that says "Host". For identity, it was in Startup.cs on line 36, "var globalSettings = services.AddGlobalSettingsServices(Configuration, Environment);". |
Hello, |
Do you have the same reports in your logs as I do? |
No, i don't really see errors in my logs. Just nothing happens when pressing the button. It also does not produce a message in the logs. 2023-01-17 13:36:16,615 INFO Included extra file "/etc/supervisor.d/admin.ini" during parsing |
Hi, i swithed to SSL based on this topic: dani-garcia/vaultwarden#153 now the create account is working for me. Hope this helps for you. |
I can't seem to get the SSL version to work. I made keys and put them in /etc/bitwarden. I set the env variables concerning SSL. I'm not sure what's going on here. |
Hi @ajkelsey can you post the full error message you are getting from |
api.log
identity.log
|
@ajkelsey Have you supplied a |
Yes, I have those in settings.env. |
@ajkelsey Can you check the format of |
@justindbaur I used the copy feature on the website. Is there a way to bring up the same ID and KEY again so I can compare? And to make sure I didn't paste the two in the wrong place. The ID has the dashes and the KEY does not? I have 36 characters in the ID (including dashes, 32 without), and 20 in the KEY. |
@ajkelsey There is not an easy way to do that but you can always go to bitwarden.com/host and request a new one. You'll just have to export your license again with that new installation key. But it's not even saying that it's the wrong installation id or key it's just failing to coerce the string there to a valid C# |
@justindbaur I ran it through the code snippet and it worked just fine. I think I'll try a new getting a new ID and KEY. |
I attempted with a new id and key, no luck. Could it be my certificate? |
Are you using the |
docker compose |
I have come across the same issue while running on Ubuntu 20.04 as well. I am running in a HyperV machine. I used the ./bitwarden.sh install method and then rebuilt after editing the env file. Now I start it using ./bitwarden.sh start But I have also tried using the docker compose method with the same outcome. As well as docker run. |
dani-garcia/vaultwarden#153 (comment) Apparently this is due to an error in how web browsers are handling some of the APIs, but this is by design. However that information about the API only being called at creation is incorrect now. Considering that article is from 2018 I am not surprised. I have not been able to log into the server using an unsecure connection, unless it is on the host machine itself. Alternatively and more preferably, Enable SSL. I have not had luck with this so far, but instructions can be found here: If you get REALLY Desperate... On Chrome, open chrome://flags and search for the flag "Insecure origins treated as secure". Add the insecure context domains you want to test on and relaunch the browser. Works for me. The same can be accomplished in Edge by typing EDGE://FLAGS into the url bar and searching the same way as you do with Chrome. I haven't figured out the right combination for FireFox yet. |
Previously people were using Edge or Firefox to get around this, but they have baked in some of the changes from chrome with the Cryptographic API blocks on unsecure pages. I fought with Internet Explorer, but it had issues loading the login landing page from the very beginning. One more tid bit of information.... you can also bypass this error by using the machine that bitwarden is installed on by using a local host connection.
So you should be able to use Web Cryptographi Api on http://localhost using the machine that bitwarden is installed on in order to create accounts as well. |
Are you using SSL? Are you getting errors in the browser console? Bitwarden requires HTTPS, either from a provided cert or fronting the container with a proxy that has HTTPS. This should like what would happen without HTTPS. |
Did you chain host certificate, intermediate certificate and your CA certificate in the ssl.crt (and in this order)? I have three files in my ./bitwarden directory ssl.crt, ssl.key and ca.crt, and the ssl.crt contains the three above mentioned certs in one file, right below each other. Excerpt from my settings.env file pertaining to SSL
|
@haraldinho2000 @kspearrin |
Ok. This is what I have done. I uninstalled all of the Unified containers and images. I reinstalled with a new self-signed certificate and made some minor changes to the config. In settings.env, I made my domain name the ip address of the machine, and re-configured the cert and key path. docker compose up and it started installing. However, the admin process kept getting terminated. This is different than what I have posted above where several were getting terminated.
|
Looks like the admin service is failing. Check out the logs in /etc/bitwarden/logs/admin.log and see why. |
It looks like it cannot connect to the database. I tried changing BW_DB_SERVER to the ip address with no success.
|
I got it working! I set BW_DB_SERVER=db to match the settings.env example provided. |
Is this still a known issue when using a reverse proxy like Traefik to provide SSL? |
This helped me. I could not get the "Create Account" button to do anything over HTTP. |
Steps To Reproduce
Expected Result
Advancement to the next page was expected.
Actual Result
Nothing. Remained at account creation page with no changes.
Screenshots or Videos
No response
Additional Context
No response
Githash Version
Above URL returned bad gateway.
Environment Details
Database Image
mariadb:10
Issue-Link
#2480
Issue Tracking Info
The text was updated successfully, but these errors were encountered: