Gitlab CE Avatar Don'
我的gitlab ce私人服务器在阿凡达(Avatar)有问题,它们没有出现。我尝试和没有gravatar,这是同样的问题。
当我尝试添加或更新我的帐户头像时,我可以将其上传并保存无问题。
在配置文件验证后,Avatar出现在接口中,但是如果我刷新浏览器,Avatar就会消失。
我使用gitlab-ctl尾巴
来记录更新,并且没有错误:
==> /var/log/gitlab/gitlab-rails/production.log <==
Started PUT "/-/profile" for xx.yy.zz.ttt at 2022-04-21 11:28:50 +0200
Processing by ProfilesController#update as JS
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"status"=>{"emoji"=>"blush", "message"=>"", "availability"=>"not_set"}, "timezone"=>"Paris", "name"=>"xx yy", "id"=>"3", "pronouns"=>"", "pronunciation"=>"", "email"=>"[email protected]", "validation_password"=>"[FILTERED]", "public_email"=>"", "commit_email"=>"[email protected]", "skype"=>"xxx.yyy", "linkedin"=>"https://www.linkedin.com/in/xxxx-yyy/", "twitter"=>"", "website_url"=>"https://www.zzzzzz.eu/", "location"=>"zzz, France", "job_title"=>"", "organization"=>"qqq", "bio"=>"", "private_profile"=>"0", "include_private_contributions"=>"0"}, "commit"=>"Mettre à jour les paramètres du profil"}
Started PUT "/-/profile" for xxx.yyy.zzz.ttt at 2022-04-21 11:28:50 +0200
Processing by ProfilesController#update as JSON
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"status"=>{"emoji"=>"blush", "message"=>"", "availability"=>"not_set"}, "timezone"=>"Paris", "name"=>"xxx yyy", "id"=>"3", "pronouns"=>"", "pronunciation"=>"", "email"=>"[email protected]", "validation_password"=>"[FILTERED]", "public_email"=>"", "commit_email"=>"[email protected]", "skype"=>"xxx.yyy", "linkedin"=>"https://www.linkedin.com/in/xxxx-yyyy/", "twitter"=>"", "website_url"=>"https://www.zzzz.eu/", "location"=>"zzz, France", "job_title"=>"", "organization"=>"zzz", "bio"=>"", "private_profile"=>"0", "include_private_contributions"=>"0", "avatar"=>#<ActionDispatch::Http::UploadedFile:0x00007f3f88e0c490 @tempfile=#<Tempfile:>, @original_filename="avatar.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[avatar]\"; filename=\"avatar.png\"\r\nContent-Type: image/png\r\n">}}
Redirected to https://qqq.zzz.eu/-/profile
Completed 302 Found in 27ms (ActiveRecord: 4.6ms | Elasticsearch: 0.0ms | Allocations: 8779)
重新加载配置文件页面时,Chrome网络控制台中没有错误。
帮助适应。
更新
尝试了许多事情后,有2个不同的问题。
首先是启用Gravatar。当Gravatar被启用时,镀铬块请求指向Gravatar。尝试Safari,在此浏览器中一切都可以。因此,对于Chrome,我怀疑问题与铬或扩展有关。需要调查。
其次是保存的头像。在这种情况下,问题不是以浏览器为中心,而是以服务器为中心 野生动物园。
更新2
问题已解决Gravatar模式。问题是BitDefender防踪器扩展程序,该扩展程序阻止了Gravatar请求。
但是为了保存的化身提供了问题。
My Gitlab CE private server has a problem with avatar, they are not showing up. I try with and without gravatar, and it is the same problem.
When i try to add or update my account avatar, i can upload it and save it without any problem.
Just after profile validation, avatar show up in the interface, but if i refresh browser, avatar disappear.
I use gitlab-ctl tail
to log the update and there is no errors:
==> /var/log/gitlab/gitlab-rails/production.log <==
Started PUT "/-/profile" for xx.yy.zz.ttt at 2022-04-21 11:28:50 +0200
Processing by ProfilesController#update as JS
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"status"=>{"emoji"=>"blush", "message"=>"", "availability"=>"not_set"}, "timezone"=>"Paris", "name"=>"xx yy", "id"=>"3", "pronouns"=>"", "pronunciation"=>"", "email"=>"[email protected]", "validation_password"=>"[FILTERED]", "public_email"=>"", "commit_email"=>"[email protected]", "skype"=>"xxx.yyy", "linkedin"=>"https://www.linkedin.com/in/xxxx-yyy/", "twitter"=>"", "website_url"=>"https://www.zzzzzz.eu/", "location"=>"zzz, France", "job_title"=>"", "organization"=>"qqq", "bio"=>"", "private_profile"=>"0", "include_private_contributions"=>"0"}, "commit"=>"Mettre à jour les paramètres du profil"}
Started PUT "/-/profile" for xxx.yyy.zzz.ttt at 2022-04-21 11:28:50 +0200
Processing by ProfilesController#update as JSON
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"status"=>{"emoji"=>"blush", "message"=>"", "availability"=>"not_set"}, "timezone"=>"Paris", "name"=>"xxx yyy", "id"=>"3", "pronouns"=>"", "pronunciation"=>"", "email"=>"[email protected]", "validation_password"=>"[FILTERED]", "public_email"=>"", "commit_email"=>"[email protected]", "skype"=>"xxx.yyy", "linkedin"=>"https://www.linkedin.com/in/xxxx-yyyy/", "twitter"=>"", "website_url"=>"https://www.zzzz.eu/", "location"=>"zzz, France", "job_title"=>"", "organization"=>"zzz", "bio"=>"", "private_profile"=>"0", "include_private_contributions"=>"0", "avatar"=>#<ActionDispatch::Http::UploadedFile:0x00007f3f88e0c490 @tempfile=#<Tempfile:>, @original_filename="avatar.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[avatar]\"; filename=\"avatar.png\"\r\nContent-Type: image/png\r\n">}}
Redirected to https://qqq.zzz.eu/-/profile
Completed 302 Found in 27ms (ActiveRecord: 4.6ms | Elasticsearch: 0.0ms | Allocations: 8779)
There is no error in chrome network console when reloading the profile page.
Help appeciate.
UPDATE
After trying many things, there is 2 differents problems.
First is with gravatar enabled. When gravatar is enable chrome block requests pointing to gravatar. Give a try with Safari and in this browser everything is ok. So for chrome i suspect that problem is chrome or extension related. Need to investigate this.
Second is with saved avatar. In this case, problem is not browser centric, but server centric because problem appear in chrome AND
Safari.
UPDATE 2
Problem is fixed for gravatar mode. Problem was with BitDefender Anti-Tracker extension which block gravatar request.
But problem presist for saved avatars.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论