Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tablet syncs but shows no connection to cloud #291

Open
giovi321 opened this issue Mar 6, 2024 · 1 comment
Open

Tablet syncs but shows no connection to cloud #291

giovi321 opened this issue Mar 6, 2024 · 1 comment

Comments

@giovi321
Copy link

giovi321 commented Mar 6, 2024

I'm trying to sync an existing rmfakecloud account with a new tablet, but I keep getting the following error when I issue systemctl status xochitl -l:

Mar 06 10:25:35 reMarkable xochitl[596]: 09:25:35.055 rm.network.notifications Notifications socket is not OK: UnconnectedState (checkIfShouldConnect /home/runner/work/xochitl/xochitl/src/notifications/src/notifications.cpp:190)

and the cloud icon shows that the server is offline. Everything was working with the previous tablet.

  • rmfakecloud version: last, 0.0.17
  • xochitl version: 3.9.5.2026
  • rmfakecloud-proxy installation method: manual
  • rmfakecloud server installation: built from the source
@giovi321
Copy link
Author

giovi321 commented Mar 6, 2024

Ok, I managed to sync, but the cloud connection always appears as offline. I'm using a reverse proxy with Apache 2 on the server, could that be the cause? How is the connectivity checked by xochitl?

I see the following error on the proxy server:

192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "GET /integrations/v1/ HTTP/1.1" 200 4905 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 4843 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 4843 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 4843 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 4843 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "GET /integrations/v1/ HTTP/1.1" 200 4905 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 4843 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"
192.168.1.1 - - [06/Mar/2024:15:11:46 +0100] "POST /v2/events HTTP/1.1" 404 136 "-" "xochitl/3.9.5.837 (codex 4.0.367)"

and the following on rmfakecloud server:

mar 06 14:56:09 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:09+01:00" level=info msg="Requestng blob: root"
mar 06 14:56:09 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:09+01:00" level=info msg="[GIN] 2024/03/06 - 14:57:11 | 200 |     189.011<C2><B5>s |  192.168.56.105 | GET      \"/blobstorage?blobid=root&exp=REDACTED&scope=read&signature=REDACTED>
mar 06 14:56:16 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:16+01:00" level=info msg="[auth-middleware] UserId: giovi deviceId: RM110-325-38011 newSync: true"
mar 06 14:56:16 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:16+01:00" level=info msg="connecting websocket from: giovi"
mar 06 14:56:16 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:16+01:00" level=warning msg="can't upgrade websocket to ws websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header"
mar 06 14:56:16 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:16+01:00" level=info msg="[GIN] 2024/03/06 - 14:57:17 | 400 |     170.506<C2><B5>s |  192.168.56.105 | GET      \"/notifications/ws/json/1\""
mar 06 14:56:16 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:16+01:00" level=info msg="[auth-middleware] UserId: giovi deviceId: RM110-325-38011 newSync: true"
mar 06 14:56:16 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:16+01:00" level=info msg="[GIN] 2024/03/06 - 14:57:31 | 200 |     296.412<C2><B5>s |  192.168.56.105 | POST     \"/sync/v2/signed-urls/downloads\""
mar 06 14:56:18 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:18+01:00" level=info msg="[auth-middleware] UserId: giovi deviceId: RM110-325-38011 newSync: true"
mar 06 14:56:18 GC01remarkableSRVR rmfakecloud[527]: time="2024-03-06T14:56:18+01:00" level=info msg="[GIN] 2024/03/06 - 14:57:31 | 200 |     210.953<C2><B5>s |  192.168.56.105 | GET      \"/blobstorage?blobid=root&exp=REDACTED&scope=read&signature=REDACTED""

@giovi321 giovi321 changed the title Cannot sync existing account with new tablet Tablet syncs but shows no connection to cloud Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant