Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-20 Thread Kevin LaTona
On May 20, 2015, at 11:56 AM, Tycho Andersen wrote: > Hi Kevin, > > On Wed, May 20, 2015 at 09:59:33AM -0700, Kevin LaTona wrote: >> New twist I would of assumed that using a browser would get some kind of >> response from LXD rest server. >> >> Safari would not connect. >> >> Mozilla's Fir

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-20 Thread Tycho Andersen
Hi Kevin, On Wed, May 20, 2015 at 09:59:33AM -0700, Kevin LaTona wrote: > New twist I would of assumed that using a browser would get some kind of > response from LXD rest server. > > Safari would not connect. > > Mozilla's Firefox did not like the self sign cert and made me approve it, > whic

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-20 Thread Kevin LaTona
New twist I would of assumed that using a browser would get some kind of response from LXD rest server. Safari would not connect. Mozilla's Firefox did not like the self sign cert and made me approve it, which I need. Then when I tried to hit LXD rest server and I got this error message back

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-20 Thread Kevin LaTona
Can I ask is any one else on this list using the LXD rest api calls yet? If yes, is it working for you? If yes, what OS and App are you using to do this with? Thanks -Kevin ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://list

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
I used brew to install the most current version of OpenSSL -- OpenSSL 1.0.2a 19 Mar 2015 --. on my Mac. The Python Requests library so far is still choking. I was able tell from running this openssl s_client -connect 192.168.0.50:8443 -cipher 'ALL:!SSLv2' That the new version of OpenSSL

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
> On May 19, 2015, at 5:28 PM, Tycho Andersen > wrote: >> >> LXD requires TLS 1.2, it looks like perhaps the build of ssl your >> python-requests is linked against doesn't provide it. So far from what I have been able to find and read this makes LDX Rest APi a show stopper for some people ru

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
In my case both Python 2.7 and 3.4 are using OpenSSL 0.9.8y 5 Feb 2013. I'll need into seeing if and how I can change that without creating some new OSX problem. On May 19, 2015, at 5:28 PM, Tycho Andersen wrote: > Hi Kevin, > > On Tue, May 19, 2015 at 04:04:11PM -0700, Kevin LaTona wr

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Tycho Andersen
Hi Kevin, On Tue, May 19, 2015 at 04:04:11PM -0700, Kevin LaTona wrote: > > Here is the last bits of test….. best I know from requests docs this should > work to get some kind of a response. > > So far no matter how I try to connect to my LDX rest server I can't get past > a ping… so at least

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
On May 19, 2015, at 3:07 PM, Tycho Andersen wrote: > On Tue, May 19, 2015 at 01:05:08PM -0700, Kevin LaTona wrote: >> >> Better yet any one on the list is doing this using the Python Requsts module? >> >> Hate to waste time drilling down into requests, if it's a LXD api issue so >> early in

Re: [lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Tycho Andersen
On Tue, May 19, 2015 at 01:05:08PM -0700, Kevin LaTona wrote: > > > > Right now when I am try sending in a test request call to the LXD rest api > using the Python Requests library and it blows up. > > At this point no idea if what is going on is a Request library error or the > LXD api webse

[lxc-users] Getting the LXD rest api to play nice?

2015-05-19 Thread Kevin LaTona
Right now when I am try sending in a test request call to the LXD rest api using the Python Requests library and it blows up. At this point no idea if what is going on is a Request library error or the LXD api webserver is choking here. Any one on this list using the LXD rest API yet? If s