IriusRisk launches without any error but I cannot access the UI
If you checked IriusRisk logs, found no errors and a line containing "Server startup in XXXXXX ms" appeared, that means IriusRisk started successfully.
Let's check the connectivity from your machine to the IriusRisk server:
$ nc -vz your-endpoint.iriusrisk.com 443
This is an example of right response:
It means that the instance is reachable and the port is open. Otherwise check your firewall configuration.
Let's see if you can access IriusRisk health-point from the load balancer. Please enter the nginx container and execute a curl against IriusRisk web server:
# enter inside Load Balancer's container
$ docker exec -it iriusrisk-nginx sh
# execute the connection test
$ curl iriusrisk-tomcat8:8080/health
This is an example of the proper response:
In case of refused connection, please check your connectivity between load balancer and IriusRisk web server.
Finally, let's check that your IriusRisk application is listening incoming requests. From the host of IriusRisk execute:
$ docker ps --format "{{.Names}}: {{.Ports}}"
In the following response example we can see that Nginx load balancer is listening on the ports 80 and 443:
$ docker ps --format "{{.Names}}:\t{{.Ports}}"
iriusrisk-nginx: 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp
iriusrisk-tomcat8: 8080/tcp
Also, let's check that these ports are exposed outside the host:
$ sudo netstat -tupan | grep LISTEN | grep docker
In the following output example we can see that both 443 and 80 ports are exposed:
$ sudo netstat -tupan | grep LISTEN | grep docker
tcp6 0 0 :::443 :::* LISTEN 2249/docker-proxy
tcp6 0 0 :::80 :::* LISTEN 2263/docker-proxy
Comments
0 comments
Article is closed for comments.