I recently have the same problem with certain websites - it seems to be an 
OpenSSL issue with their webserver config or their certificates.

Could you tell us what version of OpenSSL is used both circumstances? 
terminal> openssl version and Python> print ssl.OPENSSL_VERSION 

On Wednesday, 20 December 2017 07:58:32 UTC, killzane wrote:
>
> Hi
>
> I want to use Requests lib in web2py to run facebook's Graph API.
> So I need to use requests.get or requests.post.
>
> The problem is, when I run requests.get in python, it's work.
> but when I run in web2py, it gave me an error
>
> <class 'requests.exceptions.SSLError'> HTTPSConnectionPool(host='
> graph.facebook.com', port=443): Max retries exceeded with url: /v2.6/me?
> fields=id%2Cname& <https://www.weddingpass.tw/admin/errors/fbbot#>
> access_token=<ACCESS_TOKEN> (Caused by SSLError(SSLError('bad handshake: 
> SysCallError(0, None)',),))
>
> web2py: 2.16.1-stable
> Apache: 2.4.18 (Ubuntu)
> Python: 2.7.12
> Requests: 2.18.4
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to