-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to establish HTTPS on root domain and other pointed domains. #862
Comments
You should only use But in your case, it looks like there is a real issue with your domain verification. Even LetsEncrypt's servers aren't able to verify your domain. From the logs you've attached:
|
Maybe there is a firewall blocking outgoing connections, maybe there is a network issue.... Regardless, this is a real issue that needs to be resolved and cannot be bypassed. To test, you can manually shell into your container, and try to run: # replace root.domain.com
curl -v http://captain.root.domain.com and see what the response is. |
For which I knew there was no issue with the DNS connection between both the domain and VPS. Also responce is below:
|
Where did you run curl from? Your local machine? Your server? from inside your captain-captain container? |
the VPS server, would you like me to curl from container? |
Yes. docker exec -it $(docker ps --filter name=captain-captain -q) /bin/sh
# then run curl |
|
There it is. Your Docker installation on your host has some network problems that makes it unable to resolve domains. This can be due to many many issues:
I suggest rebooting your server, and wait for 24hr, then try again. If it still fails, try another provider, like DigitalOcean. Docker installation on DigitalOcean is pretty good and I haven't had any issues with it. |
Closing as dormant, feel free to comment if there is any other questions. |
IMPORTANT: This is a bug report. If you are having problem with deploying a particular app use the deployment issue type.
What is the problem?
I had issues trying to setup caprover for two instances (a javalin application and Wekan, both using ngnix reverse proxy).
I tried using both cli and website setup to establish the domain, but only worked when I included the "skipVerifyingDomains" json value into a spesific json file.
Here is the log file from the docker from the enable https function.
Error Message
Also, when I tried to add in the one-click application of ngnix, the only app that appeared was the template. So I had to use the template to paste in the yml info of ngnix reverse proxy to be able to create the application.
If applicable, content of
captain-definition
file:(would be be default, never changed)
Steps to reproduce the problem:
Follow getting started guide. With the exception of adding:
echo "{\"skipVerifyingDomains\":\"true\"}" > /captain/data/config-override.json
before usingcaprover serversetup
(DNS was set correctly, it never was able to verify the domain).
(CLI will appear with
and password got reset to default. So had to use the web interface to "try to enable https").
Answers to the following questions where applicable:
Currently using OVH as my VPS with domain being hosted on OVH.
The text was updated successfully, but these errors were encountered: