[ckan-dev] datapusher error

Biz Tweets optweets at gmail.com
Tue Nov 13 22:29:43 UTC 2018


Looks like i had to uninstall pyopenssl in the python env on datapusher.

On Tue, Nov 13, 2018 at 4:25 PM Biz Tweets <optweets at gmail.com> wrote:

> If i go to datasource in any other resource it shows *Error:* cannot
> connect to datapusher
>
> But then if try uploading a resource with a file it outputs that whole
> error in the previous email.
>
> Now i tried curl and it shows its running.
>
> #curl http://0.0.0.0:8800
> {
>   "help": "\n        Get help at:\n
> http://ckan-service-provider.readthedocs.org/."
> }
>
>
>
> So whats wrong?
>
> On Tue, Nov 13, 2018 at 3:38 PM Biz Tweets <optweets at gmail.com> wrote:
>
>> Trying to push a file to datapusher but I get this error. Anyone know
>> what this is about?
>>
>> *Error:* File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/apscheduler/scheduler.py",
>> line 512, in _run_job retval = job.func(*job.args, **job.kwargs) File
>> "/usr/lib/ckan/datapusher/src/datapusher/datapusher/jobs.py", line 326, in
>> push_to_datastore resource = get_resource(resource_id, ckan_url, api_key)
>> File "/usr/lib/ckan/datapusher/src/datapusher/datapusher/jobs.py", line
>> 276, in get_resource 'Authorization': api_key} File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/api.py",
>> line 110, in post return request('post', url, data=data, json=json,
>> **kwargs) File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/api.py",
>> line 56, in request return session.request(method=method, url=url,
>> **kwargs) File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/sessions.py",
>> line 488, in request resp = self.send(prep, **send_kwargs) File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/sessions.py",
>> line 609, in send r = adapter.send(request, **kwargs) File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/adapters.py",
>> line 423, in send timeout=timeout File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py",
>> line 600, in urlopen chunked=chunked) File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py",
>> line 345, in _make_request self._validate_conn(conn) File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py",
>> line 844, in _validate_conn conn.connect() File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/packages/urllib3/connection.py",
>> line 314, in connect cert_reqs=resolve_cert_reqs(self.cert_reqs), File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py",
>> line 269, in create_urllib3_context context.verify_mode = cert_reqs File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py",
>> line 395, in verify_mode _verify_callback File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/OpenSSL/SSL.py", line
>> 1108, in set_verify self._verify_helper = _VerifyHelper(callback) File
>> "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/OpenSSL/SSL.py", line
>> 333, in __init__ "int (*)(int, X509_STORE_CTX *)", wrapper)
>> SystemError('error return without exception set',)
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20181113/87177793/attachment-0002.html>


More information about the ckan-dev mailing list