在 CKAN 上设置 SSL 后出现 dataexplorer 错误
dataexplorer error after SSL is set on CKAN
我使用教程在 ckan 中设置了 SSL:https://github.com/ckan/ckan/wiki/SSL
一切正常,除了显示以下错误的数据存储区信息:"Could not load view: DataProxy returned an error (Data transformation failed. error: An error occured while connecting to the server: Unable to connect to server at URL:"
有谁知道发生了什么事吗?我尝试访问数据存储区 url,它看起来不错:“{
"help":“\n 获取帮助:\n http://ckan-service-provider.readthedocs.org/。”
}"
当我进入数据存储页面上传文档时出现错误
"Erro: File "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/apscheduler/scheduler.py”,第 512 行,在 _run_job retval = job.func(*job.args , **job.kwargs) 文件“/usr/lib/ckan/datapusher/src/datapusher/datapusher/jobs.py”, 第 300 行,在 push_to_datastore 资源 = get_resource(resource_id, ckan_url, api_key) 文件“/usr/lib/ckan/datapusher/src/datapusher/datapusher/jobs.py”,第 250 行,在 get_resource 'Authorization' 中:api_key} 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/api.py", 第 110 行,在 post return request('post', url, data=data, json=json, **kwargs) 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/api.py”,第 56 行,请求 return session.request(method=method, url=url, **kwargs) 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/sessions.py”,第 488 行,请求 resp = self.send(prep, **send_kwargs ) 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/sessions.py”,第 609 行,在发送 r = adapter.send(request, **kwargs) 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/adapters.py", line 497, in send raise SSLError(e, request=request) SSLError(SSLError(SSLError(1, '_ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate 验证失败'),))"
提前致谢
看来是数据推送器出错了。
http://docs.ckan.org/projects/datapusher/en/latest/using.html#configuring-ssl-verification
我无法禁用 SSL 验证。不知何故,文件 (datapusher_settings.py) 没有反映我想要的更改。
我使用教程在 ckan 中设置了 SSL:https://github.com/ckan/ckan/wiki/SSL
一切正常,除了显示以下错误的数据存储区信息:"Could not load view: DataProxy returned an error (Data transformation failed. error: An error occured while connecting to the server: Unable to connect to server at URL:"
有谁知道发生了什么事吗?我尝试访问数据存储区 url,它看起来不错:“{ "help":“\n 获取帮助:\n http://ckan-service-provider.readthedocs.org/。” }"
当我进入数据存储页面上传文档时出现错误
"Erro: File "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/apscheduler/scheduler.py”,第 512 行,在 _run_job retval = job.func(*job.args , **job.kwargs) 文件“/usr/lib/ckan/datapusher/src/datapusher/datapusher/jobs.py”, 第 300 行,在 push_to_datastore 资源 = get_resource(resource_id, ckan_url, api_key) 文件“/usr/lib/ckan/datapusher/src/datapusher/datapusher/jobs.py”,第 250 行,在 get_resource 'Authorization' 中:api_key} 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/api.py", 第 110 行,在 post return request('post', url, data=data, json=json, **kwargs) 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/api.py”,第 56 行,请求 return session.request(method=method, url=url, **kwargs) 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/sessions.py”,第 488 行,请求 resp = self.send(prep, **send_kwargs ) 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/sessions.py”,第 609 行,在发送 r = adapter.send(request, **kwargs) 文件“/usr/lib/ckan/datapusher/lib/python2.7/site-packages/requests/adapters.py", line 497, in send raise SSLError(e, request=request) SSLError(SSLError(SSLError(1, '_ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate 验证失败'),))"
提前致谢
看来是数据推送器出错了。
http://docs.ckan.org/projects/datapusher/en/latest/using.html#configuring-ssl-verification
我无法禁用 SSL 验证。不知何故,文件 (datapusher_settings.py) 没有反映我想要的更改。