You're using SSL on the server, but advertising regular HTTP to your
instances, you should change that.

This sample config file has a sample. Note that the section on routing
includes more declarations than yours:

https://github.com/Scalr/installer-ng/blob/master/hack/docker/scalr-server.rb

While just fixing the endpoint protocol should fix your issue, I suggest
you also include the other changes (to make load statistics work).

Be mindful that you MUST run scalr-server-ctl reconfigure after changing
the configuration file.

Then, restart the build process.

Cheers,
On Mar 12, 2015 9:19 AM, "Souhail Hanfi" <[email protected]> wrote:

> routing[:endpoint_host] = "scalr.xxx.com"
>>
>> app[:ip_ranges] = ["xx.xx.xx.xx/32"]
>>
>> app[:email_from_address] = "[email protected]"
>>
>>
>>> proxy[:ssl_enable] = true
>>
>> proxy[:ssl_redirect] = true
>>
>> proxy[:ssl_cert_path] = '/etc/ssl/certs/xxx.com.crt'
>>
>> proxy[:ssl_key_path] = '/etc/ssl/private/xxx.com.key'
>>
>>
> my sclar-server.rb contains only this
> It's an install on one instance via installer-ng.
>
> Le mercredi 11 mars 2015 20:54:36 UTC+1, Thomas Orozco a écrit :
>>
>> Would you mind posting your full config file? (Feel free to redact
>> sensitive information if needed)
>>
>> Also, how many instances are you running? Just one?
>>
>> Cheers,
>> On Mar 11, 2015 3:32 PM, "Souhail Hanfi" <[email protected]> wrote:
>>
>>> after some investigations :
>>>
>>> the instances can't send 'Hello' Message to the Scaler server when i use
>>> https config :
>>> this is my scalr-server.rb file :
>>>
>>> proxy[:ssl_enable] = true
>>>>
>>>> proxy[:ssl_redirect] = true
>>>>
>>>> proxy[:ssl_cert_path] = '/etc/ssl/certs/XXXX.com.crt'
>>>>
>>>> proxy[:ssl_key_path] = '/etc/ssl/private/XXXX.com.key'
>>>>
>>>>
>>> when i dont use https it works fine, can you help me make access to the
>>> scalr via https ?
>>>
>>> thx alot
>>>
>>> Le mercredi 11 mars 2015 12:55:06 UTC+1, Souhail Hanfi a écrit :
>>>>
>>>> it's not an import from a non scalr machine, it's just a role building.
>>>> the role building takes too much time so i sshed to the temporary
>>>> machine to see the logs.
>>>>
>>>> i bootstraped a new Scalr Server machine to test the role creation it
>>>> worked on the new one (it's creating the aws image right now).
>>>>
>>>> but i hope i can have a solution to repair the other scalr server
>>>>
>>>>
>>>> Le mercredi 11 mars 2015 12:48:36 UTC+1, Thomas Orozco a écrit :
>>>>>
>>>>> Is this a brand-new instance you've just launched for the import?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> On Wednesday, March 11, 2015 at 11:38:19 AM UTC, Souhail Hanfi wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I installed Scalr on AWS using the installer-ng
>>>>>> <https://github.com/Scalr/installer-ng>
>>>>>> And i have this issue when i try to creating a new role.
>>>>>> I looked on google but i didn't found something that could help me.
>>>>>>
>>>>>> 2015-03-11 10:43:17,921+00:00 - DEBUG - scalarizr.messaging.p2p.producer 
>>>>>> - Delivering message 'Hello' {'server_id': 
>>>>>> 'f1df218d-e470-499f-bfff-c01fd52ca21f', 'dist': {'distributor': 
>>>>>> 'ubuntu', 'release': '14.04', 'codename': 'trusty'}, 'aws_avail_zone': 
>>>>>> 'eu-west-1a', 'local_ip': '10.74.143.116', 'aws_ami_id': 'ami-776d9700', 
>>>>>> 'storage': {'lvm': 1, 'fstypes': ['ext3', 'ext4']}, 'aws_instance_type': 
>>>>>> 'm3.xlarge', 'behaviour': ['app', 'chef', 'mysql2'], 'aws_instance_id': 
>>>>>> 'i-28305ccc', 'role_name': 'WebStack', 'architecture': 'x86_64', 
>>>>>> 'software': [{'version': '2.7.6', 'name': 'python'}, {'version': 
>>>>>> '11.6.0', 'name': 'chef'}, {'version': '5.5.41', 'name': 'mysql'}, 
>>>>>> {'version': '2.4.7', 'name': 'apache'}, {'version': '5.5.9', 'name': 
>>>>>> 'php'}], 'os': {'string_version': 'Linux ip-10-74-143-116 
>>>>>> 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 
>>>>>> x86_64', 'version': 'Ubuntu 14.04 trusty', 'arch': 'x86_64'}, 
>>>>>> 'remote_ip': '54.170.216.126'}. Json: False, Headers: {'Content-Type': 
>>>>>> 'xml'}
>>>>>> 2015-03-11 10:43:17,921+00:00 - DEBUG - scalarizr.messaging.p2p.security 
>>>>>> - Encrypting message
>>>>>> 2015-03-11 10:43:17,941+00:00 - WARNING - 
>>>>>> scalarizr.messaging.p2p.producer - Message 'Hello' not delivered 
>>>>>> (message_id: d047e341-a0f7-483c-824e-fa22056c598b)
>>>>>> 2015-03-11 10:43:17,941+00:00 - WARNING - 
>>>>>> scalarizr.messaging.p2p.producer - Cannot authenticate on message 
>>>>>> server. Signature doesn't match
>>>>>> 2015-03-11 10:43:17,942+00:00 - DEBUG - scalarizr.messaging.p2p.producer 
>>>>>> - Sleep 120 seconds before next attempt
>>>>>>
>>>>>> Thx.
>>>>>>
>>>>>  --
>>> 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.
>>>
>>  --
> 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.
>

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

Reply via email to