The discussion revolves around issues with setting up Let’s Encrypt SSL on Google Cloud Platform (GCP) during a Discourse installation. The initial error message WallBB received indicated that the server was not accessible at the specified domain, suggesting a possible DNS misconfiguration.
WallBB confirmed that they could access their domain via HTTP, but encountered an “Error host not found” message when trying to activate their account. pfaffman suspected this to be related to the original issue.
The issue was eventually identified as a misconfigured hostname in the app.yml file. WallBB corrected the hostname, and pfaffman advised to run discourse-setup again to resolve the issue.
Additionally, Antichrist shared that enabling port 443 through the firewall on Ubuntu, using sudo ufw allow 443/tcp, may also be necessary to resolve the issue for some users.
Hello,
I am trying to setup Lets Encrypt SSL, so while installing discourse, I tried setting the email for Lets encrypt but I got below error :-
Checking your domain name . . . WARNING:: This server does not appear to be accessible at domainex.com:443. A connection to http://domainex.com (port 80) also fails. This suggests that domainex.com resolves to the wrong IP address or that traffic is not being routed to your server. Google: “open ports YOUR CLOUD SERVICE” for information for resolving this problem. You should probably answer “n” at the next prompt and disable Let’s Encrypt. This test might not work for all situations, so if you can access Discourse at http://domainex.com, you might try anyway.
The above is the error message from discourse install, there might be anything missing in my GCP config.
I installed without SSL now but can anyone tell me what might be the issue
Is it the case that your DNS does point to your server and the ports are open?and you can access discourse with your hostname? If so, you can ignore those warnings
And see what happens. I don’t know under what conditions the test the script does might fail to connect to itself, but there could be some.
Hi pfaffman,
I am able to access my domain and see the Congratulations page on discourse in http scenario, only thing is I get Error host not found if I try to access the account activate link. But this is a different issue.
Now regarding the original issue, I pasted the exact message from discourse install. I updated my first message so that it is better disguised. Sorry for confusion, but the above error mentioned in first post only appears if I try to setup Lets Encrypt email in discourse install. I am currently not having SSL certificate installed, so do you think that might be the problem ?