Python error while indexing data in Solr – PySolr Error – 2


Traceback (most recent call last):
 File "", line 47, in 
 File "", line 41, in main
 s.add(items, commit=True)
 File "/usr/lib/python2.6/site-packages/", line 779, in add
 return self._update(m, commit=commit, waitFlush=waitFlush, waitSearcher=waitSearcher)
 File "/usr/lib/python2.6/site-packages/", line 387, in _update
 return self._send_request('post', path, message, {'Content-type': 'text/xml; charset=utf-8'})
 File "/usr/lib/python2.6/site-packages/", line 306, in _send_request
 raise SolrError(error_message % (url, err))
 pysolr.SolrError: Connection to server '' timed out: HTTPConnectionPool(host='', port=8983): Max retries exceeded with url: /solr/feeddata/update/?commit=true (Caused by ConnectTimeoutError(, 'Connection to timed out. (connect timeout=10)'))


Connection Issues. Check if you can connetct to the remote boxes directly

Leave a Reply

Your email address will not be published. Required fields are marked *