% ./komiser start --port 3000
1.2.3.4 - - [23/Mar/2018:10:05:20 +0000] "GET / HTTP/1.1" 200 1745
1.2.3.4 - - [23/Mar/2018:10:05:20 +0000] "GET /styles.05d4aeeb77605b05dbf9.bundle.css HTTP/1.1" 200 12557
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /inline.47d04ba836b188db631f.bundle.js HTTP/1.1" 200 1445
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /polyfills.abdf53ca655716e505e0.bundle.js HTTP/1.1" 200 59417
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /favicon.ico HTTP/1.1" 200 165662
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /main.8097dd79d6203e629625.bundle.js HTTP/1.1" 200 1202124
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /nat HTTP/1.1" 500 46
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /internet_gateway HTTP/1.1" 200 2
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /acl HTTP/1.1" 200 2
1.2.3.4 - - [23/Mar/2018:10:05:24 +0000] "GET /key_pair HTTP/1.1" 200 1
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /security_group HTTP/1.1" 200 2
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /vpc HTTP/1.1" 200 2
1.2.3.4 - - [23/Mar/2018:10:05:21 +0000] "GET /eip HTTP/1.1" 200 1
1.2.3.4 - - [23/Mar/2018:10:05:32 +0000] "GET /cost HTTP/1.1" 500 41
1.2.3.4 - - [23/Mar/2018:10:05:33 +0000] "GET /lambda HTTP/1.1" 500 43
1.2.3.4 - - [23/Mar/2018:10:05:32 +0000] "GET /snapshot HTTP/1.1" 200 20
1.2.3.4 - - [23/Mar/2018:10:05:32 +0000] "GET /route_table HTTP/1.1" 200 2
1.2.3.4 - - [23/Mar/2018:10:05:32 +0000] "GET /ebs HTTP/1.1" 200 53
1.2.3.4 - - [23/Mar/2018:10:05:37 +0000] "GET /hosted_zone HTTP/1.1" 200 1
1.2.3.4 - - [23/Mar/2018:10:05:32 +0000] "GET /dynamodb HTTP/1.1" 200 61
1.2.3.4 - - [23/Mar/2018:10:05:41 +0000] "GET /iam/role HTTP/1.1" 200 2
1.2.3.4 - - [23/Mar/2018:10:05:41 +0000] "GET /iam/group HTTP/1.1" 200 1
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /iam/policy HTTP/1.1" 200 3
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /iam/user HTTP/1.1" 200 1
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/logo.svg HTTP/1.1" 200 6024
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/s3.png HTTP/1.1" 200 1227
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/snapshot.png HTTP/1.1" 200 1322
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/snapshot_size.png HTTP/1.1" 200 383
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/ebs.png HTTP/1.1" 200 318
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/user.png HTTP/1.1" 200 797
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/role.png HTTP/1.1" 200 3105
2018/03/23 10:05:42 http: panic serving 1.2.3.4:65061: runtime error: invalid memory address or nil pointer dereference
goroutine 13 [running]:
net/http.(*conn).serve.func1(0xc42018c140)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc420bc2f20, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc420275530, 0xc4201c2800)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc420275530, 0xc4201c2800)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc420275530, 0xc4201c2800)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc420275530, 0xc4201c2800)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc420275530, 0xc4209eae00)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc42031c2a0, 0xc4209eae00)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc42031c2a0, 0xc4209eae00)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc42031c2a0, 0xc4209eae00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42018c140, 0x21d82a0, 0xc4203c0480)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/group.png HTTP/1.1" 200 1549
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/policy.png HTTP/1.1" 200 840
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/distribution.png HTTP/1.1" 200 1775
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/vpc.png HTTP/1.1" 200 1248
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/acl.png HTTP/1.1" 200 6637
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/sg.png HTTP/1.1" 200 983
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/nat.png HTTP/1.1" 200 1666
1.2.3.4 - - [23/Mar/2018:10:05:42 +0000] "GET /assets/images/igw.png HTTP/1.1" 200 1826
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/eip.png HTTP/1.1" 200 687
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/keypair.png HTTP/1.1" 200 1255
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/asg.png HTTP/1.1" 200 1078
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/keypair.png HTTP/1.1" 200 1255 [215/345]
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/asg.png HTTP/1.1" 200 1078
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/route_table.png HTTP/1.1" 200 2075
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/cluster.png HTTP/1.1" 200 1468
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/service.png HTTP/1.1" 200 2657
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/task.png HTTP/1.1" 200 709
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/rds.png HTTP/1.1" 200 574
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/dynamodb.png HTTP/1.1" 200 1719
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/dynamodb_write.png HTTP/1.1" 200 517
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/dynamodb_read.png HTTP/1.1" 200 800
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/sqs.png HTTP/1.1" 200 1406
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/sns.png HTTP/1.1" 200 1155
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /cloudfront HTTP/1.1" 200 1
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /assets/images/hostedzone.png HTTP/1.1" 200 1220
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /s3 HTTP/1.1" 200 2
1.2.3.4 - - [23/Mar/2018:10:05:36 +0000] "GET /sqs HTTP/1.1" 200 1
1.2.3.4 - - [23/Mar/2018:10:05:36 +0000] "GET /sns HTTP/1.1" 200 1
1.2.3.4 - - [23/Mar/2018:10:05:38 +0000] "GET /cloudwatch HTTP/1.1" 200 30
1.2.3.4 - - [23/Mar/2018:10:05:35 +0000] "GET /elb HTTP/1.1" 200 13
1.2.3.4 - - [23/Mar/2018:10:05:43 +0000] "GET /ec2 HTTP/1.1" 200 328
2018/03/23 10:05:53 http: panic serving 1.2.3.4:65055: runtime error: invalid memory address or nil pointer dereference
goroutine 11 [running]:
net/http.(*conn).serve.func1(0xc4202f2140)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc420482270, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc420275620, 0xc4203db800)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc420275620, 0xc4203db800)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc420275620, 0xc4203db800)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc420275620, 0xc4203db800)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc420275620, 0xc4203db400)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc420aea0e0, 0xc4203db400)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc420aea0e0, 0xc4203db400)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc420aea0e0, 0xc4203db400)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4202f2140, 0x21d82a0, 0xc420285640)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:06:03 http: panic serving 1.2.3.4:65056: runtime error: invalid memory address or nil pointer dereference
goroutine 10 [running]:
net/http.(*conn).serve.func1(0xc4202f20a0)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc4209e9d70, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc420ce21b0, 0xc42000ba00)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc420ce21b0, 0xc42000ba00)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc420ce21b0, 0xc42000ba00)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc420ce21b0, 0xc42000ba00)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc420ce21b0, 0xc420b71b00)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc420389180, 0xc420b71b00)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc420389180, 0xc420b71b00)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc420389180, 0xc420b71b00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4202f20a0, 0x21d82a0, 0xc4201b40c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:06:12 http: panic serving 1.2.3.4:65054: runtime error: invalid memory address or nil pointer dereference
goroutine 9 [running]:
2018/03/23 10:06:12 http: panic serving 1.2.3.4:65054: runtime error: invalid memory address or nil pointer dereference [135/345]
goroutine 9 [running]:
net/http.(*conn).serve.func1(0xc4202f2000)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc4202275c0, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc4203b4630, 0xc4201e4d00)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc4203b4630, 0xc4201e4d00)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc4203b4630, 0xc4201e4d00)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc4203b4630, 0xc4201e4d00)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc4203b4630, 0xc420d23f00)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc42031c2a0, 0xc420d23f00)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc42031c2a0, 0xc420d23f00)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc42031c2a0, 0xc420d23f00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4202f2000, 0x21d82a0, 0xc420285440)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:06:22 http: panic serving 1.2.3.4:65053: runtime error: invalid memory address or nil pointer dereference
goroutine 6 [running]:
net/http.(*conn).serve.func1(0xc4201abb80)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc4201ac510, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc4202cb5c0, 0xc4201e5200)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc4202cb5c0, 0xc4201e5200)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc4202cb5c0, 0xc4201e5200)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc4202cb5c0, 0xc4201e5200)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc4202cb5c0, 0xc4204bc300)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc4203d4460, 0xc4204bc300)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc4203d4460, 0xc4204bc300)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc4203d4460, 0xc4204bc300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4201abb80, 0x21d82a0, 0xc4200fbac0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:06:31 http: panic serving 1.2.3.4:65084: runtime error: invalid memory address or nil pointer dereference
goroutine 1340 [running]:
net/http.(*conn).serve.func1(0xc4204568c0)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc42037e300, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc420317ad0, 0xc4201c2800)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc420317ad0, 0xc4201c2800)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc420317ad0, 0xc4201c2800)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc420317ad0, 0xc4201c2800)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc420317ad0, 0xc42000ad00)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc4203d5b20, 0xc42000ad00)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc4203d5b20, 0xc42000ad00) [55/345]
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc4203d5b20, 0xc42000ad00)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc4203d5b20, 0xc42000ad00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4204568c0, 0x21d82a0, 0xc420c32180)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:06:41 http: panic serving 1.2.3.4:65062: runtime error: invalid memory address or nil pointer dereference
goroutine 14 [running]:
net/http.(*conn).serve.func1(0xc42018c1e0)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc4200f9d80, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc42067e180, 0xc4204bc300)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc42067e180, 0xc4204bc300)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc42067e180, 0xc4204bc300)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc42067e180, 0xc4204bc300)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc42067e180, 0xc420c95700)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc4205368c0, 0xc420c95700)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc4205368c0, 0xc420c95700)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc4205368c0, 0xc420c95700)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42018c1e0, 0x21d82a0, 0xc4203c06c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:06:51 http: panic serving 1.2.3.4:65092: runtime error: invalid memory address or nil pointer dereference
goroutine 2398 [running]:
net/http.(*conn).serve.func1(0xc42018d540)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc420385250, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc420231200, 0xc42000be00)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc420231200, 0xc42000be00)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc420231200, 0xc42000be00)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc420231200, 0xc42000be00)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc420231200, 0xc42000bc00)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc42031c620, 0xc42000bc00)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc42031c620, 0xc42000bc00)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc42031c620, 0xc42000bc00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42018d540, 0x21d82a0, 0xc4206a1340)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:07:01 http: panic serving 1.2.3.4:65093: runtime error: invalid memory address or nil pointer dereference
goroutine 2278 [running]:
net/http.(*conn).serve.func1(0xc4204561e0)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc4204e7360, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc4208d8150, 0xc4204bc400)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
/usr/local/go/src/net/http/server.go:1942 +0x44 [0/345]
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc420231200, 0xc42000be00)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc420231200, 0xc42000bc00)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc42031c620, 0xc42000bc00)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc42031c620, 0xc42000bc00)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc42031c620, 0xc42000bc00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42018d540, 0x21d82a0, 0xc4206a1340)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:07:01 http: panic serving 1.2.3.4:65093: runtime error: invalid memory address or nil pointer dereference
goroutine 2278 [running]:
net/http.(*conn).serve.func1(0xc4204561e0)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc4204e7360, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc4208d8150, 0xc4204bc400)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc4208d8150, 0xc4204bc400)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc4208d8150, 0xc4204bc400)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc4208d8150, 0xc4204bc400)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc4208d8150, 0xc4204bc200)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc42031c000, 0xc4204bc200)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc42031c000, 0xc4204bc200)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc42031c000, 0xc4204bc200)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4204561e0, 0x21d82a0, 0xc4201d8380)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
2018/03/23 10:07:10 http: panic serving 1.2.3.4:65097: runtime error: invalid memory address or nil pointer dereference
goroutine 2657 [running]:
net/http.(*conn).serve.func1(0xc4204450e0)
/usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11c9fa0, 0x225f590)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/mlabouardy/komiser/services.AWS.getAutoScalingGroups(0xc420286ab0, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:40 +0x3ee
github.com/mlabouardy/komiser/services.AWS.DescribeAutoScalingGroups(0xc4200f8751, 0x9, 0x21d1460, 0xc420062c60, 0x21cd460, 0xc42019c280, 0xc420192ab0, 0xc420068600, 0x2, 0x5, ...)
/go/src/github.com/mlabouardy/komiser/services/autoscaling.go:16 +0x10c
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler(0xc4201a01e0, 0x7fa28ab893f0, 0xc420253da0, 0xc4201e4700)
/go/src/github.com/mlabouardy/komiser/handlers/ec2_handler.go:29 +0xe6
github.com/mlabouardy/komiser/handlers.(*AWSHandler).AutoScalingGroupHandler-fm(0x7fa28ab893f0, 0xc420253da0, 0xc4201e4700)
/go/src/github.com/mlabouardy/komiser/main.go:43 +0x48
net/http.HandlerFunc.ServeHTTP(0xc4201ac2e0, 0x7fa28ab893f0, 0xc420253da0, 0xc4201e4700)
/usr/local/go/src/net/http/server.go:1942 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42019e4d0, 0x7fa28ab893f0, 0xc420253da0, 0xc4201e4700)
/go/src/github.com/gorilla/mux/mux.go:159 +0x101
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc4201ce120, 0x7fa28ab893f0, 0xc420253da0, 0xc4201e4500)
/go/src/github.com/gorilla/handlers/cors.go:51 +0xa6f
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x21d0a60, 0xc42000e018, 0x21cfd20, 0xc4201ce120, 0x21d7960, 0xc42045c0e0, 0xc4201e4500)
/go/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42019d460, 0x21d7960, 0xc42045c0e0, 0xc4201e4500)
:8 +0x86
net/http.serverHandler.ServeHTTP(0xc42013cf20, 0x21d7960, 0xc42045c0e0, 0xc4201e4500)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4204450e0, 0x21d82a0, 0xc4203aa340)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce