matrix-org / pantalaimon

E2EE aware proxy daemon for matrix clients.
Apache License 2.0
293 stars 42 forks source link

The internal Pantalaimon client did not manage to sync with the server #114

Open Szybet opened 2 years ago

Szybet commented 2 years ago

Describe the bug I just get the error ERROR: pantalaimon: The internal Pantalaimon client did not manage to sync with the server.. only receiving messages works, sending on. on the previous version 0.8 sending worked, but panctl didnt.

To Reproduce I just installed it on alpine linux:

wget https://gitlab.alpinelinux.org/z3ntu/aports/-/jobs/581850/artifacts/raw/packages/testing/armv7/pantalaimon-0.10.3-r0.apk
wget https://gitlab.alpinelinux.org/z3ntu/aports/-/jobs/581850/artifacts/raw/packages/testing/armv7/pantalaimon-ui-0.10.3-r0.apk
apk add pantalaimon*.apk

Desktop (please complete the following information):

poljar commented 2 years ago

I presume was solved by installing from pip?

Szybet commented 2 years ago

Installing from pip was impossible, i was getting warious dependiency errors, the last error that i couldnt resolve was: gcc: internal compiler error: Segmentation fault. i couldnt solve it with reinstalling gcc. attempting to make it in virtualenv made that pip was installing it for 20 hours, after that i tryied setting up wheel, i couldnt becouse of dependiency errors.

im not experienced with python, so i maybe missed something

the actuall solution was to reinstall the whole system ( postmarketos based on alpine ) and then the packages i posted before started working. propably all of this is just alpine linux fault

rednaks commented 2 years ago

any idea how to solve this issue without re-installing everything ? I don't understand in which case this happens

Szybet commented 2 years ago

I think its just alpine fault. Using pantalaimon in a docker could be a good solution, but my system is weak ( an old tablet )

catfromplan9 commented 10 months ago

Use latest git release of pantalaimon (not 0.10.5) and latest matrix-nio release

terion-name commented 7 months ago

Use latest git release of pantalaimon (not 0.10.5) and latest matrix-nio release

Did not help. Bult latest source, still getting The pantalaimon client did not manage to sync with the server =( Running room join requests seems to work ok, but sending message — fails

MichaelErjemenko commented 4 months ago

@terion-name, @Szybet are you trying to use pantalaimon for an application service (user)? If yes, then this won't work (see: /synapse/handlers/sync.py method: generate_sync_result)