Esri / developer-support

Proof of concept developer code and samples to help be successful with all ArcGIS developer products (Python, NET, JavaScript, Android…). The repository is designed to be an exchange for sharing coding conventions and wisdom to developers at all skill levels.
Apache License 2.0
266 stars 164 forks source link

error:14077410 sslv3 alert handshake failure #338

Closed insomniak90 closed 5 years ago

insomniak90 commented 5 years ago

I am using this script and am able to run the update method ok. unfortunately I'm getting the error below when calling the deleteTiles and updateTiles methods. I'm assuming this has to do with the new TLS1.2 security requirement. But have no clue where to start. Greatly appreciate any help.

requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure <<<

insomniak90 commented 5 years ago

please excuse my newbie-ness to github... this is in reference to developer-support / python / general-python / update-tile-service-from-tpk / updateTilesFromTPK.py

jgravois commented 5 years ago

any ideas @kgerrow?

insomniak90 commented 5 years ago

ok to close issue. I ended up installing python 2.7.16 and the script ran successfully.

jf990 commented 5 years ago

without digging deeper this issue sounds like it is related to the TLS 1.2 upgrade that we recently did and older versions of SSL handshake will be rejected. upgrading a client to TLS 1.2 compatible SSL library might address it.