cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yitao Jiang <willier...@gmail.com>
Subject Re: Access console VM via custom portal
Date Thu, 05 Jun 2014 10:17:30 GMT
Hi,

For me, using httpclient (java) can access the VM console.
Passed in vm id and setting CookieStore with GET method and paste returned
url into browser and all works fine


---
Thanks,
Yitao(依涛 姜)
jiangyt.github.io


On Wed, Jun 4, 2014 at 11:22 PM, dimas yoga pratama <smidh.d@gmail.com>
wrote:

> Hello,
> can anyone answer my question?
>
> I create a custom web portal that provide some provisioning for user
> I want user can access cloudstack VM from my web , but I kept gtting this
> message: "Access denied. Invalid web session or API key in request"
>
> I already pass the sessionkey like this :
>
> http://10.151.32.11:8080/client/console?cmd=access&vm=018f88b2-4edc-4e6d-b318-3ec02029180f&sessionkey=d01AlQ2ZzwKBVqB2Rkj0qsHP/aw=
>
>
> I google it and i found in order to access the console VM I need a token,
> is there any easy way to access console VM from outside the MS? :(
>
>
> thanks, please answer my question,
> Dimas.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message