image-match icon indicating copy to clipboard operation
image-match copied to clipboard

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

Open wings0820 opened this issue 5 years ago • 1 comments

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?

wings0820 avatar Dec 30 '19 10:12 wings0820

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

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

6796nfPU avatar Jun 03 '20 17:06 6796nfPU