User uploaded avatar images showing up blank after update

Hi everyone, I am hoping someone might be able to help me solve an issue I have been having since I updated Discourse yesterday. All user avatar uploads show up blank and I get this error in /logs:

Failed to process hijacked response correctly : Failed to open TCP connection to www.domain.com:443 (Connection refused - connect(2) for "www.domain.com" port 443)

The backtrace is:

Backtrace

/usr/local/lib/ruby/2.7.0/net/http.rb:960:in `initialize'
/usr/local/lib/ruby/2.7.0/net/http.rb:960:in `open'
/usr/local/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
/usr/local/lib/ruby/2.7.0/timeout.rb:95:in `block in timeout'
/usr/local/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
/usr/local/lib/ruby/2.7.0/net/http.rb:958:in `connect'
/usr/local/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
/usr/local/lib/ruby/2.7.0/net/http.rb:932:in `start'
/usr/local/lib/ruby/2.7.0/net/http.rb:606:in `start'
/var/www/discourse/lib/final_destination.rb:467:in `safe_session'

Everything else is working as expected apart from existing user avatar image uploads. FYI I have separate web and data containers.

Could someone please help point me in the right direction? Thanks in advance :heart:

2 Likes

I am also not able to upload the avatars, it gives a 403 error. Even I am unable to upload anything on discourse all comes up with a 403 error.
I am on the latest tests-passed branch

Have you rebuilt both containers?