rmfakecloud icon indicating copy to clipboard operation
rmfakecloud copied to clipboard

Check Sync fails on RM2 running 3.24.0.149

Open gotgot1995 opened this issue 1 month ago • 3 comments

Hi,

I accidentally let my reMarkable 2 tablet perform an update to version 3.24.0.149 and it obviously broke the link with my local instance of rmfakecloud. 😢

I tried to follow the online guide Reenabling after a system update. After running the commands, I successfully could pair my device again with my rmfakecloud. However, the sync did not seem to complete anymore: it does not show the sync failure icon, but documents are not updated and the only logging entry that shows up in the rmfakecloud console after timeout is the following:

INFO[0759] [GIN] 2025/12/11 - 21:11:19 | 201 |       92.16µs |      10.11.99.1 | POST     "/analytics/v2/events"

Any help would be greatly appreciated. 🙏

gotgot1995 avatar Dec 11 '25 20:12 gotgot1995

What version of rmfakecloud are you running? What does the logs for the proxy on the device say? Same with the logs for xochitl on the device?

Eeems avatar Dec 11 '25 20:12 Eeems

✅ I can't seem to find any error from in journactl -u proxy -l:

Dec 12 09:58:53 reMarkable systemd[1]: Started reverse proxy.
Dec 12 09:58:53 reMarkable rmfake-proxy[3579]: 2025/12/12 09:58:53 cert-file=/home/root/rmfakecloud/proxy.bundle.crt key-file=/home/root/rmfakecloud/proxy.key listen-addr=:443 upstream-url=http://10.11.99.8:8080

⚠️ However, each time I edit and save a notebook, I'm getting these errors in journactl -u xochitl -f:

Dec 12 10:05:22 reMarkable xochitl[3596]: 10:05:22.147 rm.epaperkeyboardhandler No keymap set by QT settings or firmware, defaulting to US.
Dec 12 10:05:22 reMarkable xochitl[3596]: 10:05:22.148 rm.epaperkeyboardhandler No keymap set by QT settings or firmware, defaulting to US.
Dec 12 10:05:22 reMarkable xochitl[3596]: 10:05:22.408 rm.sys.timer             Type::Normal timer entryUploadTimer timed out (operator() /home/runner/work/xochitl/xochitl/src/xofm/libs/timer/src/timer.cpp:27)
Dec 12 10:05:22 reMarkable xochitl[3596]: 10:05:22.697 rm.scenefile             Scene writen to: "/home/root/.local/share/remarkable/xochitl/1ac800fc-92d6-4ad8-be6b-148b0c75090c/a3fa54a7-fc59-4ad0-a8de-d07939c02012.rm.tmp"
Dec 12 10:05:22 reMarkable xochitl[3596]: 10:05:22.792 rm.docworker              -> worker on 1ac800fc-92d6-4ad8-be6b-148b0c75090c now exiting (run /home/runner/work/xochitl/xochitl/src/worker/src/documentworker.cpp:1487)
Dec 12 10:05:22 reMarkable xochitl[3596]: 10:05:22.811 rm.sys.timer             Type::Normal timer entryUploadTimer timed out (operator() /home/runner/work/xochitl/xochitl/src/xofm/libs/timer/src/timer.cpp:27)
Dec 12 10:05:29 reMarkable xochitl[3596]: 10:05:29.514 rm.network.authenticationFetching user token (fetchUserToken /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:350)
Dec 12 10:05:29 reMarkable xochitl[3596]: 10:05:29.517 rm.network.authenticationuserTokenHostname received: value(10.11.99.8:8080) (onUserTokenHostNameReceived /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:410)
Dec 12 10:05:30 reMarkable xochitl[3596]: 10:05:30.778 rm.network.authenticationUser token error: optional(404 Not found), none, "{\"code\":404,\"message\":\"The current request is not defined by this API.\"}\n" (onUserTokenReplyFinished /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:360)
Dec 12 10:05:30 reMarkable xochitl[3596]: 10:05:30.778 rm.http.transaction      Request failed: RequestId=33 http=optional(404 Not found) url=https://eu.tectonic.remarkable.com/token/json/2/user/new (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 12 10:05:30 reMarkable xochitl[3596]: 10:05:30.779 rm.http.transaction      RequestId=33: transaction ended in 1260ms after following events:
Dec 12 10:05:30 reMarkable xochitl[3596]:         Create          2025-12-12 10:05:29.517542131
Dec 12 10:05:30 reMarkable xochitl[3596]:         Send            2025-12-12 10:05:29.518180468
Dec 12 10:05:30 reMarkable xochitl[3596]:         Fail            2025-12-12 10:05:30.778306950 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)
Dec 12 10:05:30 reMarkable xochitl[3596]: 10:05:30.892 rm.network.authenticationFetching user token (fetchUserToken /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:350)
Dec 12 10:05:30 reMarkable xochitl[3596]: 10:05:30.894 rm.network.authenticationuserTokenHostname received: value(10.11.99.8:8080) (onUserTokenHostNameReceived /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:410)
Dec 12 10:05:30 reMarkable xochitl[3596]: 10:05:30.940 rm.network.authenticationUser token error: optional(404 Not found), none, "{\"message\":\"The current request is not defined by this API.\",\"code\":404}\n" (onUserTokenReplyFinished /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:360)
Dec 12 10:05:30 reMarkable xochitl[3596]: 10:05:30.942 rm.http.transaction      Request failed: RequestId=34 http=optional(404 Not found) url=https://eu.tectonic.remarkable.com/token/json/2/user/new (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 12 10:05:30 reMarkable xochitl[3596]: 10:05:30.942 rm.http.transaction      RequestId=34: transaction ended in 47ms after following events:
Dec 12 10:05:30 reMarkable xochitl[3596]:         Create          2025-12-12 10:05:30.894440967
Dec 12 10:05:30 reMarkable xochitl[3596]:         Send            2025-12-12 10:05:30.895045181
Dec 12 10:05:30 reMarkable xochitl[3596]:         Fail            2025-12-12 10:05:30.941492513 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)
Dec 12 10:05:33 reMarkable xochitl[3596]: 10:05:33.014 rm.network.authenticationFetching user token (fetchUserToken /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:350)
Dec 12 10:05:33 reMarkable xochitl[3596]: 10:05:33.014 rm.network.authenticationuserTokenHostname received: value(10.11.99.8:8080) (onUserTokenHostNameReceived /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:410)
Dec 12 10:05:33 reMarkable xochitl[3596]: 10:05:33.065 rm.network.authenticationUser token error: optional(404 Not found), none, "{\"message\":\"The current request is not defined by this API.\",\"code\":404}\n" (onUserTokenReplyFinished /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:360)
Dec 12 10:05:33 reMarkable xochitl[3596]: 10:05:33.065 rm.http.transaction      Request failed: RequestId=35 http=optional(404 Not found) url=https://eu.tectonic.remarkable.com/token/json/2/user/new (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 12 10:05:33 reMarkable xochitl[3596]: 10:05:33.066 rm.http.transaction      RequestId=35: transaction ended in 50ms after following events:
Dec 12 10:05:33 reMarkable xochitl[3596]:         Create          2025-12-12 10:05:33.014802850
Dec 12 10:05:33 reMarkable xochitl[3596]:         Send            2025-12-12 10:05:33.015451936
Dec 12 10:05:33 reMarkable xochitl[3596]:         Fail            2025-12-12 10:05:33.065168071 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)
Dec 12 10:05:37 reMarkable xochitl[3596]: 10:05:37.089 rm.network.authenticationFetching user token (fetchUserToken /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:350)
Dec 12 10:05:37 reMarkable xochitl[3596]: 10:05:37.092 rm.network.authenticationuserTokenHostname received: value(10.11.99.8:8080) (onUserTokenHostNameReceived /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:410)
Dec 12 10:05:37 reMarkable xochitl[3596]: 10:05:37.143 rm.network.authenticationUser token error: optional(404 Not found), none, "{\"code\":404,\"message\":\"The current request is not defined by this API.\"}\n" (onUserTokenReplyFinished /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:360)
Dec 12 10:05:37 reMarkable xochitl[3596]: 10:05:37.144 rm.http.transaction      Request failed: RequestId=36 http=optional(404 Not found) url=https://eu.tectonic.remarkable.com/token/json/2/user/new (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 12 10:05:37 reMarkable xochitl[3596]: 10:05:37.145 rm.http.transaction      RequestId=36: transaction ended in 50ms after following events:
Dec 12 10:05:37 reMarkable xochitl[3596]:         Create          2025-12-12 10:05:37.093271746
Dec 12 10:05:37 reMarkable xochitl[3596]:         Send            2025-12-12 10:05:37.094250687
Dec 12 10:05:37 reMarkable xochitl[3596]:         Fail            2025-12-12 10:05:37.144193559 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)
Dec 12 10:05:45 reMarkable xochitl[3596]: 10:05:45.514 rm.network.authenticationFetching user token (fetchUserToken /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:350)
Dec 12 10:05:45 reMarkable xochitl[3596]: 10:05:45.517 rm.network.authenticationuserTokenHostname received: value(10.11.99.8:8080) (onUserTokenHostNameReceived /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:410)
Dec 12 10:05:45 reMarkable xochitl[3596]: 10:05:45.765 rm.network.authenticationUser token error: optional(404 Not found), none, "{\"message\":\"The current request is not defined by this API.\",\"code\":404}\n" (onUserTokenReplyFinished /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:360)
Dec 12 10:05:45 reMarkable xochitl[3596]: 10:05:45.767 rm.http.transaction      Request failed: RequestId=37 http=optional(404 Not found) url=https://eu.tectonic.remarkable.com/token/json/2/user/new (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 12 10:05:45 reMarkable xochitl[3596]: 10:05:45.768 rm.http.transaction      RequestId=37: transaction ended in 249ms after following events:
Dec 12 10:05:45 reMarkable xochitl[3596]:         Create          2025-12-12 10:05:45.517392849
Dec 12 10:05:45 reMarkable xochitl[3596]:         Send            2025-12-12 10:05:45.518034936
Dec 12 10:05:45 reMarkable xochitl[3596]:         Fail            2025-12-12 10:05:45.766510871 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)

Also, I noticed that after each reboot:

Dec 12 10:15:03 reMarkable xochitl[282]: 10:15:03.896 rm.network.authenticationhostname received: value(webapp-prod.cloud.remarkable.engineering), existing request id:none (operator()<xostd::expected<QString, http::Error> > /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:185)
Dec 12 10:15:14 reMarkable xochitl[282]: 10:15:14.894 rm.network.authenticationFailed to fetch device token: optional(400 Bad request), Invalid One-time-code
Dec 12 10:15:14 reMarkable xochitl[282]: , none (onDeviceTokenReceived /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:246)
Dec 12 10:15:14 reMarkable xochitl[282]: 10:15:14.896 rm.http.transaction      Request failed: RequestId=8 http=optional(400 Bad request) url=https://webapp-prod.cloud.remarkable.engineering/token/json/2/device/new (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 12 10:15:14 reMarkable xochitl[282]: 10:15:14.897 rm.http.transaction      RequestId=8: transaction ended in 10999ms after following events:
Dec 12 10:15:14 reMarkable xochitl[282]:         Create          2025-12-12 10:15:03.896094821
Dec 12 10:15:14 reMarkable xochitl[282]:         Send            2025-12-12 10:15:03.896666696
Dec 12 10:15:14 reMarkable xochitl[282]:         Fail            2025-12-12 10:15:14.895947443 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)
  • ✅ even though, the proxy service is still alive
  • ✅ adding 127.0.0.1 webapp-prod.cloud.remarkable.engineering to /etc/hosts seems to fix the pairing after reboot

🤔 After that, I couldn't get any further as I could see a lot more logs without error in the rmfakecloud console than before. But none of my documents are synced, still. Now I'm getting a lot of these:

INFO[2245] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2245] [GIN] 2025/12/12 - 11:30:35 | 200 |    1.001284ms |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2245] Using sync 1.5                               
INFO[2245] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2245] [GIN] 2025/12/12 - 11:30:35 | 200 |    1.018756ms |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2245] Using sync 1.5                               
INFO[2245] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2245] [GIN] 2025/12/12 - 11:30:35 | 200 |     841.659µs |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2246] [GIN] 2025/12/12 - 11:30:35 | 201 |       26.74µs |      10.11.99.1 | POST     "/analytics/v2/events" 
INFO[2246] Using sync 1.5                               
INFO[2246] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2246] [GIN] 2025/12/12 - 11:30:36 | 200 |    1.397342ms |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2247] Using sync 1.5                               
INFO[2247] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2247] [GIN] 2025/12/12 - 11:30:37 | 200 |     785.545µs |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2248] Using sync 1.5                               
INFO[2248] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2248] [GIN] 2025/12/12 - 11:30:38 | 200 |     841.654µs |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2248] Using sync 1.5                               
INFO[2248] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2248] [GIN] 2025/12/12 - 11:30:38 | 200 |     898.425µs |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2249] Using sync 1.5                               
INFO[2249] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2249] [GIN] 2025/12/12 - 11:30:39 | 200 |     829.348µs |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2250] Using sync 1.5                               
INFO[2250] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2250] [GIN] 2025/12/12 - 11:30:40 | 200 |     737.246µs |      10.11.99.1 | POST     "/token/json/2/user/new" 
INFO[2250] Using sync 1.5                               
INFO[2250] setting scopes: intgr screenshare docedit hwcmail:-1 hwc mail:-1 sync:tortoise 
INFO[2250] [GIN] 2025/12/12 - 11:30:40 | 200 |     910.017µs |      10.11.99.1 | POST     "/token/json/2/user/new"

gotgot1995 avatar Dec 12 '25 10:12 gotgot1995

What version of rmfakecloud are you running?

I think you either forgot to reply to this, or GPT'd it out of your response.

Also, I noticed that after each reboot: ... pairing is broken

Could you expand on this more? You shouldn't need to pair again after a reboot, unless you mean you unpair and try to pair again?

Does the UI show an error when trying to sync after you've paired? Same with when you ran check sync?

Is sync15 set to true for your .userprofile in the rmfakecloud server?

Eeems avatar Dec 13 '25 06:12 Eeems

Sorry for the delay in replying. Also, I didn't use GPT to reply. I just focused so much on looking for more logs on my device that I forgot about your first question. Sorry about that. 😬

What version of rmfakecloud are you running?

I'm running rmfakecloud version v0.0.26-22-gdbd23cd. Should I try updating to version v0.0.27 ?

I'll investigate what you suggested and get right back to you.

gotgot1995 avatar Dec 16 '25 20:12 gotgot1995

It wouldn't hurt to update to the latest.

Eeems avatar Dec 16 '25 20:12 Eeems

Does the UI show an error when trying to sync after you've paired? Same with when you ran check sync?

At the moment, still running rmfakecloud in version v0.0.26-22-gdbd23cd, when I go to "settings" then select the "cloud" tab and then click on the "check sync" button, the UI shows "checking sync..." for 30 seconds, and then says "No syncing errors found. If you still experience problems, try restarting your device" even though my notebooks are clearly not synced. Same on the home screen, no error shows when syncing.

I'll update rmfakecloud and try again right away.

gotgot1995 avatar Dec 16 '25 20:12 gotgot1995

Is sync15 set to true for your .userprofile in the rmfakecloud server?

Yes, it is.

Updating to v0.0.27 didn't seem to change much: pairing still works but syncing does nothing except showing the same log in the rmfakecloud output console:

INFO[0268] [GIN] 2025/12/16 - 22:09:05 | 201 |      43.834µs |      10.11.99.1 | POST     "/analytics/v2/events"

gotgot1995 avatar Dec 16 '25 21:12 gotgot1995

What error is shown in the xochitl log when you check sync?

Eeems avatar Dec 16 '25 21:12 Eeems

What error is shown in the xochitl log when you check sync?

Here's what shows journalctl -u xochitl -f when I check sync:

Dec 16 21:18:52 reMarkable xochitl[11767]: 21:18:52.744 rm.http.manager          Transaction RequestId=8 fails due to Token failure (requestFailure /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/manager.cpp:545)
Dec 16 21:18:52 reMarkable xochitl[11767]: 21:18:52.747 rm.report.jsonsender     error posting to https://eu.tectonic.remarkable.com/report/v1 - RequestId=8 Network error: 4 Token failure (operator()<const http::Reply> /home/runner/work/xochitl/xochitl/src/report/src/jsonsender.cpp:51)
Dec 16 21:18:52 reMarkable xochitl[11767]: 21:18:52.748 rm.http.transaction      Request failed: RequestId=8 error='Token failure' http=none url=https://eu.tectonic.remarkable.com/report/v1 (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 16 21:18:52 reMarkable xochitl[11767]: 21:18:52.749 rm.http.transaction      RequestId=8: transaction ended in 29451ms after following events:
Dec 16 21:18:52 reMarkable xochitl[11767]:         Create          2025-12-16 21:18:23.296623630
Dec 16 21:18:52 reMarkable xochitl[11767]:         Send            2025-12-16 21:18:23.297383110
Dec 16 21:18:52 reMarkable xochitl[11767]:         WaitForToken    2025-12-16 21:18:23.338552416
Dec 16 21:18:52 reMarkable xochitl[11767]:         Fail            2025-12-16 21:18:52.747886876 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)
Dec 16 21:19:09 reMarkable xochitl[11767]: 21:19:09.744 rm.network.authenticationFetching user token (fetchUserToken /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:350)
Dec 16 21:19:09 reMarkable xochitl[11767]: 21:19:09.745 rm.network.authenticationuserTokenHostname received: value(10.11.99.8:8080) (onUserTokenHostNameReceived /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:410)
Dec 16 21:19:09 reMarkable xochitl[11767]: 21:19:09.843 rm.network.authenticationUser token error: optional(404 Not found), none, "{\"message\":\"The current request is not defined by this API.\",\"code\":404}\n" (onUserTokenReplyFinished /home/runner/work/xochitl/xochitl/src/xofm/libs/network/src/authentication.cpp:360)
Dec 16 21:19:09 reMarkable xochitl[11767]: 21:19:09.843 rm.http.transaction      Request failed: RequestId=14 http=optional(404 Not found) url=https://eu.tectonic.remarkable.com/token/json/2/user/new (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 16 21:19:09 reMarkable xochitl[11767]: 21:19:09.844 rm.http.transaction      RequestId=14: transaction ended in 98ms after following events:
Dec 16 21:19:09 reMarkable xochitl[11767]:         Create          2025-12-16 21:19:09.744923665
Dec 16 21:19:09 reMarkable xochitl[11767]:         Send            2025-12-16 21:19:09.745559273
Dec 16 21:19:09 reMarkable xochitl[11767]:         Fail            2025-12-16 21:19:09.843345882 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)

And again, it says "No syncing errors found." still... 😕

gotgot1995 avatar Dec 16 '25 21:12 gotgot1995

Is eu.tectonic.remarkable.com in the /etc/hosts on your device?

Eeems avatar Dec 16 '25 21:12 Eeems

It's getting late here so I've already disconnected everything. But from what I remember, that host name was not in the in /etc/hosts file. I'll try to add it tomorrow and check if that solves it.

Thanks again for your time. 🙏

gotgot1995 avatar Dec 16 '25 21:12 gotgot1995

Hi 👋

I tried adding 127.0.0.1 eu.tectonic.remarkable.com to /etc/hosts but it caused the following SSL error in journalctl -u xochitl -f:

