rhsimplex / image-match

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

Read timed out #118

Closed fanyoujian closed 5 years ago

fanyoujian commented 5 years ago

demo.py

from elasticsearch import Elasticsearch from image_match.elasticsearch_driver import SignatureES

es = Elasticsearch('http://localhost:9200') ses = SignatureES(es)

ses.add_image('http://images-new.123rf.com.cn/450wm/grycikua/grycikua1610/grycikua161000013.jpg')

when i run python demo.py err:

raise ConnectionTimeout('TIMEOUT', str(e), e) elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10))