oga reports an issue with their Ghost + Discourse integration, where the comments section spins indefinitely without connecting. Despite following the official integration guide, the setup fails to establish a connection. pfaffman asks for more details, prompting oga to clarify that their Ghost domain is https://ogatutor.com and Discourse is hosted at https://teachmeai.ogatutor.com. The problem persists on any article page, with no errors displayed. oga later resolves the issue, explaining that the Ghost VPS was configured to use HTTP, while Discourse required HTTPS, causing the connection to be rejected. The misconfiguration was in the production configuration file, and the issue was resolved after identifying the typo.
For the line that says REPLACE ME, I changed it to mydiscourse.mydomain.com (The Real names were used)
Issue:
Ghost comments section, just spins, does not connect.
So what have I done wrong?
Sorry, here is the Ghost Domain: https://ogatutor.com
The discourse is at https://teachmeai.ogatutor.com
What’s happening is that, the Comments just keeps spinning, as if attempting to connect. No errors thrown not failure… just spins
No, I don’t see the link.
Open this, https://ogatutor.com
read any article. At end, you should be able add comment. It just spins.
Setup is like this:
Discourse is hosted by DO and works just fine.
Ghost Domain is hosted by a different web host. resulting in this: https://teachmeai.ogatutor.com.
DNS, email and all that works just fine
For anyone else having this issue, the problem was that our VPS was not properly setup.
It was setup to use HTTP. Discourse was expecting HTTPS. When http was sent by Ghost, it was rejected by Discourse. Someone at Ghost blog caught the misconfiguration.
Lesson:
Check your Ghost VPS environment configuration for TYPOS.
In our own case, it was in the production.configuration file.