gugray / rss-parrot

Notifies Mastodon accounts about new posts in the RSS feeds they follow
https://rss-parrot.net
MIT License
109 stars 7 forks source link

Cannot view or follow new parrot accounts in Mastodon #43

Closed gugray closed 6 months ago

gugray commented 6 months ago

Symtom A: 1) Request a new feed by tooting at the birb 2) In the response, click/tap the link to the new parrot account -> I get redirected to the account's web page in rss-parrot Expected: I get to see the account in my Mastodon client

Symptob B: 1) In my Mastodon client I search for an existing but recent Parrot account, like @blogs.esa.int@rss-parrot.net. It's important that no account from my Mastodon instance is following this account yet. -> I get no results Expected: I get to see the account, and I can explore its details within my Mastodon client.

gugray commented 6 months ago

Mastodon didn't like the JSON response returned by RSS Parrot for the user profile (e.g., https://rss-parrot.net/u/blogs.esa.int).

Changing the content-type response header to "application/activity+json; charset=utf-8" seems to have been the solution.

My theory is that Mastodon server became more picky about this in a recent update, and the issue got noticed because most instance have updated to the latest version due to the recent security vulnerability.