# Attachment filename not set on download

**URL:** <https://meta.discourse.org/t/attachment-filename-not-set-on-download/57871>\
**Category:** Product Support\
**Tags:** unsupported-install\
**Created:** [2017 年2 月 24 日 03:30 UTC](https://meta.discourse.org/t/attachment-filename-not-set-on-download/57871 "2017-02-24T03:30:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![iamphi](https://avatars.discourse-cdn.com/v4/letter/i/ba9def/32.png) [@iamphi](https://meta.discourse.org/u/iamphi)\
发布日期： [2017 年2 月 24 日 15:02 UTC](https://meta.discourse.org/t/attachment-filename-not-set-on-download/57871/3 "2017-02-24T15:02:27Z")

</div>

I stopped running sidekiq because I kept seeing error messages about failing to connect to redis. I deleted the three redis queue and now sidekiq seems to be ok. I see passing jobs in `sidekiq/statistic/realtime`. My instance is an m4.large.

Now inline pictures and attachment download links are using localhost:3000 as the domain, instead of ec2’s public dns name. I’ve tried setting the company domain name, but it did not help.  
I had truncated the posts and topics tables many times, does this contribute to my download problems? Maybe I should start with a new, fresh server?

---

_[View the full topic](https://meta.discourse.org/t/attachment-filename-not-set-on-download/57871)._
