Cannot add certain discourse forums in DiscourseHub on Android

This looks to be a configuration error. The app does a HEAD request to https://www.snuffhouse.com/user-api-key/new first, and when I simulate the same, I get back an error:

curl -I https://www.snuffhouse.com/user-api-key/new                                                             130 ↵
HTTP/2 403
server: CloudFront
date: Wed, 10 May 2023 15:11:29 GMT
content-type: text/html
content-length: 919
x-cache: Error from cloudfront

We don’t host snuffhouse.com, so I’m not sure what in their stack is blocking these HEAD requests.

This one we do host and it was blocked from the hub because of a configuration issue. The site had some entries in the allowed crawler user agents site setting. That setting is quite heavy-handed, it comes with a big warning: User agents of web crawlers that should be allowed to access the site. WARNING! SETTING THIS WILL DISALLOW ALL CRAWLERS NOT LISTED HERE!

I added the Android user agent there, and that fixes the issue on my test Android device.

4 Likes