Lost connection is not recovered

Here are the steps to reproduce:

  • Go offline (in devTool => Throttle => offline)
  • Make some graphQL requests to the backend (should fail)
  • Go back online
  • Make some graphQL requests (should succeed, but fail)

The token has been removed while I was offline. Reloading the page fixes the problem.

Is there any fix for this?


FYI, added a PR for this: Recover lost connection by standup75 · Pull Request #8284 · redwoodjs/redwood · GitHub


Thank you! We’ll make sure to follow-up on the PR.

Thanks for contributing the fix! It’s now available in v5.1.4:

Great work @Standup75 :rocket: