Uma resposta inválida foi retornada do Discourse

Updated the wp-discourse plugin, and it breaks things again. Error:

You are not connected to Discourse. Check that your connection settings are correct. If the issue persists, enable connection logs and check Logs.

Connection log:
[2025-10-08 13:29:13] connection.INFO: check_connection_status.failed_to_connect {“error”:“wpdc_response_error”,“message”:“An invalid response was returned from Discourse”,“http_code”:“”,“http_body”:“”}

I’m at a lost I have not changed anything other than updating the WP-Discourse plugin, I just published a post as usual and noticed that it’s no longer connected.

1 curtida

looks similar to this:

2 curtidas

Thanks for hinting me in the right direction. The issue was expired TLS cert. It had expired ~ 4 days ago.

image

I use Cloudflare, so I didn’t catch that was the issue. I should have had a :light_bulb: but didn’t at the time, as I was traveling. So I just lowered CF’s SSL/TLS encryption mode from Strict to Full via mobile when the forums had ssl_browser error.

Anyway today I used the opportunity to switch to the stable branch. Edited /var/discourse/containers/app.yml to uncomment “version” and set it to stable:

image

Then did:

sudo ./launcher rebuild app

Retested forum cert from the blog server:
image

Works:

So, in summary, this is completely my goof. Sorry and thanks!

Edit: checked the cron crontab -l (its there) and did a --force renewal, which was successful, so the autorenew should work the next time. :crossed_fingers:

2 curtidas