Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert_to_ucs_python method in ucsmsdk is not working #241

Open
shashire opened this issue Feb 20, 2024 · 0 comments
Open

convert_to_ucs_python method in ucsmsdk is not working #241

shashire opened this issue Feb 20, 2024 · 0 comments

Comments

@shashire
Copy link

https://ucsmsdk.readthedocs.io/en/latest/ucsmsdk_ug.html#convert-to-ucs-python

Calling ucs_gui_launch(handle)fails with urllib.error.HTTPError: HTTP Error 404: Not Found
because the URL being used in ucs_gui_launch does not exist.

Relevant snippet from ucs_gui_launch.py:
71 javaws_path = ucsgenutils.get_java_installation_path()
72 log.debug("javaws path: <%s>" % javaws_path)
73 if javaws_path is not None:
74 # source = urllib2.urlopen(ucsm_url).read()
75 source = handle.post(uri=ucsm_gui_url) <<<<----fails here
76 jnlp_dir = tempfile.gettempdir()

This is the URL used in line 75:
(Pdb) ucsm_gui_url
'https://10.105.212.180:443/ucsm/ucsm.jnlp?ucsmToken=65413820767099957765191'

I tried in chrome manually, the above URL does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant