-
-
Notifications
You must be signed in to change notification settings - Fork 644
Localhost not working #123
Comments
That is unfortunate. You may be having the same problems we're working on here and hope to have fixed soon: #119. Would you be able to restart your containers by first doing "docker-compose down" to shut them down, and then "docker-compose up | grep hospitalrun" and then wait 10 minutes and show the resulting output? This will allow me to confirm whether you're having the problem I'm suspecting. |
$ docker-compose down $docker-compose up | grep hospitalrun and hang cli. Regards |
That's different than I expected, your nginx container is the one that's shutting down. There might be because of a problem related to the SSL certificate configuration, as described in step 3 of the guide here: And you can post the logs from the nginx container by doing the same as you did above and using "docker-compose down", then "docker-compose up | grep nginx" instead. |
nginx_1 | Requested name 192.168.100.42 is an IP address. The Let's Encrypt certificate authority will not issue certificates for a bare IP address. Here it stick and do not go further |
Again I run same command docker-compose up | grep nginx ERROR: for hospitalrun UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60) ERROR: for hospitalrun UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60) Receive these erros |
It's because you have an IP address for the "DOMAIN_NAME" in docker-compose.yml. It needs a public domain name on the internet like "www.mydomain.com" in order to issue a SSL certificiate and validate it. If you're not on a publicly-accessible domain like that, you can use your own SSL certificate, see where it says "To instead use your own SSL cert..." here: https://github.com/HospitalRun/hospitalrun-server/blob/master/DEPLOYMENT_GUIDE.md To be honest you'll probably still have problems after you fix that, due to the issues we're working on in here: #119. Those should be done in a couple of days. |
I merged the mentioned fixes in just now, so you should be good if you update to get the fixes and address your SSL issue. |
I manage to install hospitalrun server, but after install step 4, I type localhost as per step 5, UNABLE to connect internet.
Regards
The text was updated successfully, but these errors were encountered: