Follow button "internal server error" when not logged in #408

Open
opened 5 years ago by hmmwat · 6 comments
hmmwat commented 5 years ago (Migrated from github.com)

Hi, I'm new to plume and was trying to follow a blog (on cafe.sunbeam.city) with my mastodon account. Not sure if that's how it works but anyway, when I clicked the follow button it went to an error page of "internal server error". I also tried it on some other instances and it still did the same thing. Hopefully this is the right place to report what might be a bug.

Plume version (and/or commit):

<!-- If your issue is not purely technical, it should be debated on Loomio first https://framavox.org/g/WK40YHMA/plume --> Hi, I'm new to plume and was trying to follow a blog (on cafe.sunbeam.city) with my mastodon account. Not sure if that's how it works but anyway, when I clicked the follow button it went to an error page of "internal server error". I also tried it on some other instances and it still did the same thing. Hopefully this is the right place to report what might be a bug. Plume version (and/or commit):
elegaanz commented 5 years ago (Migrated from github.com)

Hello! This is indeed the right place to report bugs.

Is the follow button you are speaking about in Plume's interface or on Mastodon?

Hello! This is indeed the right place to report bugs. Is the follow button you are speaking about in Plume's interface or on Mastodon?
hmmwat commented 5 years ago (Migrated from github.com)

It was on plume. But I also couldn't see anyones content when I looked them up from mastodon. Idk if that's relevant.

It was on plume. But I also couldn't see anyones content when I looked them up from mastodon. Idk if that's relevant.
elegaanz commented 5 years ago (Migrated from github.com)

Ok, then it is normal you couldn't follow them from Plume if you were only connected on Mastodon. Even if the two websites can communicate, you can't login with your Mastodon account on Plume (and vice-versa). The solution is either to create a Plume account or just to follow with your Mastodon account (this second option is probably the best if you don't plan to write anything on Plume, only to follow blogs).

And I think it is a known bug that Mastodon is not fetching previous messages for accounts that were recently discovered, but there is not much we can do about it.

However, I agree that the "Internal server error" page is confusing, it should redirect to the login page instead. Can I edit the title of your issue?

Ok, then it is normal you couldn't follow them from Plume if you were only connected on Mastodon. Even if the two websites can communicate, you can't login with your Mastodon account on Plume (and vice-versa). The solution is either to create a Plume account or just to follow with your Mastodon account (this second option is probably the best if you don't plan to write anything on Plume, only to follow blogs). And I think it is a known bug that Mastodon is not fetching previous messages for accounts that were recently discovered, but there is not much we can do about it. However, I agree that the "Internal server error" page is confusing, it should redirect to the login page instead. Can I edit the title of your issue?
Owner

the problem with "Internal server error" is the message used to build the redirect Uri containing illegal characters (spaces). We should Uri::percent_encode the message in requires_login.
We could also implement the remote follow button Mastodon provide to follow users from other instances, it would be more intuitive for users

the problem with "Internal server error" is the message used to build the redirect Uri containing illegal characters (spaces). We should `Uri::percent_encode` the message in `requires_login`. We could also implement the remote follow button Mastodon provide to follow users from other instances, it would be more intuitive for users
davmillar commented 5 years ago (Migrated from github.com)

Hi @BaptisteGelez I think I'm having the same/a similar problem. I'd like to follow a blog on cafe.sunbeam.city as well. Typically, I can paste a URL to a post or profile into the search bar in Mastodon and it will pull up the item for me to act on, but this isn't happening for the blog post or blogger in question:

https://cafe.sunbeam.city/@/Gwenfars Garden
https://cafe.sunbeam.city/~/GwenfarsGarden/what-does-a-solarpunk-future-look-like

Is this likely a Plume issue or a Mastodon issue? (Or both?)

Hi @BaptisteGelez I think I'm having the same/a similar problem. I'd like to follow a blog on cafe.sunbeam.city as well. Typically, I can paste a URL to a post or profile into the search bar in Mastodon and it will pull up the item for me to act on, but this isn't happening for the blog post or blogger in question: https://cafe.sunbeam.city/@/Gwenfars Garden https://cafe.sunbeam.city/~/GwenfarsGarden/what-does-a-solarpunk-future-look-like Is this likely a Plume issue or a Mastodon issue? (Or both?)
Owner

This user has a space in it's username, which we no longer authorize as it's incompatible with most other fediverse softwares, this account was created before the restriction was added. Sadly the only fix would be for this user to recreate their account with another username, or for the admin to tinker with the database to rename the account

This user has a space in it's username, which we no longer authorize as it's incompatible with most other fediverse softwares, this account was created before the restriction was added. Sadly the only fix would be for this user to recreate their account with another username, or for the admin to tinker with the database to rename the account
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Plume/Plume#408
Loading…
There is no content yet.