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 -----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 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.