Intermittent ‘Read-only Database’ Errors with LiteFS in Multi-region #753
Replies: 1 comment
-
Looks like you're figured out the issue! superfly/litefs#386 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know this is a fly.io question (see my community question here) but maybe the epic-stack community can help if anyone else has run into this issue.
My stack is exactly what's in the epic-stack but, utilizing capacitor.js, is a mobile app currently in TestFlight on iOS.
I've
fly m clone <id>
to scale my app. However, I'm still getting a write error. Every other POST request is erroring with “attempt to write a readonly database”. I’ve scoured the internet, proxy docs (Built-in HTTP Proxy · Fly Docs), and still can’t understand what’s wrong with my setup. Again, every other request succeeds, but the others throw this error. Logs show the same POST request failing the first time and then succeeding the second time. What’s going on?Beta Was this translation helpful? Give feedback.
All reactions