ウェブホストが信頼できないのか、それともDocker上のDiscourseが本当に不安定なのか?

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?

「いいね!」 2

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.

「いいね!」 4

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

「いいね!」 2

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

「いいね!」 2

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.

「いいね!」 2

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.

「いいね!」 4

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

「いいね!」 2

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:

「いいね!」 4