[ckan-dev] Fwd: CKAN httplib.BadStatusLine: ''
Nigel Babu
nigel.babu at okfn.org
Tue Apr 1 12:34:05 UTC 2014
Does your solr access log or error logs have anything interesting to say?
Nigel Babu
Developer | @nigelbabu <https://twitter.com/nigelbabu>
The Open Knowledge Foundation <http://okfn.org/>
Empowering through Open Knowledge
http://okfn.org/ | @okfn <http://twitter.com/OKFN> | OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/> | Newsletter<http://okfn.org/about/newsletter>
CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform
On 1 April 2014 17:14, Raul Marrero Rodríguez <legolas.arc at gmail.com> wrote:
>
>
>
> Hello, I've been a couple of hours trying to deploy a simple CKAN portal.
> I have an API REST to request my data and I want to use CKAN as a front-end
> for that API.
>
> I had some errors to connec the SOLR. I found that I had the last slash
> "/" in
> solr_url = http://IP:PORT/solr <http://IP/solr>*/*
>
> When I changed it, I encountered a new problem:
>
> PS: I can access via browser to SOLR without any problem.
>
> The problem is, I have this error when I try to init db, or start server.
> When I use db init, after 1 minute (more or less) I have this Traceback
> errors:
>
> Traceback (most recent call last):
> File "/usr/bin/ckan", line 45, in <module>
> load_entry_point('PasteScript', 'console_scripts', 'paster')()
> File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> line 104, in run
> invoke(command, command_name, options, args[1:])
> File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> line 143, in invoke
> exit_code = runner.run(args)
> File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> line 238, in run
> result = self.command()
> File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 141, in
> command
> self._load_config()
> File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 96, in
> _load_config
> load_environment(conf.global_conf, conf.local_conf)
> File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line
> 232, in load_environment
> p.load_all(config)
> File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 124, in
> load_all
> unload_all()
> File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 182, in
> unload_all
> unload(*reversed(_PLUGINS))
> File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 210, in
> unload
> plugins_update()
> File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 116, in
> plugins_update
> environment.update_config()
> File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line
> 270, in update_config
> search.check_solr_schema_version()
> File "/usr/lib/ckan/default/src/ckan/ckan/lib/search/__init__.py", line
> 291, in check_solr_schema_version
> res = urllib2.urlopen(req)
> File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
> return _opener.open(url, data, timeout)
> File "/usr/lib/python2.7/urllib2.py", line 400, in open
> response = self._open(req, data)
> File "/usr/lib/python2.7/urllib2.py", line 418, in _open
> '_open', req)
> File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
> return self.do_open(httplib.HTTPConnection, req)
> File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open
> r = h.getresponse(buffering=True)
> File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
> response.begin()
> File "/usr/lib/python2.7/httplib.py", line 407, in begin
> version, status, reason = self._read_status()
> File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
> raise BadStatusLine(line)
> httplib.BadStatusLine: ''
>
>
>
> Greetings and Thanks a lot!
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140401/e54e1da3/attachment-0003.html>
More information about the ckan-dev
mailing list