-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BlueSky username/handle changes are not updated on BridgyFed #1074
Comments
@snarfed If you solve this by migrating, it may be a good idea to send another (There could still be a race condition if you set |
Sigh. Under the covers, BF uses Bluesky DIDs in AP actor ids, eg Sadly it sounds like Mastodon has old legacy baggage in its schema that identifies remote actors by their |
Ah, I'd failed to consider that. I think it does look up accounts by id. It just has an account refresh interval of a week, so it can look stale (unless the update is pushed via I think it generally does look up accounts by To me this looks like a bug where the parameter is intended as "only by id" but ends up meaning "not by id unless". This comment is a mess, sorry. The gist is yeah, I think this wouldn't allow remote servers to change preferred handles in place, ever, towards a Mastodon server. It may recognise the change/"missing account" after a week, but could possibly lose some data in the process? |
Here's what I'd remembered about Mastodon:
|
That matches what I found in the code, I think. If I'm not mistaken, you can prevent eventual destruction of the database entry with a WebFinger 'redirect' (at least the code seems to call it that), but I'm not sure that won't cause issues down the line. |
I'm having the same issue, only that it pulled Data from my first Change. |
Relevant: W3C SWICG finalized its ActivityPub and WebFinger report last month, and it includes guidance on
|
I've run into the same issue, but I'm unclear on what we're saying in this thread. Are we saying it's not possible to update the Mastodon info currently, or that it will update if we change handles again after a few hours? |
@jasontenpenny right, Mastodon can't handle username changes right now. They've made some progress on supporting it for their own users, internal to each instance, but not yet much progress for remote users. If you unfollow and then re-follow @[email protected], you may get it to bridge you to a new fediverse account with your new handle in the bridged fediverse address. Let us know if that works! |
FTR, I tried
And the new account wasn't created. |
yeah it looks like BF keeps a cache of the DID even after we block the account. So when we unblock and re-follow, it just reactivates that old cache. So it doesn't pull the updated username from Bluesky, and it doesn't look like it recreates the Mastodon account. Either that or I just haven't waited long enough for that part. I'm wondering if part of it is due to the fact that blocking BF doesn't reset its following status. So it's still following my account as soon as I unblock it. |
Yes! That's #1334 |
@snarfed I think this is solved as far as possible on our end now, since #1334 is done. The rest of the issue seems to be on the receiving instance's end, e.g.
|
Technically yes! But since it seems so common that receiving fediverse servers don't support username changes, notably Mastodon, I wonder if we still want to keep this open so that people can find and follow it easily? I don't know, open to thoughts. |
Sounds good, I'll just mark it |
Hey folks! Just did the dance of change handle --> unfollow --> refollow, but the result doesn't seem to have taken quite right. A specific order of events, with some other potentially confounding factors:
The situation I now see myself in is that |
Sorry for the trouble @luxaritas! Sounds like this is indeed your issue. I don't have an ETA for a fix, but I appreciate the details and info. |
Thanks @snarfed! Don't know if there's anything I can do to help given I have no previous experience with this project, but if there is do let me know, as I have a vested interest in this 😄 |
I get this same problem. I'm happy to contribute a fix if someone can guide me as to what is failing here. |
@Zemnmez thank you for offering! Sadly this specific issue isn't quite shovel-ready yet. The main blocker is that some fediverse software, notably Mastodon but also others, can't handle username changes yet, #1074 (comment), so if we fully implemented this and sent out |
It sounds like there's an additional issue here regarding the broken redirects. @snarfed What do you think about using It should be enough for the redirect path to validate that the last segment is a username or DID without any parameters. |
Right now, I would be happy to be able to just completely recreate the profile rather than rename it - it didn't live long enough to even be used, and any time it doesn't exist is time that content I post won't be synced to the fediverse |
Actually I just checked and it appears after logging into a Mastodon account and searching for it I can see |
Sorry, the HTML link hrefs where? In DMs that @[email protected] sends? |
@snarfed what's the state of the world on this? I'm seeing the same as @luxaritas that the link I was DM'ed https://fed.brid.gy/bsky/zemnmez.bsky.social is broken -- but https://fed.brid.gy/bsky/zemn.me does work, so is everything working as expected, but with a new account? I don't mind not being able to move my old posts -- my BSky account is super new. |
Honestly I haven't dug into this enough yet, and it's not really a priority right now. Sorry I don't have better news. Hopefully after I get through the current roadmap! |
I was thinking @mentions in general, profile (I misread a little earlier regarding where the "bsky user … not found" error happened, since I think that also happened in a different context related to viewing someone's profile from Mastodon.) |
Case in point: I just changed my Bluesky handle and now the "Open original page" function is broken on that bridge profile.
, which is clearly incorrect now. https://fed.brid.gy/bsky/tamschi.bsky.social worked but showed the old state… …until I refreshed it manually just now. It's now a redirect to https://fed.brid.gy/bsky/tamschi.itch.io but that page only shows
while the
which is correct. When viewed through Mastodon, the profile's "Open original page" link interestingly has changed to https://bsky.brid.gy/ap/did:plc:kh75nufdwqlesva4uyyj2e2m, which seems to redirect fine but interestingly to the clear handle URL. That redirect route too could avoid the database lookup by just redirecting to the (Maybe Mastodon doesn't process So overall there are probably two issues:
|
Some further interesting developments. All of a sudden, the page for my new handle) is now showing up, with the page for my old handle now 404ing. However, after creating a bsky post, I don't see it reflected on the fediverse profile :( |
Wait no, that's just a me not reading the docs 😅
I am seeing a bit of weirdness where posts from bsky are (sometimes?) delayed in showing up (including on the web profile), but I'm going to guess that's unrelated |
I too followed @ap.brid.gy and then changed my username from *.bsky.social one to my own custom domain. Today I was curious to check my user page, but I saw neither my old nor current username were on fed.brid.gy. It was redirecting from my old to new only enough. Tried the whole unfollow/block/unblock/refollow dance to no avail to getting an account setup for my custom domain. |
Having the exact same problem as above…curious to see a fix. |
We're still blocked on the fediverse mostly not being able to handle username changes. 😢 From #1074 (comment) :
|
I think we could send out Updates (and fix the Bridgy Fed status page for the handle-changed account 😉). We can leave the WebFinger redirect in place unless someone else takes the handle and I think then even Mastodon shouldn't misbehave. The main adverse effect of current implementations on the fediverse is that the visible handle won't be updated in those instances for now, as they just ignore the preferredUsername when they update remote accounts. |
As I reported elsewhere, I'm having the same problem. |
I'm having the same problem with Sharkey (Misskey fork), except it's worse: the bridged account is broken and now longer shows any new posts or replies. Reposts are still bridged as boosts, but actual posts are not federated. I know that Misskey doesn't really support WebFinger redirects, so maybe that's related? |
Whoa, really? You mean, if Misskey does a Webfinger lookup, and it redirects, they don't follow the redirect?! That's...not good. Webfinger explicitly allows redirects: https://www.rfc-editor.org/rfc/rfc7033#page-9 |
it does support WebFinger redirects though it has issues if the Webfinger points to the own instance |
should not be a issue for bridgy |
Even if a bluesky username was deleted on the fedi, this still blocks recreating a fedi account with the same or renamed bluesky username? |
OK...? Fwiw Bridgy-Fed-bridged web sites that use their own domain, like mine, @[email protected], redirect across domains, eg |
After checking the code, this is apparently what it does:
Thus, a redirect will "kinda" work on first fetch, but will not update the user if they change username or host. |
I recently updated my handle on BlueSky to my own domain. However, the federated account doesn't reflect the changes and still has the old link in the bio which no longer works.
Hope this is a good enough explanation. Ryan told me to submit issue. So, here it is.
The text was updated successfully, but these errors were encountered: