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

Getting started documentation #18

Open
bartvanremortele opened this issue Mar 6, 2017 · 1 comment
Open

Getting started documentation #18

bartvanremortele opened this issue Mar 6, 2017 · 1 comment

Comments

@bartvanremortele
Copy link

bartvanremortele commented Mar 6, 2017

I'm have quite a bit of difficulties trying to get started. First I tried building and running the match docker image with an Elasticsearch connectionstring in the form of https://xxx:xxx@provider:port which does not work. Then I tried to rebuild the docker container using different types of setup based on the Elasticsearch python lib documentation e.g.:

es = Elasticsearch(
    ['localhost', 'otherhost'],
    http_auth=('user', 'secret'),
    port=443,
    use_ssl=True
)

this also did not work (we are connecting to the instance with node.js just fine).

Then I tried to run it locally using docker-compose but this also failed because the image match container start's before the Elasticsearch image is started and causes it to fail the connection to Elasticsearch.

@JannikZed
Copy link
Contributor

maybe your elasticsearch version is too new? Look here: rhsimplex/image-match#88
I succesfully updated this project to the newest elastic client and will create a pull request soon. Nevertheless it is still not working for me, as I still get {"status": "fail", "error": ["bad request"], "method": "", "result": []}for /add but I when I managed to get it running for myself, I will create the PR :D

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