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
-Original Message- From: dimas yoga pratama [mailto:smid...@gmail.com] Sent: Wednesday, June 04, 2014 8:53 PM To: dev@cloudstack.apache.org Subject: Access console VM via custom portal Hello, can anyone answer my question? I create a custom web portal that provide some provisioning for

Access console VM via custom portal

2014-06-04 Thread dimas yoga pratama
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:/