Opened 15 years ago

Closed 15 years ago

#5533 closed defect (invalid)

StartRemoteSession fails with valid machineId

Reported by: achalupa Owned by:
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.

Attachments (2)

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

Download all attachments as: .zip

Change History (3)

by achalupa, 15 years ago

Attachment: soaptrace.log.txt added

by achalupa, 15 years ago

Attachment: vboxwebsrv.log.txt added

comment:1 by Klaus Espenlaub, 15 years ago

Resolution: invalid
Status: newclosed

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use