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

healthcheck checks for wrong piaware servers and returns exit code 1 #78

Closed
jheinitz opened this issue Apr 9, 2021 · 1 comment
Closed
Assignees

Comments

@jheinitz
Copy link

jheinitz commented Apr 9, 2021

Hello,

I'm quite happy with the docker image for PiAware. But I just found out that the healthcheck (/scripts/healthcheck.sh) tells me that my system is unhealthy. It tells me that there is no connection to Flightaware, but there is a valid connection.

I think that the problem is that the valid IP addresses are taken from the command

root@piaware:/# piaware-config -show adept-serverhosts
piaware.flightaware.com piaware.flightaware.com {70.42.6.156 70.42.6.232 70.42.6.224 70.42.6.228 70.42.6.198 70.42.6.225}

When I issue a manual netstat -an I can see that there is a connection to 206.253.82.195 which resolves to gregs.dal.flightaware.com.

So the question is: Where can I configure the list IPs? And why is my Piaware connectiing to this server?

Thanks in advance and best regards from Germany!

Jens

@mikenye mikenye self-assigned this Apr 10, 2021
mikenye pushed a commit that referenced this issue Apr 17, 2021
@mikenye
Copy link
Member

mikenye commented Apr 19, 2021

This should now be fixed. I'll close this out.

@mikenye mikenye closed this as completed Apr 19, 2021
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