FlightAware Discussions

PiAware won't stay connected to FlightAware

Hi all, I’m hoping that you can help me out. I have recently built my first PIAware. It was connected briefly at the very beginning, but has since not been able to stay connected. After reading some old articles, I thought providing a little data would be helpful for those experts out there who can help me.

I’m currently running PiAware 3.8.1 on the May 2020 release of Raspberry PI OS Lite.

Here’s an extract from the journalctl that shows what I’m seeing:

Jun 26 06:02:39 raspberrypi piaware[489]: Connecting to FlightAware adept server`     at 70.42.6.224/1200
Jun 26 06:02:39 raspberrypi piaware[489]: Connection with adept server at 70.42.6.224/1200 established
Jun 26 06:02:39 raspberrypi piaware[489]: TLS handshake with adept server at 70.42.6.224/1200 completed
Jun 26 06:02:39 raspberrypi piaware[489]: FlightAware server certificate validated
Jun 26 06:02:39 raspberrypi piaware[489]: encrypted session established with FlightAware
Jun 26 06:02:39 raspberrypi sudo[1853]:  piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
Jun 26 06:02:39 raspberrypi sudo[1853]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 26 06:02:39 raspberrypi sudo[1853]: pam_unix(sudo:session): session closed for user root
Jun 26 06:02:45 raspberrypi piaware[489]: Lost connection to adept server at 70.42.6.224/1200: server closed connection
Jun 26 06:02:45 raspberrypi piaware[489]: reconnecting in 5 seconds...

This looks like a server-side problem; thanks for the heads-up, we’ll take a look.

1 Like

I put in a quick fix on the server side (it was a database problem affecting a small number of sites), though I’m not sure what the original cause of the problem is yet. Can you check and see if you’re connecting OK now?

2 Likes

Looks good so far. Thanks for the quick fix!

piaware[5571]: piaware has successfully sent several msgs to FlightAware!

1 Like

Hi,

I’m also experiencing the same issue today.

Could somebody please check if there are any DB related issues with regard to my site/account please?

Log extract is below.

Thanks

Jul 09 15:56:26 raspberrypi piaware[508]: Connecting to FlightAware adept server at 70.42.6.156/1200
Jul 09 15:56:26 raspberrypi piaware[508]: Connection with adept server at 70.42.6.156/1200 established
Jul 09 15:56:27 raspberrypi piaware[508]: TLS handshake with adept server at 70.42.6.156/1200 completed
Jul 09 15:56:27 raspberrypi piaware[508]: FlightAware server certificate validated
Jul 09 15:56:27 raspberrypi piaware[508]: encrypted session established with FlightAware
Jul 09 15:56:27 raspberrypi sudo[4272]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
Jul 09 15:56:27 raspberrypi sudo[4272]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 09 15:56:27 raspberrypi sudo[4272]: pam_unix(sudo:session): session closed for user root
Jul 09 15:56:32 raspberrypi piaware[508]: Lost connection to adept server at 70.42.6.156/1200: server closed connection
Jul 09 15:56:32 raspberrypi piaware[508]: reconnecting in 5 seconds…

Please try configuring your site location at https://flightaware.com/adsb/stats/user/KARLBLAMEY (click the white-on-grey gearwheel) and see if that helps.

2 Likes

Thank you, looking good now :slight_smile:

I set the location manually as the selection via the map wasn’t working for me and local airport selection also became available for selection.

Thanks again.

Karl.