Back

Session avatars (browser icons) not showing

  • 0
  • Self Hosted
  • Avatars
fafa
26 Jan, 2024, 08:51

Heyo!

For a while my session icons have not been working, as well as not knowing what browser and device users are using.

TL;DR
Session avatars (browser icons) are not showing up on a self-hosted instance of Appwrite. This issue does not occur on the cloud version or for other developers' self-hosted instances. A bug may be causing the avatars to be missing. Upgrading to the latest version of Appwrite or submitting a feature request on GitHub may help resolve the issue.
fafa
26 Jan, 2024, 08:52

It seems to fetch the avatars from this endpoint: /v1/avatars/browsers/?width=40&height=40&project=6557c21c26735bfefe30, however, this shows a 404.

Drake
26 Jan, 2024, 08:54

Right these aren't compatible browsers

fafa
26 Jan, 2024, 08:55

Edge is not?

Drake
26 Jan, 2024, 08:55

Which one is edge?

fafa
26 Jan, 2024, 08:55

microsoft edge is "on"

fafa
26 Jan, 2024, 08:55

also using windows, so the device should be there too, right?

Drake
26 Jan, 2024, 08:56

Interesting....we should probably add support for edge...

fafa
26 Jan, 2024, 08:57

Yeah I just logged in again from the site, it's the "on" part (it created 4 different ones, but I guess that's a different issue..)

Drake
26 Jan, 2024, 08:58

A GitHub issue to add support for edge on windows would be good. It would also help if you showed the details of the session API response

fafa
26 Jan, 2024, 08:59

I am just logging in on a website using edge like a normal user would

fafa
26 Jan, 2024, 08:59

nothing special

fafa
26 Jan, 2024, 14:49

Appwrite should be the only http server on the server itself

ideclon
26 Jan, 2024, 14:49

I'm trying to think where you could look

Ernest
26 Jan, 2024, 14:50

Session avatars are broken on my self-hosted instance as well but I always presumed it had to do with Brave browser blocks so never gave it much thought but with the same browser on cloud session avatars are displaying correctly.

fafa
26 Jan, 2024, 14:51

Your system should still show up

fafa
26 Jan, 2024, 14:51

It's [browser] on [system]

fafa
26 Jan, 2024, 14:51

and since it works on the cloud and for kenny, it's broken for me

Ernest
26 Jan, 2024, 14:54

Yes the sessions do show up it's just the avatars. The only avatar not showing up on cloud is the appwrite cli session.

fafa
26 Jan, 2024, 14:54

If it's just the avatars, it means that the browser is not supported

fafa
26 Jan, 2024, 14:54

You can make a feature request on github for your browser

Ernest
26 Jan, 2024, 14:57

No, you misunderstand. Everything is fine on cloud just my self-hosted instance

Ernest
26 Jan, 2024, 14:58

Actually, just restarted the browser and my self-hosted instance is also showing both avatars and sessions.

ideclon
26 Jan, 2024, 15:00

Hm

ideclon
26 Jan, 2024, 15:00

But that's a pretty old session?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more