Ticket #5533 (closed defect: invalid)

Opened 9 years ago

Last modified 9 years ago

StartRemoteSession fails with valid machineId

Reported by: achalupa Owned by:
Priority: major Component: webservices
Version: VirtualBox 3.0.12 Keywords:
Cc: Guest type: Linux
Host type: Windows


The following error is being reported when issuing an OpenRemoteSession call using the web services:

VirtualBox error: Could not find a registered machine with UUID {00000000-0000-0000-0000-000000000000} (0x80bb0001)

The following sequence of web service calls were issued:
1) IWebSessionManager_logon
2) IVirtualBox_getVersion
3) IVirtualBox_findMachine
4) IWebSessionManager_getSessionObject
5) IVirtualBox_openRemoteSession
6) IWebSessionManager_logoff

The soap body shows that the proper values were sent to the web server:

<s:Body xmlns:xsi="" xmlns:xsd="">
<IVirtualBox_openRemoteSession xmlns="">
     <_this xmlns="">236b56b8f496234b-0000000000000002</_this>
     <session xmlns="">236b56b8f496234b-0000000000000001</session>
     <machineId xmlns="">236b56b8f496234b-0000000000000003</machineId>
     <type xmlns="">vrdp</type>
     <environment xmlns="">x</environment>

Host Environment:
Windows 7 64bit
AMD Athlon 64 x2 dual core 4400+

Web Services are being invoked via C# application using .NET 3.5 Service References.

I attached 2 files:
soaptrace.log - This shows all the soap calls between the client application and the vboxwebsrv.
vboxwebsrv.log - Console of vboxwebsrv program in verbose mode.

Note: No VBox.log was generated since the start didn't actually occur.


soaptrace.log.txt Download (27.4 KB) - added by achalupa 9 years ago.
vboxwebsrv.log.txt Download (4.1 KB) - added by achalupa 9 years ago.

Change History

Changed 9 years ago by achalupa

Changed 9 years ago by achalupa

comment:1 Changed 9 years ago by klaus

  • Status changed from new to closed
  • Resolution set to invalid

You're passing a MOR to the machine object whereas the API expects the UUID of the machine. Since both types are represented as strings they're easy to mix up.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use