[ckan-dev] PROTOCOL_SSLv3 error on datastore upload.

Harald von Waldow harald.vonwaldow at eawag.ch
Wed Oct 4 14:05:45 UTC 2017


Looks like the Debian 8 / urllib3 - issue:

https://stackoverflow.com/questions/28987891/patch-pyopenssl-for-sslv3-issue


On 2017-10-04 14:18, Isabel M. Ruiz Mellado wrote:
> Hi all,
> 
> I get this error when I click on "Upload to datastore" [1]
> 
> Server has ckan 2.7.2 version.
> 
> 
> Can anyone help me?
> 
> 
> [1]:
> [Wed Oct 04 14:11:07.472911 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544 <http://10.1.252.252:37544>]
> mod_wsgi (pid=8115): Target WSGI script
> '/etc/ckan/default/datapusher.wsgi' cannot be loaded as Python module.
> [Wed Oct 04 14:11:07.473005 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544 <http://10.1.252.252:37544>]
> mod_wsgi (pid=8115): Exception occurred processing WSGI script
> '/etc/ckan/default/datapusher.wsgi'.
> [Wed Oct 04 14:11:07.473053 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544 <http://10.1.252.252:37544>]
> Traceback (most recent call last):
> [Wed Oct 04 14:11:07.473098 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]   File "/etc/ckan/default/datapusher.wsgi",
> line 8, in <module>
> [Wed Oct 04 14:11:07.473185 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]     import ckanserviceprovider.web as web
> [Wed Oct 04 14:11:07.473253 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]   File
> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/ckanserviceprovider/web.py",
> line 22, in <module>
> [Wed Oct 04 14:11:07.473509 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]     import requests
> [Wed Oct 04 14:11:07.473552 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]   File
> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/__init__.py",
> line 53, in <module>
> [Wed Oct 04 14:11:07.473648 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]     from .packages.urllib3.contrib import
> pyopenssl
> [Wed Oct 04 14:11:07.473694 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]   File
> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py",
> line 62, in <module>
> [Wed Oct 04 14:11:07.473878 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]     ssl.PROTOCOL_SSLv3:
> OpenSSL.SSL.SSLv3_METHOD,
> [Wed Oct 04 14:11:07.473930 2017] [wsgi:error] [pid 8115:tid
> 140233602725632] [remote 10.1.252.252:37544
> <http://10.1.252.252:37544>]*AttributeError: 'module' object has no
> attribute 'PROTOCOL_SSLv3'*
> 
> 
> 
> -- 
> Isabel M. Ruiz Mellado
> http://about.me/isabelruiz
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 

-- 
Harald von Waldow
Eawag
ICT Services
Ueberlandstrasse 133
8600 Duebendorf
http://www.eawag.ch

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20171004/b63174ce/attachment-0003.sig>


More information about the ckan-dev mailing list