CiscoUcs / ucsmsdk

Python SDK for Cisco UCSM
Other
80 stars 60 forks source link

Launch GUI through SDK fails #209

Closed sgcse01 closed 10 months ago

sgcse01 commented 3 years ago

Hi,

I was trying to launch gui through SDK and it fails. error message is ---------------snip-----------------

handle.login() True ucs_gui_launch(handle) 2021-07-19 16:48:41,595 - ucs - DEBUG - AuthToken: <54707323375476282137411> 2021-07-19 16:48:41,595 - ucs - DEBUG - UCSM URL: http://10.30.83.23:80/ucsm/ucsm.jnlp?ucsmToken=54707323375476282137411 2021-07-19 16:48:41,595 - ucs - DEBUG - javaws path: </usr/lib/jvm/jre1.8.0_291/bin/javaws> 2021-07-19 16:48:41,772 - ucs - DEBUG - Date: Mon, 19 Jul 2021 15:48:40 GMT Server: Apache Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Length: 212 Connection: close Content-Type: text/html; charset=iso-8859-1

Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.8/dist-packages/ucsmsdk/utils/ucsguilaunch.py", line 121, in ucs_gui_launch raise e File "/usr/local/lib/python3.8/dist-packages/ucsmsdk/utils/ucsguilaunch.py", line 75, in ucs_gui_launch source = handle.post(uri=ucsm_gui_url) File "/usr/local/lib/python3.8/dist-packages/ucsmsdk/ucssession.py", line 243, in post response = self.__driver.post(uri=uri, data=data, read=read, File "/usr/local/lib/python3.8/dist-packages/ucsmsdk/ucsdriver.py", line 262, in post response = opener.open(request, timeout=timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found -----------------------------snip-------------------------------------------

UCS version is 4.1(3c) result is same with python 2.7

Thanks, Sunil

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.