Discourse autoformatting of Natively URLs is flaky

Description of your request or bug report:

If you use a raw Natively URL for a book or series in a Discourse forum post, it’s supposed to autoformat into a links with a human readable title and Natively level. Unfortunately this is flaky, so sometimes Discourse leaves the raw URL in the post instead. This has been on and off unreliable for as long as I’ve been using Natively, but it’s particularly bad right now. It’s one of the most common ways I interact with Natively and it’s always a bit of a bummer when I write a forum post with Natively links and then I post it and they don’t autoformat the way they’re supposed to.

For example I made this post this morning (April 14th): 🌳 黒い森の記憶 🧠 終わり - #24 by pm215 – of the five links, only two successfully autoformatted. Later the same day, when I edited the post to fix a typo, all the links autoformatted.

Discussion of this problem in the infrastructure overhaul thread: 👷‍♂️ 🚧 Infrastructure Overhaul! Report newly broken functionality here! 🔥 🚒 - #266 by Megumin

Thread from 2023 where a previous instance of this problem was tracked down to book pages having a big script before the html title element: Level+1 Reading Challenge 📚📈 - #55 by brandon

I think I’ve also seen it suggested that if the page is too slow in responding then Discourse gives up on the autoformat.

Trello link: (leave in blank)

Another “half the links failed to autoformat” post What are you reading today? - #2755 by pm215

3 Likes

I think this might have been a rate-limit or something similar.

I didn’t experience it lately, are you aware if it’s still happening @pm215 ?

It definitely happens much less often than it did back in 2024 (when it happened practically every other time I used a URL in the forum) but I did happen to notice an instance of it in somebody else’s post from last week:

3 Likes

Got it, moving it for review.

2 Likes

Still happening, see here Multi-Language Readathon - #53 by HopeWaterfall for an example with with screenshots and a workaround by nikoru

4 Likes

This post has another example from a few days back of a non auto formatting link: What are you reading today? - #5864 by Naphthalene

3 Likes