Skip to content

Instantly share code, notes, and snippets.

@JoshOrndorff
Created June 24, 2019 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoshOrndorff/fbb37b8f8e17deee75f815d319b239da to your computer and use it in GitHub Desktop.
Save JoshOrndorff/fbb37b8f8e17deee75f815d319b239da to your computer and use it in GitHub Desktop.
DocSearch scraper error
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/root/src/index.py", line 98, in <module>
run_config(environ['CONFIG'])
File "/root/src/index.py", line 42, in run_config
config.query_rules
File "src/algolia_helper.py", line 18, in __init__
self.algolia_client.delete_index(self.index_name_tmp)
File "/root/.local/share/virtualenvs/root-BuDEOXnJ/local/lib/python2.7/site-packages/algoliasearch/client.py", line 266, in delete_index
return self._req(False, path, 'DELETE')
File "/root/.local/share/virtualenvs/root-BuDEOXnJ/local/lib/python2.7/site-packages/algoliasearch/client.py", line 549, in _req
return self._transport.req(is_search, path, meth, params, data)
File "/root/.local/share/virtualenvs/root-BuDEOXnJ/local/lib/python2.7/site-packages/algoliasearch/transport.py", line 172, in req
raise AlgoliaException('Unreachable hosts: %s' % exceptions)
algoliasearch.helpers.AlgoliaException: Unreachable hosts: {'substrate-3.algolianet.com': "ConnectionError: HTTPSConnectionPool(host='substrate-3.algolianet.com', port=443): Max retries exceeded with url: /1/indexes/substrate_tmp (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3b68188510>: Failed to establish a new connection: [Errno -2] Name or service not known',))", 'substrate.algolia.net': "ConnectionError: HTTPSConnectionPool(host='substrate.algolia.net', port=443): Max retries exceeded with url: /1/indexes/substrate_tmp (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3b68188050>: Failed to establish a new connection: [Errno -2] Name or service not known',))", 'substrate-1.algolianet.com': "ConnectionError: HTTPSConnectionPool(host='substrate-1.algolianet.com', port=443): Max retries exceeded with url: /1/indexes/substrate_tmp (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3b68188b10>: Failed to establish a new connection: [Errno -2] Name or service not known',))", 'substrate-2.algolianet.com': "ConnectionError: HTTPSConnectionPool(host='substrate-2.algolianet.com', port=443): Max retries exceeded with url: /1/indexes/substrate_tmp (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3b68188810>: Failed to establish a new connection: [Errno -2] Name or service not known',))"}
@abohady
Copy link

abohady commented Jun 25, 2019

Live.me
2019-01-29 16 53 03
2018-09-06 18 03 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment