rschroll / rmfuse

FUSE access to the reMarkable Cloud
MIT License
95 stars 8 forks source link

RMfuse loses connection after ~ 1 day #5

Closed rschroll closed 3 years ago

rschroll commented 3 years ago

After running for a day or two, requests to the reMarkable Cloud will start erroring out due to an authentication issue. It would probably be solved by refreshing the user token. We ought to:

  1. Notice when this happens, and try refreshing the token before panicking, and
  2. Refresh the token automatically every $n hours.