# Testing the Discourse mobile app and notifications from the Demo site

**URL:** https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330
**Category:** Bug
**Created:** [2017 年 6 月 29 日午後 12:24 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330 "2017-06-29T12:24:51Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![SithLord](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@SithLord](https://meta.discourse.org/u/SithLord)
#### Post date: [2017 年 6 月 29 日午後 12:24 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/1 "2017-06-29T12:24:51Z")

</div>

The notifications from the demo site only show within the Discourse mobile app and not in android notifications.  
If I’m not currently using the discourse app then I’ll never know I have an alert, is this expected behavior of the hosted sites as well?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017 年 6 月 29 日午後 8:46 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/2 "2017-06-29T20:46:48Z")

</div>

Are we hosting your Discourse site or is this self hosted? If it is self hosted, well, you don’t get native notifications.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017 年 6 月 29 日午後 9:36 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/3 "2017-06-29T21:36:08Z")

</div>

I believe he is referring to [https://try.discourse.org](https://try.discourse.org) so the question is, do mobile notifications from `try.discourse.org` – which we _obviously_ host – work?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017 年 6 月 29 日午後 9:38 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/4 "2017-06-29T21:38:11Z")

</div>

Will test this tomorrow. Maybe something changed internally.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2017 年 6 月 30 日午前 5:03 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/5 "2017-06-30T05:03:05Z")

</div>

I wonder if something didnt break in some firebase upgrade.

---

<div class="post-metadata">

### Author: ![SithLord](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@SithLord](https://meta.discourse.org/u/SithLord)
#### Post date: [2017 年 6 月 30 日午後 3:35 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/6 "2017-06-30T15:35:34Z")

</div>

You’re correct, I was referring to your own hosted demo site([try.discourse.org](http://try.discourse.org))

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017 年 6 月 30 日午後 3:47 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/7 "2017-06-30T15:47:30Z")

</div>

Thank you heaps for reporting this, we isolated this as an issue with the new `excon` gem we are using. @eviltrout is working on a fix.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2017 年 6 月 30 日午後 4:50 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/9 "2017-06-30T16:50:17Z")

</div>

Turns out `excon` was adding a port to the `Host` header by default, which was tripping up haproxy. This commit should fix it. We’ll deploy shortly:

[https://github.com/discourse/discourse/commit/0ba39109a0f754f92c421708fe3434375826a3d2](https://github.com/discourse/discourse/commit/0ba39109a0f754f92c421708fe3434375826a3d2)

---

<div class="post-metadata">

### Author: ![SithLord](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@SithLord](https://meta.discourse.org/u/SithLord)
#### Post date: [2017 年 6 月 30 日午後 8:40 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/10 "2017-06-30T20:40:33Z")

</div>

Just did a test post on [try.discourse.org](http://try.discourse.org) and I received the android notification alert on my phone, thanks.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017 年 7 月 2 日午前 1:00 UTC](https://meta.discourse.org/t/testing-the-discourse-mobile-app-and-notifications-from-the-demo-site/65330/11 "2017-07-02T01:00:35Z")

</div>

This topic was automatically closed after 29 hours. New replies are no longer allowed.
