We've exhausted so many options we're beginning to suspect some browsers (mainly safari) just clears some of our state which can cause the error.