Try this

https://cloudstack.apache.org/api/apidocs-4.18/apis/createConsoleEndpoint.html


On Wednesday, August 14, 2024, Fariborz Navidan <mdvlinqu...@gmail.com>
wrote:

> Hello Everyone,
>
> I am using "getCommandQuery" API passing "cmd=access", "vm" and "apiKey"
> parameters to integrate console access to our own client panel. We have two
> ACS installations, v4.15.0.0 and 4.18.2.1. If I call the API against v4.15
> management server it returns a query string for console access and by
> appending it to the management server URL I'm able to view the VM's console
> in the browser. However, If I run the same command against v4.18 and append
> the returned query string to the management server URL, I just get "failed"
> string displayed in the browser. The query string returned from vf4.18 has
> all the parameters. Below is the example of URL I'm building using the
> returned query string:
>
> http://
> <mgmt_server>:8080/console?apiKey=w19-cW1y9pPW8epJTCXZznnW0oz4fbifGW
> lTfoy_rrVpfhZLUqz_pQ5rysSm442KPL4jEcBNsWMdlTE4V3
> 2txQ&cmd=access&vm=3257f9bd-ae5f-448d-a052-6eded88f1d44&
> signature=UniJRaHso9nV8TW1%2BTkYXmJDvsY%3D
>
> Any help would be appreciated.
>
> Thanks.
>

Reply via email to