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