devops

bhagany 2015-09-22T03:21:19.000035Z

@tom: the first place I'd look is your ec2 security groups

lowl4tency 2015-09-22T09:25:36.000036Z

bhagany: localhost should works anyway

lowl4tency 2015-09-22T09:26:13.000037Z

Today I have weird issue, my app was running but health-check was unhealthy

mccraigmccraig 2015-09-22T10:16:30.000038Z

@tom: localhost may not work if your app is only listening on a single network interface, e.g. eth0 or if your app is running in a container. investigate which processes are listening on which ports with "sudo lsof -i"

bhagany 2015-09-22T11:45:52.000039Z

@lowl4tency: you're right, of course

jaen 2015-09-22T11:50:06.000040Z

Funny thing is how redirects (say, from http to https) are considered an unhealthy app by the ELB health check.

lowl4tency 2015-09-22T11:50:40.000041Z

First, I checked port is listened, second try to connect via telnet. third take a look on log-file

lowl4tency 2015-09-22T11:50:58.000042Z

jaen: it's not funny, it's hurt

jaen 2015-09-22T11:51:37.000043Z

Well, yeah, "funny"

lowl4tency 2015-09-22T11:51:47.000044Z

I've got ELB and S3 bucket with maintenance page, when ELB is not available I've got ssl error instead the page 😞

jaen 2015-09-22T11:52:10.000045Z

I had to to special it so that ELB's user agent doesn't get the redirect

jaen 2015-09-22T11:52:28.000046Z

Well, that's sad