-
Notifications
You must be signed in to change notification settings - Fork 12
Content type text/html not supported #68
Comments
@jrgarcia : Any idea why would VC return a |
vCenter Version is 6.5.0.30000 Build 14020092 |
@EleanorRigby The only instance where this would be likely to happen would be if the configuration object is misconfigured. Can you send me what is being used for the configuration? It doesn't appear that it would change anything for this particular issue, but I would also suggest using a newer version than |
|
Above is config object and the perm link for code is : https://github.com/cloudfoundry/bosh-vsphere-cpi-release/blob/882f90114b67332c94e1ba83023ef3de9508f15b/src/vsphere_cpi/lib/cloud/vsphere/attach_tag_to_vm.rb#L94 |
@EleanorRigby That looks correct. What is the value of |
@jrgarcia : I think that info is on customer env and will need to be fetched. @swagataroy : Can we get what was vcenter_host set to in cpi config? |
@jrgarcia : Do you think presence of |
@EleanorRigby The scheme should be correct as long as their vCenter is actually available on |
Describe the bug
When trying to open a new connection through session API
session_api = VSphereAutomation::CIS::SessionApi.new(api_client)
The API client errors out saying
Content-Type is not supported: text/html
in vsphere-automation-vcenter-0.1.0/lib/vsphere-automation-vcenter/api_client.rb:159:in `deserialize'
How to reproduce
vCenter version : Version 6.5.0.30000 Build 14020092
Used automation-sdk version 0.1.0
ruby 2.4.2
# minimal code to reproduce issue
Expected behavior
Error should not occur
Versions
Dev Environment:
Additional notes
The text was updated successfully, but these errors were encountered: