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

Fleet Telemetry Server is started but no data is received #128

Open
PrriyaR opened this issue Mar 13, 2024 · 3 comments
Open

Fleet Telemetry Server is started but no data is received #128

PrriyaR opened this issue Mar 13, 2024 · 3 comments

Comments

@PrriyaR
Copy link

PrriyaR commented Mar 13, 2024

Moved this out of #122 and created new issue

@patrickdemers6 Update: I am able to fix the certificate issue. And using acme Bash https://github.com/acmesh-official/acme.sh/wiki/Issue-a-cert-from-existing-CSR i generated the certificates.

And now the server is running. Where do i check the logs?
Here is what i got when docker compose up. I have already created telemetry config for my tesla vehicle with full chain cert. No telemetry data is received to the server

$ docker-compose up
[+] Running 1/0
✔ Container fleetfiles-app-1 Created 0.0s
Attaching to app-1
app-1 | 2024/03/13 19:35:12 maxprocs: Leaving GOMAXPROCS=1: CPU quota undefined
app-1 | time="2024-03-13T19:35:12Z" level=info msg=config_skipping_empty_metrics_provider
app-1 | time="2024-03-13T19:35:12Z" level=info msg=starting
And no telemetry errors from fleet_telemetry_errors endpoint

{
"response": {
"fleet_telemetry_errors": []
}
}

Still check_server_cert.sh fails for the cert that i got from acme client.

/tmp/tmp.FMNmhcx9pU: CN = <domain name>
error 20 at 0 depth lookup:unable to get local issuer certificate
/tmp/tmp.FMNmhcx9pU: CN = <domain name>
error 20 at 0 depth lookup:unable to get local issuer certificate
The server certificate is invalid.
@patrickdemers6
Copy link
Collaborator

Are you including ca in the config.json file you're passing to check_server_cert.sh?

@PrriyaR
Copy link
Author

PrriyaR commented Mar 14, 2024

@patrickdemers yes i included ca - full chain cert in config.json. I believe the certificate is conflicting with AWS cert and acme cert as my domain is used for other purpose

@patrickdemers6
Copy link
Collaborator

Yeah you need to make sure the TLS connection is being terminated at the fleet-telemetry server, not a load balancer or something else sitting out front.

Are you having any logs spit out once the server is started (like connection attempts with bad certs)? If not, it may be a sign the fleet-telemetry server isn't accessible at all to the outside world.

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