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 it's running at some level is a start.
> 
> 
> Any thoughts or ideas much appreciated from anyone.
> 
> 
> import requests
> 
> # r = requests.get('https://192.168.0.50:8443/')
> # requests.exceptions.SSLError: [Errno 1] _ssl.c:503: error:1407742E:SSL 
> routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
> 
> # r = requests.get('https://192.168.0.50:8443/1.0/', verify=True)
> # requests.exceptions.SSLError: [Errno 1] _ssl.c:503: error:1407742E:SSL 
> routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
> 
> 
> # r = requests.get('https://192.168.0.50:8443/1.0/',verify=False)
> # requests.exceptions.SSLError: [Errno 1] _ssl.c:503: error:1407742E:SSL 
> routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

LXD requires TLS 1.2, it looks like perhaps the build of ssl your
python-requests is linked against doesn't provide it.

Tycho

> print(r.text)
> 
> 
> 
> Thanks
> -Kevin
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to