Some pages on my site won't fully embed comments

Nope, no HTTP redirection involved, unfortunately.

  • Regardless of whether we set the value of discourseEmbedUrl to either the dymanic URL using window.location.href, or just hard code the actual URL, we get the same error as above.

  • If we hard code the value of discourseEmbedUrl to an existing .html page on the same site that already has an associated topic, things load fine.

  • If we hard code the value of discourseEmbedUrl to a non-existing .html page on the same site that does not have any associated topic already, we also get the same error.

We are hoping to get a look at our rails log to see if we can see what might be happening (or not) on the back end. Will update here when we learn more.