Is mijn webhost onbetrouwbaar of is Discourse in Docker echt instabiel?

AI-generated summary

Discourse in Docker Unreliability Concerns

A user, rmens, is experiencing issues with their Discourse instance running in a semi-managed Docker container. Every few months, the container fails to resolve DNS names, causing external images to fail to upload and emails to fail to send. A reboot resolves the issue, but the webhost claims it’s a known problem with Discourse in Docker.

rmens is seeking others’ experiences with the Discourse Docker container to verify the webhost’s claim. 4ong suggests that the official Discourse Docker installation should not have this problem and recommends checking the logs for related errors. After checking the logs, rmens finds that the errors are related to temporary DNS lookup failures.

4ong and pfaffman agree that the issue seems to be an intermittent network problem at the webhost, rather than a problem with Discourse in Docker.

I run a Discourse instance on something that can be described as a semi-managed docker container. Every few months the container doesn’t resolve any DNS names, causing external images to fail to upload and e-mails fail to send. After a reboot it’s fine again.

Now the webhost says that this is a known problem with Discourse in Docker. I have a hard time believing it since there are hardly any topics about this kind of problems here or on Github.

I’m looking for experiences of others running the Discourse Docker container. Do you recognize this problem? Do you have to reboot every few months? Basically double checking if the webhost is talking nonsense, or is this a known problem with Discourse in Docker?

If you are using official Discourse docker installation - there is no such problem as far as I know.

It is the only best way to keep things stable and get deployment help here.

And please - check
your-domain/logs/
to see if there are any related errors

Thanks @4ong. The installation was done using the official Discourse docker installation.

If there will be no related errors in /logs that I’ve proposed to check - one additional question. Do you use any kind of CDN? CloudFlare f.e.

Yes there are errors. They are all:

Job exception: getaddrinfo: Temporary failure in name resolution

That’s why I know the DNS lookups are failing. This is a returning problem that disappears after a reboot of the server that runs the container. I suspect an intermittent network problem at our webhost. It’s a pretty plain setup, nothing behind Cloudflare or a CDN.

Indeed, it looks that way. At least I have no additional ideas.

That’s what it sounds like to me, though it’s odd that it would get fixed with a reboot.

I edited the title to make it a bit more polite. :wink: