[GH-ISSUE #190] libvir: XML-RPC error : authentication failed #146

Closed
opened 2026-02-27 16:38:08 +03:00 by kerem · 1 comment
Owner

Originally created by @Paul-LKW on GitHub (Jan 10, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/190

I just clean installed version 4.1 and I am using Django version 1.6.1 for the installation.
However I could adding a Hosting without any issue, but once I click any feature button the screen shows "Oops! 500 Internal Server Error".
Because I am using manage.py runserver 0:8000 for testing currently and I could see the error message as below;

/var/www/webvirtmgr/instance/views.py:8: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
from django.utils import simplejson
libvir: XML-RPC error : authentication failed: authentication failed
/var/www/webvirtmgr/create/views.py:40: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
errors.append(err.message)

How could I fix this.

Many Thanks

Originally created by @Paul-LKW on GitHub (Jan 10, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/190 I just clean installed version 4.1 and I am using Django version 1.6.1 for the installation. However I could adding a Hosting without any issue, but once I click any feature button the screen shows "Oops! 500 Internal Server Error". Because I am using manage.py runserver 0:8000 for testing currently and I could see the error message as below; /var/www/webvirtmgr/instance/views.py:8: DeprecationWarning: django.utils.simplejson is deprecated; use json instead. from django.utils import simplejson libvir: XML-RPC error : authentication failed: authentication failed /var/www/webvirtmgr/create/views.py:40: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 errors.append(err.message) How could I fix this. Many Thanks
kerem closed this issue 2026-02-27 16:38:08 +03:00
Author
Owner

@Paul-LKW commented on GitHub (Jan 11, 2014):

Problem Solved, it is due to I am not using root during "saslpasswd2 -a libvirt Administrator", so during the Hosting connection I changed to use Administrator and no more error.

<!-- gh-comment-id:32091815 --> @Paul-LKW commented on GitHub (Jan 11, 2014): Problem Solved, it is due to I am not using root during "saslpasswd2 -a libvirt Administrator", so during the Hosting connection I changed to use Administrator and no more error.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#146
No description provided.