Closed vjvel closed 7 months ago
I have the same issue on k8s in this two months(first time deploy in March 2022, everything was ok), all logs about LoggingClient for es api are UNKNOWN host like this "http://UNKNOWN/#GET", then I have change logger level to debug, and dns resolver is ok. i once thought it is a es problem, but other es clients are working. During debugging I find something confusing that is when zipkin server started and connected es failed, then i restart one pod of es cluster node, zipkin server would work again, LoggingClient logs ES_HOSTS not UNKNOWN, but if i restart zipkin server this issue will come again.
We are experiencing the same issue. Anyone have any idea why this is happening?
I have the same issue on k8s in this two months(first time deploy in March 2022, everything was ok), all logs about LoggingClient for es api are UNKNOWN host like this "http://UNKNOWN/#GET", then I have change logger level to debug, and dns resolver is ok. i once thought it is a es problem, but other es clients are working. During debugging I find something confusing that is when zipkin server started and connected es failed, then i restart one pod of es cluster node, zipkin server would work again, LoggingClient logs ES_HOSTS not UNKNOWN, but if i restart zipkin server this issue will come again.
I find that might be alpine base image network issues on kubernetes. I have repackage zipkin image with eclipse-temurin ubuntu base image, and it works. I find that more and more libraries running on jvm alpine base image that will have network issues since kubernetes 1.24-1.25 (1.24 in last comment), some components like spring config server, spring config client, some libraries like spring resttemplate, jgit. In my team, since kubernetes being upgraded, almost all projects need to be repackaged from alpine base to non-alpine. So, does the openzipkin team consider providing non-alpine base image as an option?
I have the same issue on k8s in this two months(first time deploy in March 2022, everything was ok), all logs about LoggingClient for es api are UNKNOWN host like this "http://UNKNOWN/#GET", then I have change logger level to debug, and dns resolver is ok. i once thought it is a es problem, but other es clients are working. During debugging I find something confusing that is when zipkin server started and connected es failed, then i restart one pod of es cluster node, zipkin server would work again, LoggingClient logs ES_HOSTS not UNKNOWN, but if i restart zipkin server this issue will come again.
I find that might be alpine base image network issues on kubernetes. I have repackage zipkin image with eclipse-temurin ubuntu base image, and it works. I find that more and more libraries running on jvm alpine base image that will have network issues since kubernetes 1.24-1.25 (1.24 in last comment), some components like spring config server, spring config client, some libraries like spring resttemplate, jgit. In my team, since kubernetes being upgraded, almost all projects need to be repackaged from alpine base to non-alpine. So, does the openzipkin team consider providing non-alpine base image as an option?
Cloud you share your build image with non-alpine? tks
I've being having the same issue. If I delete the K8s deployment to change, for example, heap memory and apply again, Zipkin can't no longer search on ES. It only works again if I rename the index using the env var ES_INDEX in Zipkin deployment. It doesn't seem to be a network issue but an app issue, where Zipkin lost some index reference when we redeploy.
But I appreciate if you share your image with us @jacklu2016. Thanks.
Complementing
If my previous index was zipkin-test
and for some reason I delete the zipkin deployment to change something or change something on ES that affects the index, I'll have to rename the index but it has to be something different like new-test
or new-zipkin-test
not zipkin-test2
or zipkin-another-test`. I don't know why but if the name is too much similar, it continues to failing.
Same issue, although I am not running this on Kubernetes. The instance can successfully call the /_cluster/health?pretty
endpoint using curl, but when I launch Zipkin with the specified ES_HOSTS=..... connect to the Zipkin UI, I just get met with the error above. Trying the /_cat/shards/
on the elastic search instance, I receive no names related to Zipkin
Upgrade the version of JDK and run Zipkin then.
zipkin was renovated at the end of last year including updates to all things including JRE and alpine. Closing this out, but if you have something with a current version, please ping back. FYI zipkin-helm is also much renovated, for those using k8s
We have deployed zipkin with elastic search in k8s and it was working fine. Now we use zipkin to connect the elastic search in aws with creds but its not working. Its giving the below error. we checked the connectivity from zipkin to elasticsearch using curl it works. from application its giving below error..