zkemail/archive.prove.email

Error: Invalid Credentials during upload

Closed this issue · 3 comments

About an hour or so into upload, even now, I get this error: upload failed: - Error: Invalid Credentials

@Divide-By-0, after investigation, it seems that we have encountered this bug in next-auth:
nextauthjs/next-auth#6642

there is a solution described in the thread, but unfortunately not a simple one

i'll look at it again in a while, and also try to think of a workaround

@Divide-By-0 I have deployed an update with a workaround.
I have tested it for 90 minutes and the access token is now updated and the process continues.
You can try it if you want on https://registry.prove.email/upload as usual. Just sign out and sign in again, and then start a Gmail upload and verify that it runs for more than 60 minutes.

workaround: 4ab9303

No reports of this problem since the workaround, closing