Marc,
The relevant section of the config file looks like this..
app[:configuration] = { # Add extra configuration here
:scalr => {
:azure => {
:app_client_id => 'xxxxxx',
:app_secret_key => 'xxxxx'
},
:system => {
:api => {
:enabled => true,
:allowed_origins => '*'
},
},
:openstack => {
:instances_connection_policy => 'public'
},
I do not see anything in the logs that would indicate the request is even
making it that far. The system is lightly used, when I try and hit the api
nothing is written to the httpd or php log files. Anything else I should
look for?
Does the API communicate through the same port and service as the http
interface?
--
Jeff
On Thursday, January 26, 2017 at 4:14:14 PM UTC-7, Marc O'Brien wrote:
>
> Hi Jeff,
>
> Typically these types of errors are due to API failure. Can you confirm
> that you have set up APIv2 <https://api-explorer.scalr.com/> on your
> Scalr server and that your workstation is contained in the allowed origins
> setting? If so, we will want to look in the Scalr server logs for errors
> related to your scalr-ctl tests. Within /opt/scalr-server/var/log you
> would want to check the web error logs, as well as the php error logs.
> Typically we will find something related there, but do let us know if you
> have any troubles with this. If you do, an upload of your logs here would
> be useful. Let us know if you have any questions.
>
> Many thanks,
> Wm. Marc O'Brien
> Scalr Technical Support
>
>
> On Thursday, January 26, 2017 at 3:44:00 PM UTC-7, Jeff Gojkovich wrote:
>>
>> Hello,
>>
>> I am trying to utilize scalr-ctl. I have installed it successfully with
>> pip and then I created a key in scalr to use in the scalr-ctl configure
>> prompts, but I am having issues running any of the commands. For example
>>
>> $ scalr-ctl images list
>> Error: Server Error
>>
>>
>> Is there any way to make the output more verbose so that I know what is
>> actually going wrong?
>>
>>
>> --
>> Jeff
>>
>
--
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.