Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C04A410E8E for ; Mon, 3 Feb 2014 21:48:58 +0000 (UTC) Received: (qmail 51813 invoked by uid 500); 3 Feb 2014 21:48:57 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 51748 invoked by uid 500); 3 Feb 2014 21:48:57 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 51740 invoked by uid 99); 3 Feb 2014 21:48:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 21:48:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lennert@pcextreme.nl designates 109.72.87.231 as permitted sender) Received: from [109.72.87.231] (HELO support.pcextreme.nl) (109.72.87.231) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 21:48:53 +0000 Received: from ox.pcextreme.nl (ox.pcextreme.nl [IPv6:2a00:f10:101::5f6b:25:143]) by support.pcextreme.nl (Postfix) with ESMTP id 323D22C3A0 for ; Mon, 3 Feb 2014 22:48:26 +0100 (CET) Received: from ox.pcextreme.nl (localhost [127.0.0.1]) by ox.pcextreme.nl (Postfix) with ESMTPSA id 5850A4C007D for ; Mon, 3 Feb 2014 22:48:24 +0100 (CET) Date: Mon, 3 Feb 2014 22:48:24 +0100 (CET) From: Lennert den Teuling Reply-To: Lennert den Teuling To: users Message-ID: <714454840.12025.1391464104301.open-xchange@ox.pcextreme.nl> In-Reply-To: <52EFBB6D.4020707@a2hosting.com> References: <52EFAB4F.4010907@a2hosting.com> <348126257.11989.1391440458504.open-xchange@ox.pcextreme.nl> <52EFBB6D.4020707@a2hosting.com> Subject: Re: Serial Console URL no longer works in 4.2.1? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.4.0-Rev20 X-Virus-Checked: Checked by ClamAV on apache.org > Op 3 februari 2014 om 16:53 schreef David Matteson : > > > Thanks for the response, we were previously stripping out '=' and > replacing '+' and '/' with '-' and '_'. Taking out those substitutions I > no longer get the error, and the serial console comes up but it doesn't > work. It doesn't seem to be connecting to the VM. Any ideas? Yes, we did the exact same thing :-) I have no idea why you don't get to see the console after you fixed this, if you don't get an error I think you code is working fine. I assume the console trough the CS gui is working? If so could it be as simple as a typo in the console URL? Maybe there's something in the API/management log that can help you. I would start comparing the URLs generated by you code and the one from the CS gui. > The VM id is correct and the Serial Console works normally when accessed > from the CloudStack web interface. > > On 2/3/14, 10:14 AM, lennert@pcextreme.nl wrote: > >> Op 3 februari 2014 om 15:44 schreef David Matteson > >> : > >> > >> > >> Hey everybody, > >> > >> In order to allow users to quickly and easily access their serial > >> console we have been generating a URL which directly takes them to it > >> without needing to log into the CloudStack web interface. These URLs > >> look like: > >> > >> https://managementserver:port/client/console?cmd=access&vm=vmid&apikey=apikey&signature=signature& > >> > >> These were working fine before the upgrade but after we are getting: > >> > >> Access denied. Invalid web session or API key in request > >> > >> But the same API key works for normal API requests. Only the serial > >> console is failing. > >> > >> Anybody know what might be going on here? > > Hi David, > > > > We had the same issue. In our case we replaced some characters in the > > signature > > to make it work < 4.2. It seemed that after the upgrade, this was no longer > > needed. That's what I get from the programmer. > > > > It sounds a little vague, but it to answer your question, no it's not > > broken. I > > would recommend to check your code, and compare it to the code of the CS > > gui. > > > > Hope this helps! > > > >> Thanks! > > Met vriendelijke groet / Kind regards, > > > > Lennert den Teuling > > Tel direct: +31 (0)118 700 210 > Met vriendelijke groet / Kind regards, Lennert den Teuling Tel direct: +31 (0)118 700 210