-
Notifications
You must be signed in to change notification settings - Fork 31
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
Occasional rpcclient errors #64
Comments
i can confirm this issue. i used https://github.com/eaudeweb/freeipa-password-reset fork to make it run in general. First try to reset worked, second gave that RPC warning to me too |
ok. this error happens so often in a row thats quite impossible to reset a password for a user. the token is sent by mail, but when i enter i get the error nearly always. had to re-enter the token and new password 5 times until it worked. some info about version:
|
same issue happens when NOT using virtualenv, instead using the system's provided python libraries. With ipaclient version 4.9.11 (same like FreeIPA server itself) it happens the same way |
The errors comes frome https://github.com/freeipa/freeipa/blob/d7a27a24b92b85afde0bccbaaa09a3191c91c8c2/ipalib/backend.py#L63 basically |
dirty bug fix like the following works:
add a try-except block before connect() method
|
A cleaner solution could be to let the call to |
hi. Yeah indeed this is better: vim /srv/IPAPasswordReset/PasswordReset/app/pwdmanager.py
should get
|
Hi,
Every second time we call
/setpassword
, an error is shown: "rpcclient is already connected".Manually resending the request succeeds.
If not catched, the exeption trace is the following:
The text was updated successfully, but these errors were encountered: