Discourse setup completed successfully but not working due to SSL error

This must often happens if you bypass the host name check in discourse-setup and rebuild several times so that you get rate limited by discourse. Maybe you have cloudflare orange cloud?

You can look at the logs, though they are hard to find. If that’s the problem, the solution is to wait a week or add another hostname as described at Set up Let’s Encrypt with multiple domains / redirects