# Non-standard port breaks uploads

**URL:** https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022
**Category:** Self-hosting
**Tags:** uploads
**Created:** [2016 年 8 月 22 日午後 7:05 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022 "2016-08-22T19:05:04Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2016 年 8 月 24 日午前 4:07 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/21 "2016-08-24T04:07:28Z")

</div>

Any more details (or links) to share? I read the entire subfolder topic and the only thing Sam talked about was a new alias for Rails in docker

Edit: Did check that long polling is set (no ending slash) per this:  
[https://meta.discourse.org/t/message-bus-doesnt-respect-subfolder/31119/3?u=jomaxro](https://meta.discourse.org/t/message-bus-doesnt-respect-subfolder/31119/3)

Edit 2: No CDN in play here, all on local hardware.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2016 年 8 月 24 日午前 5:37 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/22 "2016-08-24T05:37:37Z")

</div>

> [@jomaxro](#):
>
> Edit: Did check that long polling is set (no ending slash) per this:

This might be it…seems I **do** need an ending slash here, unlike `app.yml` which doesn’t want that slash. I agree with the points made here:  
[https://meta.discourse.org/t/a-small-story-about-long-polling-base-url/25781/2?u=jomaxro](https://meta.discourse.org/t/a-small-story-about-long-polling-base-url/25781/2)  
[https://meta.discourse.org/t/a-small-story-about-long-polling-base-url/25781/3?u=jomaxro](https://meta.discourse.org/t/a-small-story-about-long-polling-base-url/25781/3)  
Seems that a PR wasn’t created a 18 months ago to fix this ☹

I will report back when there is a new update to pull.

Edit: Unfortunately this did not fix it @sam - still no progress bar or console text on /admin/upgrade.

Edti 2: Looks like mini\_profiler also doesn’t respect subfolder install- looks like that is Sam’s tool too.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2016 年 10 月 1 日午前 5:26 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/23 "2016-10-01T05:26:30Z")

</div>

Any success reproducing the `/admin/upgrade` progress bar issue in subfolder installs?

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [2016 年 10 月 3 日午後 9:49 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/24 "2016-10-03T21:49:43Z")

</div>

As far as I know, nobody’s tried to.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2016 年 11 月 29 日午前 5:40 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/25 "2016-11-29T05:40:04Z")

</div>

Going to bump this again…with the recent Ember update we had [a number of plugins](https://meta.discourse.org/t/new-docker-manager-feature-upgrade-all/53513) to update along with Discourse. With the progress bar not working, we had to keep refreshing the page to see if each update was complete, making the process even longer. Would really appreciate seeing this lingering subfolder issue resolved 😅.

---

<div class="post-metadata">

### Author: ![nightpool](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nightpool/32/121298_2.png) [@nightpool](https://meta.discourse.org/u/nightpool)
#### Post date: [2017 年 1 月 11 日午後 3:59 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/26 "2017-01-11T15:59:58Z")

</div>

Definitely agree, just found this out myself. It looks like the `long polling base url` isn’t getting populated correctly on the upgrade pages.

(If it doesn’t conflict with any of your other routes, you can add a quick hacky workaround route for `/message-bus`, but this is obviously a short-term solution)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2017 年 1 月 11 日午後 4:03 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/27 "2017-01-11T16:03:05Z")

</div>

@nightpool さん、議論は適切な #Contribute > Bug トピックに移動されました。

[https://meta.discourse.org/t/subfolder-issues/53972?u=jomaxro](https://meta.discourse.org/t/subfolder-issues/53972?u=jomaxro)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024 年 6 月 8 日午後 12:45 UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/28 "2024-06-08T12:45:01Z")

</div>

このトピックは2846日後に自動的に閉じられました。返信はもう許可されていません。

[前のページ](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022.md?page=1)
