Are you sure it is not due to FlightAware servers being down?
I swapped 2 of my Pis this afternoon and couldn’t get either to connect to FlightAware. After a frustrating hour I checked the forum.
Here is the message I was getting
12/09/2015 16:56:59 got 'couldn't open socket: connection refused' to adept server at piaware.fligh$
12/09/2015 16:58:58 connecting to FlightAware 70.42.6.197/1200
12/09/2015 16:58:59 got 'couldn't open socket: connection refused' to adept server at 70.42.6.197/1$
12/09/2015 17:00:19 connecting to FlightAware 70.42.6.198/1200
12/09/2015 17:00:19 got 'couldn't open socket: connection refused' to adept server at 70.42.6.198/1$
12/09/2015 17:00:28 2869 msgs recv'd from dump1090 (760 in last 5m); 0 msgs sent to FlightAware
Edit} looks like we are back online 17:15 GMT
Well done guys