id summary reporter owner description type status component version resolution keywords cc guest host 9394 vboxwebsrv authentication failure - can't find VRDPAuth2 or VRDPAuth Scott LeFevre "I'm running VirtualBox-4.1-4.1.0_73009_rhel6-1.x86_64 rpm on CentOS 6.0 x86_64. I have vboxwebsrv configured to run as the standard service vboxweb-service with verbose logging as root for testing. When I attempt to use the 'default' authentication, it fails. Example: /etc/default/virtualbox reads: {{{ VBOXWEB_USER=root }}} As root, I run: {{{ # VBoxManage setproperty websrvauthlibrary default # service vboxweb-service restart I run the python sample from the SDK with the following results. # make run !!!! Don't forget to start webserver with ""vboxwebsrv -t 18083"" !!! PYTHONPATH=../lib python ../../../glue/python/sample/vboxshell.py -w init exception: Element ""faultstring"" missing from complexType [Element trace: /SOAP-ENV:Envelope/SOAP-ENV:Body/SOAP-ENV:Fault] Traceback (most recent call last): File ""/usr/lib/python2.6/site-packages/vboxapi/__init__.py"", line 522, in __init__ self.vbox = self.platform.getVirtualBox() File ""/usr/lib/python2.6/site-packages/vboxapi/__init__.py"", line 428, in getVirtualBox return self.connect(self.url, self.user, self.password) File ""/usr/lib/python2.6/site-packages/vboxapi/__init__.py"", line 444, in connect self.vbox = self.wsmgr.logon(self.user, self.password) File ""/root/Downloads/vbox/sdk/bindings/webservice/python/lib/VirtualBox_wrappers.py"", line 8098, in logon val=self.mgr.getPort().IWebsessionManager_logon(req) File ""/root/Downloads/vbox/sdk/bindings/webservice/python/lib/VirtualBox_services.py"", line 7354, in IWebsessionManager_logon response = self.binding.Receive(IWebsessionManager_logonResultMsg.typecode) File ""/usr/lib/python2.6/site-packages/ZSI/client.py"", line 503, in Receive return _Binding.Receive(self, replytype, **kw) File ""/usr/lib/python2.6/site-packages/ZSI/client.py"", line 430, in Receive msg = FaultFromFaultMessage(self.ps) File ""/usr/lib/python2.6/site-packages/ZSI/fault.py"", line 253, in FaultFromFaultMessage pyobj = ps.Parse(FaultType.typecode) File ""/usr/lib/python2.6/site-packages/ZSI/parse.py"", line 323, in Parse return how.parse(self.body_root, self) File ""/usr/lib/python2.6/site-packages/ZSI/TCcompound.py"", line 234, in parse '"" missing from complexType', ps.Backtrace(elt)) EvaluateException: Element ""faultstring"" missing from complexType [Element trace: /SOAP-ENV:Envelope/SOAP-ENV:Body/SOAP-ENV:Fault] vbox> help connect connect: Connect to remote VBox instance: connect http://server:18083 user password vbox> connect http://127.0.0.1:18083 root pAsSwOrD Element ""faultstring"" missing from complexType [Element trace: /SOAP-ENV:Envelope/SOAP-ENV:Body/SOAP-ENV:Fault] vbox> quit }}} The vboxwebsrv.log reads in part as follows: {{{ VirtualBox web service 4.1.0 r73009 linux.amd64 (Jul 19 2011 14:45:00) release log 00:00:00.009 main Log opened 2011-08-08T01:42:00.670760000Z 00:00:00.009 main OS Product: Linux 00:00:00.009 main OS Release: 2.6.32-71.29.1.el6.x86_64 00:00:00.009 main OS Version: #1 SMP Mon Jun 27 19:49:27 BST 2011 00:00:00.009 main OS Service Pack: #1 SMP Mon Jun 27 19:49:27 BST 2011 00:00:00.009 main Executable: /usr/lib/virtualbox/vboxwebsrv 00:00:00.009 main Process ID: 11375 00:00:00.009 main Package type: LINUX_64BITS_RHEL_6 00:00:00.028 main Pumping COM event queue 00:00:00.028 main Pumping COM event queue 00:00:00.028 Watchdog Watchdog thread started 00:00:00.028 Watchdog Watchdog: sleeping 5 seconds 00:00:00.030 SQPmp Socket connection successful: host = default (localhost), port = 18083, master socket = 9 00:00:05.028 Watchdog Watchdog: checking 0 sessions 00:00:05.029 Watchdog Watchdog: sleeping 5 seconds 00:00:09.342 SQPmp Request 1 on socket 10 queued for processing (1 items on Q) 00:00:09.342 SQW01 New SOAP thread started 00:00:09.342 SQW01 Processing connection from IP=127.0.0.1 socket=10 (0 out of 1 threads idle) 00:00:09.342 SQW01 -- entering __vbox__IWebsessionManager_USCORElogon 00:00:09.343 main Pumping COM event queue 00:00:09.344 main Pumping COM event queue 00:00:09.345 main Pumping COM event queue 00:00:09.345 SQW01 external authentication library is 'VBoxAuth' 00:00:09.345 SQW01 authenticate(): Could not resolve import 'VRDPAuth2'. Error code: VERR_SYMBOL_NOT_FOUND 00:00:09.345 SQW01 authenticate(): Could not resolve import 'VRDPAuth'. Error code: VERR_SYMBOL_NOT_FOUND 00:00:12.008 SQW01 authenticate(): result of AuthEntry(): 0 00:00:12.009 Watchdog Watchdog: checking 1 sessions 00:00:12.009 Watchdog Watchdog: tNow: 1312767730, session timestamp: 0 00:00:12.009 Watchdog Watchdog: Session F5E6CDFC39D97766 timed out, deleting 00:00:12.009 Watchdog Watchdog: sleeping 5 seconds 00:00:12.009 SQW01 -- leaving __vbox__IWebsessionManager_USCORElogon, rc: 0x80004005 00:00:15.029 main Pumping COM event queue 00:00:17.009 Watchdog Watchdog: checking 0 sessions 00:00:17.009 Watchdog Watchdog: sleeping 5 seconds }}} If I set the authentication to 'null' (ie. VBoxManage setproperty websrvauthlibrary null) it works fine. " defect closed webservices VirtualBox 4.1.0 worksforme other Linux