Avatars not rendering

AI-generated summary

Avatars not rendering issue is being discussed. varun21 is using Discourse (2.9.0.beta4) with WP Discourse (2.4.1) as the SSO provider and is experiencing issues with avatars not rendering. They have checked the logs and found that the payload is being transferred but the avatar is not updating. In a follow-up post varun21 mentions that they are able to upload custom avatars via API, but the picker is not working and throws a 404 error when trying to pick an avatar. They are unsure if deleting the forum and restarting again would resolve the issue.

Using Discourse (2.9.0.beta4(10a4bbfa72)) with WP Discourse (2.4.1) as the SSO provider.

I can see the payload is being transferred in logs (here it is anyway:)

Message (5 copies reported)

Verbose SSO log: User was logged on user_3

add_groups: 
admin: 
moderator: 
avatar_force_update: true
avatar_url: https://lh3.googleusercontent.com/a-/bleh...
bio: 
card_background_url: 
confirmed_2fa: 
email: someone@gmail.com
external_id: 30
groups: 
locale: 
locale_force_update: 
location: 
logout: 
name: First Last
no_2fa_methods: 
nonce: 3gf094fbac80dab5ce22c4c8df7c3702
profile_background_url: 
remove_groups: 
require_2fa: 
require_activation: false
return_sso_url: 
suppress_welcome_message: 
title: 
username: some_user_name
website: 

Backtrace

/var/www/discourse/app/controllers/session_controller.rb:276:in `login_sso_user'
/var/www/discourse/app/controllers/session_controller.rb:198:in `sso_login'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.7/lib/abstract_controller/base.rb:228:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.7/lib/action_controller/metal/rendering.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.7/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/var/www/discourse/app/controllers/application_controller.rb:404:in `block in with_resolved_locale'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/i18n-1.10.0/lib/i18n.rb:328:in `with_locale'
/var/www/discourse/app/controllers/application_controller.rb:404:in `with_resolved_locale'

Env

HTTP HOSTS: example.com

What gives? I know a few things like entering the app etc. But what am I supposed to be looking for?

Apparently I’m able to upload custom avatars (tested via API) but the picker wouldn’t pick.

curl 'https://example.com/u/someuser/preferences/avatar/pick' \

throws a 404.

Should I delete the forum and restart again?