bug: Relays Broken
Created by: Amelia
💡 Summary
I noticed in the latest release that relays are no longer working. Messages from server 1 (sharkeytest1.tamaki-shimai.moe) does not appear on server 2 (sharkeytest2.tamaki-shimai.moe), which is connected to the relay that is locally accessible only, relaytest.tamaki-shimai.moe. It seems the Sharkey isn't pulling new posts from the relay in the latest dev release compared to the stable release (see expected behavior)
Note: A Relay allows ActivityPub servers that are joined to it to exchange all posts between the servers that are in the relay
🥰 Expected Behavior
Server 1 messages should appear on Server 2, which is joined by the same relay and vice versa.
Pic in the screenshot below, which is from the publicly accessible test server, sharkey.tamaki-shimai.moe running the stable release of Sharkey, it's receiving posts I don't follow from the relay connected at relay.sakurajima.moe
🤬 Actual Behavior
I can reproduce this by creating two Sharkey servers in a local environment running on the latest Ubuntu 22.04.3 LTS release running on the dev branch. Messages made on server 1 isn't showing up on the federated timeline of server 2 and vice versa.
📝 Steps to Reproduce
- Configure relays between two test servers (I used Activity-Relay, which is running on the first test Sharkey server at relaytest.tamaki-shimai.moe for a test)
- Add the relay (e.g. https://relaytest.tamaki-shimai.moe/inbox) to both test servers. Refresh to make sure it says Accepted.
- Type a public test message on the first and second test server.
- Check the federated timelines to see if messages from both servers appear on the timeline without following each other (the relay receives posts from servers joined to the relay and sends it to all the servers joined in the relay).
💻 Frontend Environment
* Model and OS of the device(s): Windows 11
* Browser: Chromium
* Server URL: localhost (test server is not publicly accessible)
* Misskey: 2023.11.0.beta3
🛰 Backend Environment (for server admin)
* Installation Method or Hosting Service: shell script (test enviroment)
* Misskey:2023.11.0.beta3
* Node:v20.9.0
* PostgreSQL: 9.6
* Redis:6:7.2.3-1rl1~jammy1
* OS and Architecture: 22.04.3 LTS, x86-64
Relay shows both servers joined in the relay. sharkey@sharkeytest1:~/Activity-Relay$ ./relay control domain list WARN[0000] RELAY_ICON: INVALID OR EMPTY. THIS COLUMN IS DISABLED. WARN[0000] RELAY_IMAGE: INVALID OR EMPTY. THIS COLUMN IS DISABLED.
- Subscriber list : [] sharkeytest2.tamaki-shimai.moe [] sharkeytest1.tamaki-shimai.moe
- Follower list : Total : 2