Re: Access console VM via custom portal

2014-06-05 Thread Will Stevens
Hey Demas, I am the person who wrote the article that Anshul mentioned. So here is your problem... There are two ways to 'connect' to CloudStack. 1. Using the API with your 'api_key' and 'secret_key'. 2. Using the API with your 'username' and 'password' (and then a cookie and sessionkey). When y

Re: Access console VM via custom portal

2014-06-05 Thread Yitao Jiang
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 wrote: > Hello, > can an

RE: Access console VM via custom portal

2014-06-05 Thread Anshul Gangwar
Have you verified the sessionkey which you are passing is correct? You can sso (single sign on) to automatically login into cloudstack and hence can access VM console. You can also use methods as described at http://www.cloudops.com/2013/01/working-with-the-cloudstack-api/. Regards, Anshul