Mail invitation localhost #438

Closed
opened 2026-02-04 20:31:39 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @shd128 on GitHub (Oct 8, 2019).

Hi, I'm having an issue with the email invitation.
The mail is sent correctly but in the "Join Organization Now" button the link goes to localhost, not my server's IP adress.
I already changed "localhost" for mi server ip and port in /root/bitwarden_rs-1.8.0/src/config.rs

/// General settings
settings {
/// Domain URL |> This needs to be set to the URL used to access the server, including 'http[s]://'
/// and port, if it's different than the default. Some server functions don't work correctly without this value
domain: String, true, def, "http://XXX.XXX.XXX.XXX:8000".to_string();

Am I missing something?

Originally created by @shd128 on GitHub (Oct 8, 2019). Hi, I'm having an issue with the email invitation. The mail is sent correctly but in the "Join Organization Now" button the link goes to localhost, not my server's IP adress. I already changed "localhost" for mi server ip and port in /root/bitwarden_rs-1.8.0/src/config.rs /// General settings settings { /// Domain URL |> This needs to be set to the URL used to access the server, including 'http[s]://' /// and port, if it's different than the default. Some server functions don't work correctly without this value domain: String, true, def, "http://XXX.XXX.XXX.XXX:8000".to_string(); Am I missing something?
Author
Owner

@BlackDex commented on GitHub (Oct 8, 2019):

@shd128, i wonder why you changed those settings in the source and not the .env file, or via the docker run -e options.

If you changed and compiled the source, then i think something is overwriting that with some other option either within the docker run -e or config.json.

To be sure, check http://your-domain.com:8000/admin and see what the current loaded settings are.

@BlackDex commented on GitHub (Oct 8, 2019): @shd128, i wonder why you changed those settings in the source and not the .env file, or via the docker run -e options. If you changed and compiled the source, then i think something is overwriting that with some other option either within the `docker run -e` or `config.json`. To be sure, check http://your-domain.com:8000/admin and see what the current loaded settings are.
Author
Owner

@shd128 commented on GitHub (Oct 8, 2019):

BlackDex, I changed the Domain URL under General Setting and that did the
trick.
Thanks!

El mar., 8 oct. 2019 a las 8:57, BlackDex (notifications@github.com)
escribió:

@shd128 https://github.com/shd128, i wonder why you changed those
settings in the source and not the .env file, or via the docker run -e
options.

If you changed and compiled the source, then i think something is
overwriting that with some other option either within the docker run -e
or config.json.

To be sure, check http://your-domain.com:8000/admin and see what the
current loaded settings are.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dani-garcia/bitwarden_rs/issues/647?email_source=notifications&email_token=AHRTSBTAAU7RG4LPB2LPXIDQNRYRJA5CNFSM4I6KBQK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAT4XJA#issuecomment-539478948,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHRTSBTJ2THI45MNVJUSWWDQNRYRJANCNFSM4I6KBQKQ
.

--
Lic. Sabrina Lanzotti

@shd128 commented on GitHub (Oct 8, 2019): BlackDex, I changed the Domain URL under General Setting and that did the trick. Thanks! El mar., 8 oct. 2019 a las 8:57, BlackDex (<notifications@github.com>) escribió: > @shd128 <https://github.com/shd128>, i wonder why you changed those > settings in the source and not the .env file, or via the docker run -e > options. > > If you changed and compiled the source, then i think something is > overwriting that with some other option either within the docker run -e > or config.json. > > To be sure, check http://your-domain.com:8000/admin and see what the > current loaded settings are. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/dani-garcia/bitwarden_rs/issues/647?email_source=notifications&email_token=AHRTSBTAAU7RG4LPB2LPXIDQNRYRJA5CNFSM4I6KBQK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAT4XJA#issuecomment-539478948>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AHRTSBTJ2THI45MNVJUSWWDQNRYRJANCNFSM4I6KBQKQ> > . > -- *Lic. Sabrina Lanzotti*
Author
Owner

@dani-garcia commented on GitHub (Oct 8, 2019):

Nice to know that fixed it, I think we can close this now.

@dani-garcia commented on GitHub (Oct 8, 2019): Nice to know that fixed it, I think we can close this now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#438