-
-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Description
Hello,
I am running iamlive
in a docker container in proxy mode.
In another shell, on the same container, I am running ansible, which triggers terraform operations.
iamlive
does its thing for a while, and it always seems to crash on the same point of the execution.
The error I am getting is:
goroutine 1535 [running]:
github.com/iann0036/iamlive/iamlivecore.getAccountFromAccessKey({0xc0001afc8c, 0x5})
/Users/runner/work/iamlive/iamlive/iamlivecore/logger.go:858 +0x205
github.com/iann0036/iamlive/iamlivecore.subARNParameters({0xc00b793700, 0x1f}, {{0x984dfb, 0x9}, {0x984e04, 0x9}, {0xc00ffac300, 0x2}, {0xc008b63cc0, 0xa}, ...}, ...)
/Users/runner/work/iamlive/iamlive/iamlivecore/logger.go:936 +0x39f
github.com/iann0036/iamlive/iamlivecore.getStatementsForProxyCall({{0x984dfb, 0x9}, {0x984e04, 0x9}, {0xc00ffac300, 0x2}, {0xc008b63cc0, 0xa}, 0xc006475500, 0xc0091f2030, ...})
/Users/runner/work/iamlive/iamlive/iamlivecore/logger.go:786 +0x107d
github.com/iann0036/iamlive/iamlivecore.GetPolicyDocument()
/Users/runner/work/iamlive/iamlive/iamlivecore/logger.go:177 +0xdb8
github.com/iann0036/iamlive/iamlivecore.writePolicyToTerminal()
/Users/runner/work/iamlive/iamlive/iamlivecore/logger.go:348 +0x52
github.com/iann0036/iamlive/iamlivecore.handleLoggedCall(...)
/Users/runner/work/iamlive/iamlive/iamlivecore/logger.go:329
github.com/iann0036/iamlive/iamlivecore.handleAWSRequest(0xc00ec12500, {0xc0001a2a00, 0x0, 0x200}, 0xc8)
/Users/runner/work/iamlive/iamlive/iamlivecore/proxy.go:805 +0x17c7
github.com/iann0036/iamlive/iamlivecore.createProxy.func1(0xc00ec12500, 0xc0111fc08a?)
/Users/runner/work/iamlive/iamlive/iamlivecore/proxy.go:200 +0x4a5
github.com/iann0036/goproxy.FuncReqHandler.Handle(0x1?, 0x23?, 0xc0001d2ea0?)
/Users/runner/work/iamlive/iamlive/vendor/github.com/iann0036/goproxy/actions.go:19 +0x1c
github.com/iann0036/iamlive/iamlivecore.createProxy.(*ReqProxyConds).DoFunc.(*ReqProxyConds).Do.func4(0xc00ec12500, 0xc00b1c78c0)
/Users/runner/work/iamlive/iamlive/vendor/github.com/iann0036/goproxy/dispatcher.go:216 +0xa6
github.com/iann0036/goproxy.FuncReqHandler.Handle(0x0?, 0xc00f12d297?, 0x22?)
/Users/runner/work/iamlive/iamlive/vendor/github.com/iann0036/goproxy/actions.go:19 +0x1c
github.com/iann0036/goproxy.(*ProxyHttpServer).filterRequest(0xc0111fc060?, 0xc00ec12500, 0xc00b1c78c0)
/Users/runner/work/iamlive/iamlive/vendor/github.com/iann0036/goproxy/proxy.go:62 +0x6a
github.com/iann0036/goproxy.(*ProxyHttpServer).handleHttps.func2()
/Users/runner/work/iamlive/iamlive/vendor/github.com/iann0036/goproxy/https.go:220 +0x6a5
created by github.com/iann0036/goproxy.(*ProxyHttpServer).handleHttps in goroutine 1554
/Users/runner/work/iamlive/iamlive/vendor/github.com/iann0036/goproxy/https.go:190 +0x595
The Ansible / Terraform output is:
Error: listing tags for S3 (Simple Storage) Object (arn:aws:s3:::<redacted>/tools/postconfig/vmanep-use1-dev3-prov.json): operation error S3: GetObjectTagging, exceeded maximum number of attempts, 9, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Get "https://<redacted>.s3.amazonaws.com/tools/postconfig/<redacted>:.json?tagging=": proxyconnect tcp: dial tcp 127.0.0.1:10080: connect: connection refused
however I think that whatever caused iamlive
to crash was something else.
iamlive
version: 1.1.22 (I downloaded the binary)
terraform
version: 1.9.8
aws
CLI version: 2.15.57
Am I doing anything wrong?
Thank you very much for your help! :)
Metadata
Metadata
Assignees
Labels
No labels