mautrix / meta

A Matrix-Facebook Messenger and Instagram DM puppeting bridge.
GNU Affero General Public License v3.0
178 stars 12 forks source link

FTL Error initializing end-to-bridge encryption error="the pickled object is too new" #31

Closed erenon closed 8 months ago

erenon commented 8 months ago

I did setup v0.1.0 with conduit. matrix and facebook login was working. However, I got a websocket error ("Your message may not have been bridged: failed to send LS request: failed to write to websocket: use of closed network connection",). Recommended by #21, I tried with the latest dev version (arm64). Logs:

INF Initializing bridge built_at="Mar  6 2024, 21:54:13" go_version=go1.22.1 name=mautrix-meta version=0.1.0+dev.4dd9a43d
DBG Initializing database connection
DBG Initializing state store
DBG Initializing Matrix event processor
DBG Initializing Matrix event handler
INF Bridge initialization complete, starting...
DBG Running database upgrades
INF Database is up to date current_version=6 db_section=main latest_known_version=6 oldest_compatible_version=3
INF Database is up to date current_version=5 db_section=matrix_state latest_known_version=5 oldest_compatible_version=5
DBG Starting application service HTTP server
DBG Checking connection to homeserver
INF Starting HTTP listener address=0.0.0.0:29319
DBG Request completed duration=89.781814 method=GET req_id=1 response_length=118 response_mime=application/json status_code=200 url=https://redacted/_matrix/client/versions?user_id=%40metabot%3Aredacted
DBG Request completed duration=3.047284 method=GET req_id=2 response_length=39 response_mime=application/json status_code=200 url=https://redacted/_matrix/client/v3/account/whoami?user_id=%40metabot%3Aredacted
DBG Homeserver does not support checking status of homeserver -> bridge connection
DBG Initializing end-to-bridge encryption... component=crypto
DBG Request completed duration=4.0207 method=GET req_id=3 response_length=26 response_mime=application/json status_code=200 url=https://redacted/_matrix/media/v3/config?user_id=%40metabot%3Aredacted
INF Database is up to date current_version=14 db_section=crypto latest_known_version=14 oldest_compatible_version=9
DBG Found existing device ID for bot in database component=crypto device_id=redacted
DBG Request completed duration=3.077932 method=GET req_id=4 response_length=78 response_mime=application/json status_code=200 url=https://redacted/_matrix/client/v3/login?user_id=%40metabot%3Aredacted
DBG Request completed duration=6.090272 method=POST req_body={"device_id":"redacted","identifier":{"type":"m.id.user","user":"@metabot:redacted"},"initial_device_display_name":"Facebook Messenger bridge","type":"m.login.application_service"} req_id=5 response_length=147 response_mime=application/json status_code=200 url=https://redacted/_matrix/client/v3/login?user_id=%40metabot%3Aredacted
DBG Stored credentials after login as_user_id=@metabot:redacted device_id=redacted user_id=@metabot:redacted
DBG Logged in as bridge bot component=crypto device_id=redacted
FTL Error initializing end-to-bridge encryption error="the pickled object is too new"

Thanks for the product, btw, it is heroic.

tulir commented 8 months ago

That means you downgraded libolm, which isn't supported. Note that you don't have to compile the bridge yourself to get the latest version, the CI builds all commits as mentioned in the docs