Solved...
Ultimately an out-of-date simple_salesforce,
but complicated by the fact that my pip v9.0.1 attempt to upgrade
simple_salesforce (and even pip itself) also failed with a TLSV1 failure.
Stumbled upon this link - which had an answer that worked for me to get out
of this apparent infinite loop :-(
https://brianchan.us/2018/04/17/pip-install-error-ssl-tlsv1_alert_protocol_version/
Might be for use to others
On Tuesday, June 19, 2018 at 9:06:29 AM UTC-7, jim kaubisch wrote:
>
> HI,
>
>
> One of the apps I’m writing involves interaction with Salesforce.
>
>
> I’ve written a context manager to implement access to our Salesforce
> account (using “simple_salesforce” as the access mechanism).
>
>
> When run as a standalone program access and data retrieval work fine, but
> imported into my web2py app and called from there, it fails with
>
>
> Failed to open SF connection.
>
>
> Msg= HTTPSConnectionPool(host='login.salesforce.com', port=443):
>
> Max retries exceeded with url: /services/Soap/u/29.0 (Caused by
> SSLError(SSLError(1,
>
> u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake
> failure (_ssl.c:661)'),))
>
>
> There’s no particular reason why anyone would know what the problem might
> be, but I’m asking just in case :-(
>
>
> Thanks
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.