Hello. I am deploying datahub for Pinterest. I am ...
# all-things-deployment
m
Hello. I am deploying datahub for Pinterest. I am trying to run
Copy code
datahub docker quickstart --quickstart-compose-file ./docker/quickstart/docker-compose-without-neo4j.quickstart.yml
in my devserver and replace each dependencies to Pinterest infra. The mysql was successful The elasticsearch will be replace to OpenSearch
Copy code
datahub-gms:
    container_name: datahub-gms
    environment:
    - ELASTICSEARCH_HOST=<http://vpc-xxxxx.amazonaws.com|vpc-xxxxx.amazonaws.com>
    - ELASTICSEARCH_PORT=443
    - ELASTICSEARCH_USE_SSL=true
    - ELASTICSEARCH_PROTOCOL=https
    - GRAPH_SERVICE_IMPL=<http://vpc-xxxxx.amazonaws.com|vpc-xxxxx.amazonaws.com>
Then I am getting errors like
Copy code
2022/03/10 05:05:28 Received 200 from <https://vpc-xxxxx.amazonaws.com:443>
2022/03/10 05:05:29 Problem with request: Get "http:": http: no Host in request URL. Sleeping 1s
2022/03/10 05:05:29 Problem with dial: dial tcp: lookup broker on 127.0.0.11:53: no such host. Sleeping 1s
2022/03/10 05:05:30 Problem with request: Get "http:": http: no Host in request URL. Sleeping 1s
2022/03/10 05:05:31 Problem with request: Get "http:": http: no Host in request URL. Sleeping 1s
2022/03/10 05:05:32 Problem with request: Get "http:": http: no Host in request URL. Sleeping 1s
2022/03/10 05:05:33 Problem with request: Get "http:": http: no Host in request URL. Sleeping 1s
2022/03/10 05:05:33 Problem with dial: dial tcp 169.254.254.231:29092: connect: no route to host. Sleeping 1s
2022/03/10 05:05:34 Problem with request: Get "http:": http: no Host in request URL. Sleeping 1s
2022/03/10 05:05:34 Problem with dial: dial tcp 169.254.254.231:29092: connect: connection refused. Sleeping 1s
2022/03/10 05:05:35 Problem with request: Get "http:": http: no Host in request URL. Sleeping 1s
Do you know how to investigate the issue? Thanks!
e
Can you not set ELASTICSEARCH_PROTOCOL ? it gets automatically set based on the USE_SSL field. Also GRAPH_SERVICE_IMPL=elasticsearch (this sets whether to use neo4j or elasticsearch as the graphservice backend)
thank you 1
BTW welcome to the community!!
thank you 1
Let us know if that doesn’t work! We can get on a call to resolve this as well
m
It worked! Thank you!