I had this happen yesterday and I believe that the problem was that the domain name didn’t resolve to the server (I was using the wrong hostname). discourse-setup does a test that should catch that, though.
Delete the ssl and let’s encrypt directories from /var/discourse/shared/standalone after you fix the dns problem.