I have several Workflows running that are processing thousands of rows of Data and it's not uncommon for them take several hours to complete. Most of the time it works just fine running queries and inserting data into SQL tables but every hour around the 42 minute mark, every workflow that is running records this error:
"Unable to complete login process due to delay in opening server connection".
It seems like it only lasts a few seconds but when it recovers, I find that data wasn't written properly (or at all). It's to the point where I don't feel like I can trust the data and will have to clear it all out and start from scratch.
Looking at event viewer, the only thing I see consistently around that time is VSS running and from what I've researched, VSS can lock down databases and prevent actions while it's backing up. WF should just wait for the database to be unlocked and try the activity again but for some reason that doesn't seem to be happening and I can tell that because I have some views that try to report incomplete data sets and every time this error occurs, another series of rows get added to that view.
Has anyone else experienced this before? I found a similar forum post from 2022 but there wasn't any resolution posted.
I have an idea for a workaround involving Repeat loop and Try/Catch but I don't want to have to build it into every SQL activity for every Workflow going forward so I really need to fix the actual problem.