From what I can find it looks like there is a Quickbooks bug starting with QB 2018 that causes the Unregistered Quickbooks modal to be thrown even when QB is registered. The user can close the modal and log in to Quickbooks without issue, verifying that it is registered.
See this thread - https://help.developer.intuit.com/s/question/0D50f00004zoqaJCAQ/quickbooks-appears-unregistered-randomly
Because of this QQube won't refresh for me. As soon as I launch the synchronizer this popup is thrown, breaking the sync. The worst part is this doesn't happen every time the sync is scheduled. Sometimes it goes days running successfully. Other times, like today, the manual refresh has failed 10+ times in a row.
Thought I would check if others have run into this and found a work around.
As discussed in this guide: Error 80040427 - Unregistered QuickBooks | CLEARIFY running the QB File and Network Doctor should fix this issue.
However in your case it seems to be sporadic
It generally seems to be the proper port not being available - or possibly the internet cannot make a connection to the QB servers.
You might check to see if anything is attempting to use the same ports that QB uses.
See this Intuit Guide on Firewall and Security Settings for QuickBooks Desktop: Set up firewall and security settings for QuickBooks Desktop (intuit.com)
Choose a location
Your session has expired. You are being logged out.