Dec 17 12:23:45 reMarkable xochitl[15303]: 12:23:45.409 rm.http.qt               SSL errors on connection to https://eu.tectonic.remarkable.com/discovery/v1/endpoints: QSslError(HostNameMismatch: The host name did not match any of the valid hosts for this certificate) (operator() /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/qt-transaction.cpp:159)
Dec 17 12:23:45 reMarkable xochitl[15303]: 12:23:45.410 rm.http.qt               SSL config: verify=AutoVerifyPeer, cipher=TLS_CHACHA20_POLY1305_SHA256, cert chain (2 item(s)): certificate(SN=*.appspot.com (SANs: *.rmfakecloud.localhost, *.cloud.remarkable.engineering, *.cloud.remarkable.com, *.remarkable.com, *.appspot.com); CA:false; issuer=rmfakecloud) (2025-12-17T12:19:21Z .. 2035-12-15T12:19:21Z) -> certificate(SN=rmfakecloud (SANs: <none>); CA:true; issuer=rmfakecloud) (2025-12-17T12:19:18Z .. 2035-12-15T12:19:18Z) (operator() /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/qt-transaction.cpp:160)
Dec 17 12:23:45 reMarkable xochitl[15303]: 12:23:45.411 rm.http.qt               RequestId=16: Received QNetworkReply error code 6 (calculateReplyStatus /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/qt-transaction.cpp:130)
Dec 17 12:23:45 reMarkable xochitl[15303]: 12:23:45.414 rm.http.transaction      Request failed: RequestId=16 error='SSL handshake failed' http=none url=https://eu.tectonic.remarkable.com/discovery/v1/endpoints (finish /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:319)
Dec 17 12:23:45 reMarkable xochitl[15303]: 12:23:45.414 rm.http.transaction      RequestId=16: transaction ended in 135ms after following events:
Dec 17 12:23:45 reMarkable xochitl[15303]:         Create          2025-12-17 12:23:45.277699814
Dec 17 12:23:45 reMarkable xochitl[15303]:         Send            2025-12-17 12:23:45.278933655
Dec 17 12:23:45 reMarkable xochitl[15303]:         Fail            2025-12-17 12:23:45.413501839 (~Transaction /home/runner/work/xochitl/xochitl/src/xofm/libs/http/src/transaction.cpp:114)

And in journalctl -u proxy -f I'm now getting regularly:

Dec 17 12:24:54 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:54 http: TLS handshake error from [::1]:50192: EOF
Dec 17 12:24:54 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:54 http: TLS handshake error from [::1]:50194: EOF
Dec 17 12:24:55 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:55 http: TLS handshake error from [::1]:50196: EOF
Dec 17 12:24:56 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:56 http: TLS handshake error from [::1]:50198: EOF
Dec 17 12:24:56 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:56 http: TLS handshake error from [::1]:50200: EOF
Dec 17 12:24:57 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:57 http: TLS handshake error from [::1]:50202: EOF
Dec 17 12:24:57 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:57 http: TLS handshake error from [::1]:50204: EOF
Dec 17 12:24:58 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:58 http: TLS handshake error from [::1]:50206: EOF
Dec 17 12:24:59 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:59 http: TLS handshake error from [::1]:50208: EOF
Dec 17 12:24:59 reMarkable rmfake-proxy[15288]: 2025/12/17 12:24:59 http: TLS handshake error from [::1]:50210: EOF
Dec 17 12:25:00 reMarkable rmfake-proxy[15288]: 2025/12/17 12:25:00 http: TLS handshake error from [::1]:50212: EOF
Dec 17 12:25:01 reMarkable rmfake-proxy[15288]: 2025/12/17 12:25:01 http: TLS handshake error from [::1]:50214: EOF
Dec 17 12:25:01 reMarkable rmfake-proxy[15288]: 2025/12/17 12:25:01 http: TLS handshake error from [::1]:50216: EOF
Dec 17 12:25:02 reMarkable rmfake-proxy[15288]: 2025/12/17 12:25:02 http: TLS handshake error from [::1]:50218: EOF
Dec 17 12:25:02 reMarkable rmfake-proxy[15288]: 2025/12/17 12:25:02 http: TLS handshake error from [::1]:50220: EOF

gotgot1995 avatar Dec 17 '25 12:12 gotgot1995

You'll need to regenerate the proxy certificate with that host in the list

Eeems avatar Dec 17 '25 17:12 Eeems

So, I edited the installer.sh script on my device and added 127.0.0.1 eu.tectonic.remarkable.com to the generate_certificates() function as well as DNS.6 = *.tectonic.remarkable.com to the [ san ] section. Then I ran a ./installer.sh uninstall and ./installer.sh install and now everything works again. 😄

gotgot1995 avatar Dec 18 '25 09:12 gotgot1995

Glad to hear that, you must have been using an older copy of the installer, as it was updated in August to include this domain.

Eeems avatar Dec 18 '25 10:12 Eeems