ViViDboarder / vaultwarden_ldap

Automate LDAP invites to Vaultwarden
GNU General Public License v3.0
157 stars 26 forks source link

Can't sync LDAP user after upgrade to vaultarden 1.32.0 #163

Closed Tchad90 closed 3 weeks ago

Tchad90 commented 1 month ago

After upgrading vaultwarden to 1.32.0 version, ldap_sync cannot join :8080/admin

" Caused by: 0: Could not get list of existing users from server 1: http error making request reqwest::Error { kind: Status(429), url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(192.168.214.7)), port: Some(8080), path: "/admin/", query: None, fragment: None } } 2: HTTP status client error (429 Too Many Requests) for url (http://192.168.214.7:8080/admin/) 0: rust_begin_unwind at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:517:5 1: core::panicking::panic_fmt at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:100:14 2: core::result::unwrap_failed at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/result.rs:1616:5 3: vaultwarden_ldap::main note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace. Config read from file at /config.toml Error inviting users from ldap. Count 0: Failed to get existing users from server"

ViViDboarder commented 1 month ago

It looks like there is some rate limiting preventing you from hitting the admin endpoint. Try adjusting your sync interval.