Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10)) #128

Open
wings0820 opened this issue Dec 30, 2019 · 1 comment

Comments

@wings0820
Copy link

the demo.py as follows:
from elasticsearch import Elasticsearch
from image_match.elasticsearch_driver import SignatureES

es = Elasticsearch()
ses = SignatureES(es)
ses.add_image('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg/687pxMona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg')

it is absolutely orignal code in https://image-match.readthedocs.io/en/latest/searches.html,
and
==> Successfully stopped elasticsearch (label: homebrew.mxcl.elasticsearch)
==> Successfully started elasticsearch (label: homebrew.mxcl.elasticsearch)
in brew
so what happened?

@6796nfPU
Copy link

6796nfPU commented Jun 3, 2020

I tried to get elasticsearch running, no issues anymore afterwards:

https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-install.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants