Discourse Comments stuck on "Loading..."

I ended up here when I was looking for solutions on “Loading…” and this helped me solve my issues:

  1. You might see “Loading…” if you load the embedding page the first time. Try if a refresh works.
  2. If you use discourseEmbedUrl, the URL you are point to must serve actual HTML and include a <title> element