# External system letter avatars fail to download

**URL:** <https://meta.discourse.org/t/external-system-letter-avatars-fail-to-download/111919>\
**Category:** Self-hosting\
**Created:** [18.Март.2019 13:19:14 UTC](https://meta.discourse.org/t/external-system-letter-avatars-fail-to-download/111919 "2019-03-18T13:19:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [18.Март.2019 13:19:14 UTC](https://meta.discourse.org/t/external-system-letter-avatars-fail-to-download/111919/1 "2019-03-18T13:19:14Z")

</div>

I’ve got a high-volume site (~2 million page views/month) that I have just migrated from Hosted. There are no non-official plugins.

I have a bunch of `rails` logs like:

```
Failed to process hijacked response correctly : undefined method `path' for nil:NilClass

```

I also have a bunch of nginx logs like:

```
[18/Mar/2019:13:16:51 +0000] "www.ketogenicforums.com" 77.16.221.99 "GET /letter_avatar_proxy/v3/letter/s/53a042/90.png HTTP/2.0" "Mozilla/5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/73.0.3683.68 Mobile/15E148 Safari/605.1" "user_avatars/show_proxy_letter" 500 258 "https://www.ketogenicforums.com/t/abnormal-run-training-heart-rates/32348/32" 0.048 0.047 "-"

```

From the UX logs I see

```plaintext
/var/www/discourse/app/controllers/user_avatars_controller.rb:158:in `proxy_avatar'
/var/www/discourse/app/controllers/user_avatars_controller.rb:47:in `block in show_proxy_letter'
/var/www/discourse/lib/hijack.rb:56:in `instance_eval'
/var/www/discourse/lib/hijack.rb:56:in `block in hijack'
/var/www/discourse/lib/scheduler/defer.rb:94:in `block in do_work'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rails_multisite-2.0.6/lib/rails_multisite/connection_management.rb:63:in `with_connection'
/var/www/discourse/lib/scheduler/defer.rb:89:in `do_work'
/var/www/discourse/lib/scheduler/defer.rb:79:in `block (2 levels) in start_thread'

```

I can’t tell if it’s related to this: [Avatars are broken after migrating to minio](https://meta.discourse.org/t/avatars-are-broken-after-migrating-to-minio/111888)

---

_[View the full topic](https://meta.discourse.org/t/external-system-letter-avatars-fail-to-download/111919)._
