502 Bad Gateway for only two Topics

Are those topics deleted? Could they be PMs? Are you requesting them as an admin?

Oh, sorry, it’s a 502; You can have a look at /var/discourse/shared/logs/rails/production.log and see if there are any clues there. See also https://ammanvalley.foss.wales/logs