Links not oneboxed when Sidekiq isn't running

When creating a topic via the API I find that links aren’t oneboxed.

curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"title": "Sample title here", "raw": "", "category": 1}' \

Cog Menu > Rebuild HTML doesn’t seem to have any effect

Editing the post on the forum and adding some additional text on another line causes the onebox to render

Aside from the oneboxing issue, I’d also like to replicate the “paste URL in title” behaviour via the API (in order to display the link below the topic title). Is this possible somehow?

Are you running sidekiq in your dev environment? Post won’t onebox if you don’t, and it has nothing to do with API usage.


Ah - good suggestion!

I started Sidekiq and the URL oneboxed. Thank you @Falco

:warning: Important note :warning:

In dev always use:


:arrow_double_up: this runs a sidekiq worker.

bin/unicorn -x

:arrow_double_up: this runs no sidekiq worker.