Hey Michele,

This issue was made easier to troubleshoot in the current enterprise branch 
of Scalr (i.e. we now provide debugging information). 

You might want to try applying the attached patch (extracted from Scalr EE) 
to get that debugging and figure out what is causing this issue. 

To apply it:
- Upload the patch to your server (e.g. in /tmp/the.patch)
- cd to */opt/scalr-server/embedded/scalr*
- Run: *patch -p1 < /tmp/the.patch* (or change the path to wherever you 
actually put the patch). 

Cheers, 

On Tuesday, February 17, 2015 at 6:33:04 AM UTC-8, Michele Viviani wrote:
>
> Hi,
> I'm not able to see Sclar Agent status from "server status" page.
> I checked *scalarizr *and scalr-upd-client are up.
> Security group are allowing all ports, a simple wget it succeffully connect
>
>  wget http://10.X.X.X:8008
> --2015-02-17 14:32:07--  http://10.X.X.X:8008/
> Connecting to 10.X.X.X:8008... connected.
>
>
> Any ideas?
> Mike
>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
>From 06a40884299d8cec164538e71e2da64e8e950804 Mon Sep 17 00:00:00 2001
From: Igor Savchenko <[email protected]>
Date: Tue, 17 Feb 2015 13:59:58 -0800
Subject: [PATCH] * improved error message

---
 app/src/Scalr/Net/Scalarizr/UpdateClient.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/Scalr/Net/Scalarizr/UpdateClient.php b/app/src/Scalr/Net/Scalarizr/UpdateClient.php
index e766a48..b5f5810 100644
--- a/app/src/Scalr/Net/Scalarizr/UpdateClient.php
+++ b/app/src/Scalr/Net/Scalarizr/UpdateClient.php
@@ -166,7 +166,7 @@ class Scalr_Net_Scalarizr_UpdateClient
 
                     return $jResponse;
                 } else {
-                    throw new Exception(sprintf("Unable to perform request to update client: %s", $request->getResponseCode()));
+                    throw new Exception(sprintf("Unable to perform request to update client (%s). Server returned error %s", $requestHost, $request->getResponseCode()));
                 }
             } catch(HttpException $e) {
                 if (isset($e->innerException))
@@ -174,7 +174,7 @@ class Scalr_Net_Scalarizr_UpdateClient
                 else
                     $msg = $e->getMessage();
 
-                throw new Exception(sprintf("Unable to perform request to update client: %s", $msg));
+                throw new Exception(sprintf("Unable to perform request to update client (%s): %s", $requestHost, $msg));
             }
         }
     }
\ No newline at end of file
-- 
2.2.2

Reply via email to