rhsimplex / image-match

🎇 Quickly search over billions of images
2.94k stars 405 forks source link

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

Open wings0820 opened 4 years ago

wings0820 commented 4 years ago

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 commented 4 years ago

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

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