Skip to content
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

Cannot register on HTTP site / HTTPS site not working #3660

Closed
1 task
Lammiwinks opened this issue Jan 11, 2024 · 2 comments
Closed
1 task

Cannot register on HTTP site / HTTPS site not working #3660

Lammiwinks opened this issue Jan 11, 2024 · 2 comments
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment

Comments

@Lammiwinks
Copy link

Steps To Reproduce

  1. Deploy fresh using docker compose
  2. Go to IP address https://ipaddress:port (I specified port 90 instead of 80)
  3. Fill in the form
  4. Click register

Expected Result

User registration works

Actual Result

Button won't click

Screenshots or Videos

Screenshot 2024-01-11 at 11 14 18 am
Screen.Recording.2024-01-11.at.11.10.17.am.mov

Additional Context

So I've found that the error is related to the web-crypto-function.service.ts. Googling this shows that this service only supports HTTPS. So I try and browse to the same IP using the HTTPS port (I've set it to 442) and it won't load the page.

So I think the https portal may also not be working?

Githash Version

can't load this

Environment Details

self hosted on raspberry pi via docker image.

Database Image

No response

Issue-Link

#2480

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@Lammiwinks Lammiwinks added bug bw-unified-deploy An Issue related to Bitwarden unified deployment labels Jan 11, 2024
@Lammiwinks
Copy link
Author

Update: enabled SSL and now can use HTTPS and the button works! getting a DB migration error now but troubleshooting that separately. I think the recommend settings.env should have this enabled as user registration is broken without it.

@sammbw
Copy link

sammbw commented Jan 17, 2024

Hello @Lammiwinks - thanks for getting in touch, and I'm glad to hear your environment is now working as expected. SSL is an optional setting - but the recommended default in settings.env is for SSL to be enabled - this provides flexibility for deployments where an SSL proxy may be used.

@sammbw sammbw closed this as completed Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment
Projects
None yet
Development

No branches or pull requests

2 participants