You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot load avatars from GitHub Enterprise URLs #416
Ah, enterprise avatars. There's some scenarios where retrieving avatars from enterprise will always fail regardless of authentication, and others where it will potentially spam the enterprise instance repeatedly if there are a lot of avatars to load - enterprise has a very short cache time for avatars (so they'll update quickly when you change them), which is a problem for clients loading them without caching.
Activity
shana commentedon Sep 11, 2018
Ah, enterprise avatars. There's some scenarios where retrieving avatars from enterprise will always fail regardless of authentication, and others where it will potentially spam the enterprise instance repeatedly if there are a lot of avatars to load - enterprise has a very short cache time for avatars (so they'll update quickly when you change them), which is a problem for clients loading them without caching.
GitHub Desktop has some workarounds for this in https://github.com/desktop/desktop/blob/master/app/src/lib/gravatar.ts and related calls.
lumaxis commentedon Sep 11, 2018
Personally, I would even prefer not showing an avatar at all if it's not possible to load the actual one. This placeholder is not very pretty.
StanleyGoldman commentedon Apr 17, 2019
Just to document what isn't working
ELLIOTTCABLE commentedon Apr 13, 2022
This is still occuring for me in Nightly, several years later?
Based on #1148, it looks like VScode shouldn't even be attempting to load an avatar — and yet it still is: