- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
could some one please help me on the issue below, i am using the vcloud director 5.5
[xxxxxx@localhost newVapp]$ python newVApp.py
base_url:https://10.10.51.8/api/v1.0
Traceback (most recent call last):
File "newVApp.py", line 37, in <module>
resp = urllib2.urlopen(base_url + '/login')
File "/usr/local/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/lib/python2.7/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/local/lib/python2.7/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python2.7/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/local/lib/python2.7/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 406: Not Acceptable