-
Notifications
You must be signed in to change notification settings - Fork 174
Vsphere answers to some request with binary blobs #20
Comments
@Plaristote, I have not had this happen to me, but I am only using read functions in the API. |
Well I first noticed the issue when asking for VIM::VirtualMachine#config. |
Hi i turn into the same issue urn:vim25/5.5 -> return binary blob and exception |
Greetings !
I have a little issue with rbvmomi.
It might actually come from the vsphere provider for all I know, but it turns out that some specific request, regardless of the context in which they're made, get answered with binary blobs.
I slightly modified trivial_soap.rb to output the response.body.
It usually contains XML, as is expected, but when I am trying to get the config attribute of a VirtualMachine managed object, it only contains unreadable data.
These are the headers from the failing requests:
I wonder why is this happening to me ?
I also wonder if it would be a good idea to add a check after all requests to check whether the vsphere sdk answer is intact ? That would allow to raise a more explicit exception (right now it's just Nokogiri freaking out because he can't find soapenv:Body in the response).
The text was updated successfully, but these errors were encountered: