[ckan-dev] PROTOCOL_SSLv3 error on datastore upload.
Isabel M. Ruiz Mellado
isaruizmellado at gmail.com
Thu Oct 5 09:27:48 UTC 2017
Thanks Harald....
You were right! It works.
These are the steps I followed:
pip uninstall pyopenssl
pip install requests==2.6.0
pip install pyopenssl
Thanks again!
On Wed, Oct 4, 2017 at 4:05 PM, Harald von Waldow <harald.vonwaldow at eawag.ch
> wrote:
> 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
>
>
> _______________________________________________
> 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
>
>
--
Isabel M. Ruiz Mellado
http://about.me/isabelruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20171005/ace87e4e/attachment-0003.html>
More information about the ckan-dev
mailing list