mirror of
https://github.com/sirtoobii/vaultwarden_ldap_sync.git
synced 2026-04-26 20:45:54 +03:00
[GH-ISSUE #7] Cannot sync to vaultwarden #6
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden_ldap_sync#6
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 @TheLaskY on GitHub (Aug 19, 2024).
Original GitHub issue: https://github.com/sirtoobii/vaultwarden_ldap_sync/issues/7
When i start the containers, vaultwarden and vaultwarden_ldap_sync, an error happens:
2024-08-19:08:40:44 ERROR [sync.py] Something went wrong. Error: HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /admin/users (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f63be4e2880>: Failed to establish a new connection: [Errno 111] Connection refused'))
For the development purposes, vaultwarden url is set as http://127.0.0.1:80
Admin Token is set to root
LDAP binding is good.
Here is my docker-compose:
Really hope to have some news to this project, never been so close to syncing AD users to vaultwarden!
@sirtoobii commented on GitHub (Aug 19, 2024):
Hey @TheLaskY
This is most likely due to Docker's internal network configuration. You have not set networking mode to "host" and therefore
127.0.0.1is only valid inside the docker container.To make it work, you have to set the Vaultwarden URL to something like
http://vaultwarden@TheLaskY commented on GitHub (Aug 19, 2024):
Hey!
Vacations made me forget about simple things to check, replacing 127.0.0.1 by my private ip works really fine now!
I'm closing this issue :D