This happened a while back around 9th February 2022 Flow Mainnet Spork. It was fine until then but as soon as spork started, it started giving following error (which is okay and intentional I believe) :
level=warning msg="Unable to connect to chain, pausing system" function=Listener.Start.goroutine package=chain_events
But long after the spork was complete, the errors were still coming till 11th February 2022 when we checked and decided to restart the service on AWS ECS which started normally and was able to connect to Mainnet nodes. But every now and then, we are seeing the above error in logs randomly at a frequency of like around 5 times a day.
Do we need to restart the service after each Mainnet spork?