VMware Cloud Community
TomHowarth
Leadership
Leadership

Connect-CIServer errors with NOT_ACCEPTABLE: The request has invalid accept header: . Supported API versions are: [31.0,

I have a two vCD 9.5 environments, one utilizing Centos based vCD Cells and one using the vCD 9.5 appliance.

pastedImage_0.png

On entering the above command with the correct FDQN of a cell and entering the correct user credentials (administrator equivalent) I receive the above return error message.

Google is of no help.

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos
4 Replies
RvdNieuwendijk
Leadership
Leadership

Which version of PowerCLI are you using? According to the VMware Product Interoperability Matrices, only PowerCLI 11.0.0 and later versions are compatible with vCloud Director 9.5

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
Reply
0 Kudos
TomHowarth
Leadership
Leadership

The latest,  upgraded to 11 as I thought that was the issue,  that said, I wonder if there are some legacy cmdlets hanging arround.

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos
TomHowarth
Leadership
Leadership

You were correct Robert, there was to 10 versions hanging around,  cleared them up and the error as changed to:

An error occured while sending the request.

I can see the request reaching the server but the cell tears down the connection instantaneously. 

it is as if there credentials do not have access to vCloud, but when I enter the command with incorrect credentials the response returned is

Unable to connect to vCloud Server XXXXXX:443/api . The server returned the following: Unauthorized

as expected.

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos
RoyalFlash
Enthusiast
Enthusiast

Hi all,

what is the solution?

Reply
0 Kudos