mautrix / wsproxy

A simple HTTP push -> websocket proxy for Matrix appservices
GNU Affero General Public License v3.0
23 stars 8 forks source link

Help with setup #6

Open dzg opened 2 years ago

dzg commented 2 years ago

New to matrix, just set up a server on EC2 using the ansible/docker playbook.

I'm confused, which part goes on my Mac, and which goes on the server?

Trying to understand https://docs.mau.fi/bridges/go/imessage/mac/setup.html ... not getting the part that says 4. Set up mautrix-wsproxy. Set it up on the server? How?

Thanks for any guidance!

I'm here:

./mautrix-imessage
[Jan  6, 2022 13:47:05] [INFO] Initializing mautrix-imessage 0.1.0+dev.5e171827 (Jan  5 2022, 01:26:07)
[Jan  6, 2022 13:47:05] [DEBUG] Initializing database connection
[Jan  6, 2022 13:47:05] [DEBUG] Initializing state store
[Jan  6, 2022 13:47:05] [DEBUG] Initializing Matrix event processor
[Jan  6, 2022 13:47:05] [DEBUG] Initializing Matrix event handler
[Jan  6, 2022 13:47:05] [DEBUG] Initializing iMessage connector
[Jan  6, 2022 13:47:05] [iMessage/Mac/INFO] Contact access is allowed
[Jan  6, 2022 13:47:05] [DEBUG] Bridge built with end-to-bridge encryption, but disabled in config
[Jan  6, 2022 13:47:05] [INFO] Bridge initialization complete, starting...
[Jan  6, 2022 13:47:05] [DEBUG] Running database upgrades
[Jan  6, 2022 13:47:05] [Database/Upgrade/INFO] Database currently on v6, latest: v6
[Jan  6, 2022 13:47:05] [DEBUG] Checking connection to homeserver
[Jan  6, 2022 13:47:05] [ERROR] Failed to connect to homeserver: failed to ensure registered: failed to POST /_matrix/client/r0/register: M_UNKNOWN_TOKEN (HTTP 401): Unrecognised access token. Retrying in 10 seconds...
dzg commented 2 years ago

I downloaded the binary mautrix-wsproxy-amd64 on my server ... copied config.yaml over there ...

Is homeserver my Mac? Or the Matrix server?

raxod502 commented 2 years ago

I'm just getting started myself, but your homeserver is the EC2 instance - https://matrix.org/docs/guides/introduction