User avatars are not displaying

(Drazisil) #1

Trying to get user avatars working. The default letter ones work.

When I upload, I get no errors, but the images are broken / do not exist.

The image url is in this format:

which seems very strange that the hostname is in the middle of the url. I tried removing that, no change.

I have also double-checked the hostname in app.yml, and rebuilt the app.

Any thoughts?

As an example:

(Rafael dos Santos Silva) #2

Discourse doesn’t support running on a non standard port, so choose 80 or 443.

(ps: choose 443 with free ssl)

Non-standard port breaks uploads
(Drazisil) #3

Hm, will try that. isn’t 8080 the default though? I don’t remember changing it.

(Jeff Atwood) #4

Something is wrong with your install if any port other than default is showing.

(Drazisil) #5

I likely misunderstood how the 8080:80 mapping in app.yml worked. I’ll set it back, rebuild and adjust my apache config

(Rafael dos Santos Silva) #6

If you are running under apache you need to be extra careful because of long running connections. There are some topics about it here on meta.

(Drazisil) #7

It’s running under docker, just needed to have a crash course in mod_proxy :slight_smile:

Thank you for the help @Falco and @codinghorror

(Jeff Atwood) closed #8