Upload error: Could not connect to DataPusher. error in ckan 2.4.3
Upload error: Could not connect to DataPusher. error in ckan 2.4.3
我正在尝试将我的数据集上传到数据存储区。
我创建数据集并尝试使用 ckan 界面中的 "Upload to datastore" 菜单将数据集上传到数据存储。
我在 Web 中收到 "Upload error: Could not connect to DataPusher." 错误消息,但在任何日志(ckan 日志、datapusher 日志)中都没有
这是我的内容development.ini
sqlalchemy.url = postgresql://ckan_default:MYPASS@localhost/ckan_default
ckan.datastore.write_url = postgresql://ckan_default:MYPASS@localhost/datastore_default
ckan.datastore.read_url = postgresql://datastore_default:MYPASS@localhost/datastore_default
ckan.datastore.default_fts_lang = english
ckan.datastore.default_fts_index_method = gist
ckan.site_url = http://ckan.daniel.com
ckan.site_id = default
solr_url = http://127.0.0.1:8983/solr/ckan
ckan.plugins = stats text_view image_view recline_view datastore datapusher
ckan.views.default_views = image_view text_view recline_view
ckan.preview.direct = png jpg gif
ckan.preview.loadable = html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json
ckan.storage_path = /var/lib/ckan
ckan.max_resource_size = 10
ckan.max_image_size = 2
ckan.datapusher.formats = csv xls xlsx tsv application/csv application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
ckan.datapusher.url = http://ckan.daniel.com:8080/
数据推送器是 运行。
# curl http://ckan.daniel.com:8800
{
"help": "\n Get help at:\n http://ckan-service-provider.readthedocs.org/."
}
我用的是ckan 2.4.3 + postgresql 9.1 + rhel 6.6 + solr 5.4。
我是否缺少某些数据存储配置?
谢谢。
将 production.ini 的最后一行从
更改为
ckan.datapusher.url = http://ckan.daniel.com:8080/
至
ckan.datapusher.url = http://ckan.daniel.com:8800/
我正在尝试将我的数据集上传到数据存储区。
我创建数据集并尝试使用 ckan 界面中的 "Upload to datastore" 菜单将数据集上传到数据存储。
我在 Web 中收到 "Upload error: Could not connect to DataPusher." 错误消息,但在任何日志(ckan 日志、datapusher 日志)中都没有
这是我的内容development.ini
sqlalchemy.url = postgresql://ckan_default:MYPASS@localhost/ckan_default
ckan.datastore.write_url = postgresql://ckan_default:MYPASS@localhost/datastore_default
ckan.datastore.read_url = postgresql://datastore_default:MYPASS@localhost/datastore_default
ckan.datastore.default_fts_lang = english
ckan.datastore.default_fts_index_method = gist
ckan.site_url = http://ckan.daniel.com
ckan.site_id = default
solr_url = http://127.0.0.1:8983/solr/ckan
ckan.plugins = stats text_view image_view recline_view datastore datapusher
ckan.views.default_views = image_view text_view recline_view
ckan.preview.direct = png jpg gif
ckan.preview.loadable = html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json
ckan.storage_path = /var/lib/ckan
ckan.max_resource_size = 10
ckan.max_image_size = 2
ckan.datapusher.formats = csv xls xlsx tsv application/csv application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
ckan.datapusher.url = http://ckan.daniel.com:8080/
数据推送器是 运行。
# curl http://ckan.daniel.com:8800
{
"help": "\n Get help at:\n http://ckan-service-provider.readthedocs.org/."
}
我用的是ckan 2.4.3 + postgresql 9.1 + rhel 6.6 + solr 5.4。
我是否缺少某些数据存储配置?
谢谢。
将 production.ini 的最后一行从
更改为ckan.datapusher.url = http://ckan.daniel.com:8080/
至
ckan.datapusher.url = http://ckan.daniel.com:8800/