In a support thread titled “Mobile app URL issues,” user nanohits reports that their Discourse forum (https://forum.penangexpats.com) fails to load in the iOS Discourse Hub app, despite working in browsers. They use BunnyCDN for the entire site. After initial troubleshooting, Falco identifies the issue: BunnyCDN is blocking HEAD requests, returning HTTP 403. Further investigation by BunnyCDN support reveals the origin server (Discourse) blocks requests without a specific browser User-Agent header — confirmed via curl -A chrome. Canapin shares a similar past experience with BunnyCDN and unicyclist.com, suggesting CDN configuration may be the culprit. nanohits confirms BunnyCDN’s findings and asks to compare Discourse User-Agent settings, but Canapin clarifies they’ve made no custom User-Agent configurations. pfaffman suggests the issue may stem from not properly configuring Discourse to use a CDN per official docs. Despite verifying the URL and absence of proxies, nanohits remains stuck, suspecting BunnyCDN as the root cause. The thread highlights that mobile app connectivity can break if the origin server blocks non-browser User-Agent requests — a common pitfall when using CDNs without proper origin configuration.
Take a look at existing similar issues (and their potential solutions) via search. I assume you mean the “Hub” app (there is also the “whitelisted app”)
Thanks, I have taken a look at most of that. My CDN is with Bunny and I have message them about it to see if there something been stripped at header. The only thing I can think of as I have 2 forums and the other connects just fine which is not on a CDN. And yes it is the Hub app
have diagnosed this further, and my original guess was correct. Your origin seems to be blocking requests that do not contain a specific browser user agent, see here:
The top one succeeds when I specify a Chrome user-agent, the bottom one 403’s when there is none. This is not a configuration from Bunny, and must certainly be coming from the origin. I’d recommend checking this further on your end.
I’m sorry as I can’t answer you as I still don’t understand the question
I know what a user agent is, and I only have very basic knowledge about CDN, and know pretty much nothing about proxying or stuff like this.
Are you referring to Discourse or Bunny’s configuration? In either case, I didn’t do anything with settings related to some user agents. My forum is a standard install with no fancy stuff, and my Bunny configuration is very standard as well.
Thanks for that. In your Discourse setup for User agents, it is it blank?
Cause Bunny’s support says the user agent is the issue in Discourse after checking.
And for some reason blocking the website from loading in the mobile app. So wierd.