Unable to connect to AWS opensearch #4609
Unanswered
Yogeshberia
asked this question in
Q&A
Replies: 1 comment
-
@Yogeshberia facing same issue. Please do share if find any solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am trying to make jaeger work with an AWS opensearch instance.
Following are the settings I tried but it fails to connect with the error description below.
ES_SERVER_URLS: https://url:port (80 or 9200)
ES_TAGS_AS_FIELDS_ALL: true
ES_TLS_ENABLED: true
ES_TLS_SKIP_HOST_VERIFY: true
ES_USERNAME: username
ES_PASSWORD: password
ES_INDEX_PREFIX: test
SPAN_STORAGE_TYPE: opensearch
[ or elasticsearch as well]
I've also tried to toggle variables and check but in vain.
The error is connection timeout:
2023-07-31T00:17:30.24+0530 [APP/PROC/WEB/0] ERR {"level":"fatal","ts":1690742850.2461932,"caller":"query/main.go:107","msg":"Failed to init storage factory","error":"failed to create primary Elasticsearch client: health check timeout: Head "https://xxxxx:80\": dial tcp 3.75.117.142:80: connect: connection refused: no Elasticsearch node available","stacktrace":"main.main.func1\n\t/tmp/app/cmd/query/main.go:107\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/vcap/go/pkg/mod/github.com/spf13/[email protected]/command.go:940\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/vcap/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/vcap/go/pkg/mod/github.com/spf13/[email protected]/command.go:992\nmain.main\n\t/tmp/app/cmd/query/main.go:170\nruntime.main\n\t/tmp/contents2628235544/deps/0/go1.20.4/src/runtime/proc.go:250"}
Thanks
Beta Was this translation helpful? Give feedback.
All reactions