VirtualBox

Ticket #5533 (closed defect: invalid)

Opened 4 years ago

Last modified 4 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

Description

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="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<IVirtualBox_openRemoteSession xmlns="http://www.virtualbox.org/">
     <_this xmlns="">236b56b8f496234b-0000000000000002</_this>
     <session xmlns="">236b56b8f496234b-0000000000000001</session>
     <machineId xmlns="">236b56b8f496234b-0000000000000003</machineId>
     <type xmlns="">vrdp</type>
     <environment xmlns="">x</environment>
     </IVirtualBox_openRemoteSession>
</s:Body>

Host Environment:
Windows 7 64bit
3GB RAM
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.

Attachments

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

Change History

Changed 4 years ago by achalupa

Changed 4 years ago by achalupa

comment:1 Changed 4 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.

www.oracle.com
ContactPrivacy policyTerms of Use