How does Mastodon react to delivery of a post from streams?
from Bunny of Doom
How does Mastodon react to delivery of a post from streams?I'm doing a little digging through my server logs. This is related to the issues Giac has been seeing for 2 months. Question: When a Streams instance sends out a post via ActivityPub, what does a Mastodon server send back within the first 1-2 minutes?
It looks like Mastodon may request to search for a hashtag mentioned in your post. (I'm not sure if this always happens.) Here's an example, searching for #
⚠️ :
195.201.25.153 - - [05/Sep/2024:19:22:10 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.10; +https://masto.ai/) Bot"
57.128.95.181 - - [05/Sep/2024:19:22:13 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.12; +https://goblin.masto.host/) Bot"
5.75.161.98 - - [05/Sep/2024:19:22:21 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.10; +https://mstdn.io/) Bot"
46.22.99.207 - - [05/Sep/2024:19:22:35 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.12; +https://social.vivaldi.net/) Bot"
18.169.170.229 - - [05/Sep/2024:19:22:36 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.2.0 (Mastodon/4.2.10; +https://backend.newsmast.org/) Bot"
54.91.240.230 - - [05/Sep/2024:19:22:37 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.12; +https://flipboard.social/) Bot"
94.130.105.194 - - [05/Sep/2024:19:22:41 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.10; +https://mastodon.green/) Bot"
141.95.205.35 - - [05/Sep/2024:19:22:43 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.12; +https://fosstodon.org/) Bot"
78.46.218.100 - - [05/Sep/2024:19:22:46 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.12; +https://social.touha.me/) Bot"
135.181.87.175 - - [05/Sep/2024:19:22:47 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.1.4; +https://jako.social/) Bot"
51.77.122.82 - - [05/Sep/2024:19:23:00 -0400] "GET /search?tag=%E2%9A%A0%EF%B8%8F HTTP/1.1" 403 27227 "-" "http.rb/5.1.1 (Mastodon/4.2.10; +https://universeodon.com/) Bot"
My channel has
Grant search access to your channel stream and posts set to "Restricted - Connections Only", so my instance responds with 403 Forbidden. If you have this set to Public or Semi-Public, a whole lot of identical searches will be running on your instance at the same time. This
could maybe cause a freeze-up.
(More research to follow.)
@
Bill Statler