-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
jaeger-query can't connect to Cassandra running on Azure #812
Comments
Unfortunately, looks like I can't get a free Azure account to try this out (I might have had an older, non-free account). Do you see anything on Cassandra logs? @burmanm, do you know what might be going on here? |
Here are the trace logs when I run the command to start jaeger-query https://gist.github.com/jmhon08/21c510aad318cfeea26e318f2d43cb85. I don't see any errors, but I'm also not that familiar with Cassandra. I tried to run the jaeger-query command inside the Azure node running Cassandra
and it worked fine. |
Actually here are my observations:
|
OK, so the issue is not that it can't connect from my machine, it's that it takes 40 minutes. Does this seem like a Jaeger issue or an Azure issue?? If it's more likely an Azure one, I could open up a ticket with them. |
I've had something very similar happen when I tried hitting our c* cluster from my localhost. However we were never able to reproduce in production. It might have something to do with the gocql driver. Perhaps we could try upgrading it and checking if it has any impact? |
Upgrading gocql to commit version 181004e14a3fb735efcc826a4256369d0c96747b made it able to connect within 10 seconds! Thanks for the tip!! Note: Upon upgrading and building main.go for query, we ran into an error |
We might want to update this dependency then. Would you mind submitting a PR for this? |
There was some recent issue also where @yurishkuro mentioned about updating gocql version. Did that ever happen? |
We haven't gotten around to bumping it yet but we're open to it. Just have to ensure that there's no performance regression. |
Having the same issue as mentioned above in aws with both jaeger-collector and jaeger-query. Connection taking ~50min.
@jmhon08 Could you expand on your fix to this issue?
Running:
|
@carlislk The fix is in this ticket: https://github.com/jaegertracing/jaeger/pull/829/files which I'm going to land post haste. I'll see if we can cut a release once it's landed. |
Much appreciated. Thanks for the quick response. Cheers! |
I have Cassandra running on Azure (https://docs.bitnami.com/azure-templates/infrastructure/cassandra/, cqlsh 5.0.1 | Cassandra 3.11.2 | CQL spec 3.4.4 | Native protocol v4) and am able to connect to it on my machine using
./cqlsh 104.42.116.80 9042 -u theusername -p thepassword
. When I try to connect my jaeger-query to it with./jaeger-query --query.static-files=/go/jaeger-ui/ --cassandra.servers=104.42.116.80 --cassandra.port=9042 --cassandra.username=theusername --cassandra.password=thepassword
I see
{"level":"info","ts":1525821593.4915025,"caller":"healthcheck/handler.go:99","msg":"Health Check server started","http-port":16687,"status":"unavailable"}
But then nothing more appears. It stays like that forever. If I give it a bad username, it gives me an error about "unable to connect to initial hosts: Provided username blahblah and/or password are incorrect" so it seems like it is connecting to Cassandra fine, but not running the agent properly. I can't figure out a way to get more logs to appear to show me what could be wrong (I tried
--log-level=debug
, but still only see the one log line appear).Does anyone know what could be going on here?
The text was updated successfully, but these errors were encountered: