Updated image on gravatar, not seeing it update on site

I updated the image for the email address I use on our private forum on gravatar about a week ago.

It looks correct when I check here:
https://en.gravatar.com/site/check/

But It’s not updated on our private site yet.

I tried switching my profile to use the letter avatar and back again, but that didn’t do the trick.

Do I need to restart the server or something?

Did you try hitting this button?

Yeah, I tried that. The image in that dialog did not change. I just tried clicking “Save Changes” anyway… haven’t seen it update yet.

Can we verify that gravatar refresh button here is still working in latest code @techapj? More than one report of this that I’ve seen…

Hi,

I also notice that profile image has not changed after updating my Gravatar.

The gravatar update code was broken and was fixed 4 days ago.

@mcwumbly can you repro this issue on latest Discourse version?.

Ah that looks like it’s probably it. I’ll last you know for sure after I do the next update. I was waiting for things to settle down a bit with some of the work currently going on (featured links, groups, ember), but I will update things soon.

UPDATE confirmed this is fixed in the latest version.

I’m seeing this behavior again both on my installation of Discourse and on this installation. I updated my Gravatar quite a while ago and have clicked the refresh button with no luck. I am running 1.8.0.beta8

EDIT Scratch that, it seems to be updating fine on this installation. I’ll have to poke at my own install.

我应该使用这个按钮吗?Discourse 最终不能自动更新它吗(或者直接使用 Gravatar)?

Discourse 将创建图像的本地副本,因此如果您希望头像更新,请使用此按钮。

让我从另一个角度来阐述:

如果用户选择使用 Gravatar,他们怎么会去更新自己的 Gravatar 呢?

为什么需要用户主动操作,而不是默认静默更新?

刚刚安装了 v2.5.0.beta2,遇到了相同的问题:用户创建后显示了 Gravatar 头像,但在 Gravatar 端更改图片后无法更新。在用户界面中点击“重新加载图片”时,/var/discourse/shared/standalone/log/rails/production.log 中没有任何日志记录。

有什么更新吗?

我们能复现这个问题吗 @tshenry

我可以复现!当我在 https://en.gravatar.com/emails 更改 Gravatar 并点击 Discourse 用户资料中的刷新按钮后,Gravatar 未能更新。

我还尝试运行了 rake avatars:refresh 看看是否有用,但没有成功。

我们应该调查一下,你能指派 @eviltrout 在周五处理吗?

不过等等:我们先让这个周末过去,看看这是否是缓存传播问题。你能给 @tshenry 设置一个主题定时器,以便在周一刷新吗?

Jeff,如果你指的是 HTTP 缓存,那么答案是:不行。我的尝试已经超过一周了,但仍未成功。

这段代码旨在立即修正头像显示问题:

@kris.kotlarek 你能复现这个问题并修复吗?

Gravatar 很可能也有责任,他们在其端缓存了过久的内容。

@kris 通过在 URL 中添加一个随机参数修复了此问题。