Skip to content
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

Avatar and header no longer visible #1763

Closed
EmilJacobs opened this issue Feb 10, 2025 · 16 comments
Closed

Avatar and header no longer visible #1763

EmilJacobs opened this issue Feb 10, 2025 · 16 comments

Comments

@EmilJacobs
Copy link

I noticed that my avatar and header are no longer loaded. I don't visit the bsky website regularly, so I'm not sure when this started, but the last major change on my instance was a move from local to object storage a few weeks ago. Could that be a trigger here?

Pictures in posts are however loaded as expected.

My profile: https://bsky.app/profile/collectifission.greennuclear.online.ap.brid.gy

@snarfed
Copy link
Owner

snarfed commented Feb 10, 2025

Hey, sorry for the trouble! Yup, that move is probably the cause: https://fed.brid.gy/docs#bluesky-image-cdn

@Tamschi
Copy link
Collaborator

Tamschi commented Feb 10, 2025

If that is indeed the case, then editing your profile in any way should fix it, by the way.
(Doing so sends out an Update activity that Bridgy Fed can translate into a Bluesky profile record update.)

It may be a good idea to mention that in the docs section.

@snarfed
Copy link
Owner

snarfed commented Feb 10, 2025

Oh interesting. If you think all image URLs on this instance changed, and the old ones no longer serve, and the instance didn't send Updates, then yes! That seems pretty destructive, and unlikely, but I guess possible.

@Tamschi
Copy link
Collaborator

Tamschi commented Feb 10, 2025

I don't see how the instance could feasibly send updates to everyone who has cached its Objects. There's normally little to no tracking for that (and it's not necessarily feasible volume-wise).

It should serve a Moved Permanently redirect on the old URLs, but there are definitely a few places this could fail in addition to the software itself not having that feature.

@snarfed
Copy link
Owner

snarfed commented Feb 10, 2025

Oh sure, I'm not arguing it's obligated to send updates to every known instance, but maybe at least to followers. Or, if the previous URLs redirect, that's fine too. But if you change a profile's or post's image URLs, and the old URLs don't redirect, and you don't send Updates...then you're going to have a bad time, regardless of bridges.

@Aelese
Copy link

Aelese commented Feb 11, 2025

I think something similar has been going on for weeks with an account bridged from a website. New posts are being pushed, so the bridge doesn't seem "stuck", but profile pic is not visible.

Website: https://pontevedra.gal/
Bridged account: https://bsky.app/profile/pontevedra.gal.web.brid.gy

PS: Sorry for hijacking the thread, I'm trying to avoid duplicates.

@EmilJacobs
Copy link
Author

If that is indeed the case, then editing your profile in any way should fix it, by the way. (Doing so sends out an Update activity that Bridgy Fed can translate into a Bluesky profile record update.)

It may be a good idea to mention that in the docs section.

Interesting: when selecting a different avatar, it syncs. But as soon as I go back, it's again no longer visible.

@Tamschi
Copy link
Collaborator

Tamschi commented Feb 11, 2025

If that is indeed the case, then editing your profile in any way should fix it, by the way. (Doing so sends out an Update activity that Bridgy Fed can translate into a Bluesky profile record update.)

It may be a good idea to mention that in the docs section.

Interesting: when selecting a different avatar, it syncs. But as soon as I go back, it's again no longer visible.

That's #1650. I wonder if that's in part responsible for the initial issue too, then.

@snarfed
Copy link
Owner

snarfed commented Feb 11, 2025

Yes! Thanks @Tamschi, looks like @EmilJacobs's profile at least is indeed #1650. Sorry Emil!

@Aelese try the debugging steps in https://fed.brid.gy/docs#bluesky-image-cdn ?

@EmilJacobs
Copy link
Author

Reading #1650 I'm not really sure what the issue is. Is there something I could do to fix it?

@snarfed
Copy link
Owner

snarfed commented Feb 11, 2025

@EmilJacobs it's just a bug we need to fix, sorry. In the meantime, switching to a different image should fix it for you, as you saw. Even a single byte different will work, eg a slightly bigger or smaller version, or change the JPEG quality slightly, etc.

@Aelese
Copy link

Aelese commented Feb 11, 2025

Yes! Thanks @Tamschi, looks like @EmilJacobs's profile at least is indeed #1650. Sorry Emil!

@Aelese try the debugging steps in https://fed.brid.gy/docs#bluesky-image-cdn ?

A few days ago I tried to follow the steps and I couldn't get the link for any of the images as when using the browser's developer tools to inspect them, there wasn't even a link.

However, today I clicked on the avatar and inspected what should be the enlarged avatar, for which I got the following link: https://cdn.bsky.app/img/avatar/plain/did:plc:qr4hely5haxyanqepxpbapxb/bafkreibtbm6xg5sihydtcbehlqjjbkrfxlnbkukl2wdscouiwspnuj4z3y@jpeg. And yes, it seems to be the server's fault and I'll have to let it go as I don't have access to it.

Thanks for your help and sorry for the inconvenience.

@EmilJacobs
Copy link
Author

EmilJacobs commented Feb 11, 2025

@EmilJacobs it's just a bug we need to fix, sorry. In the meantime, switching to a different image should fix it for you, as you saw. Even a single byte different will work, eg a slightly bigger or smaller version, or change the JPEG quality slightly, etc.

I did a re-export of the existing image, making sure it was a slightly different size (a few kb less), but that didn't solve it. Odd?

@EmilJacobs
Copy link
Author

Ok, recreated my avatar from scratch and this worked. Hope it keeps working.

@snarfed
Copy link
Owner

snarfed commented Feb 14, 2025

Glad it's working now!

@snarfed
Copy link
Owner

snarfed commented Feb 14, 2025

Duplicate of #1650

@snarfed snarfed marked this as a duplicate of #1650 Feb 14, 2025
@snarfed snarfed closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants