We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My guess is that the API calls are reaching a rate limit, therefore the code is running into nil pointer.
Solution would be to use a backoff function to call AWS api, if the first call fails.
`> ecsgo ? Select a task: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x102fdafac]
goroutine 18 [running]: github.com/tedsmitt/ecsgo/internal.getPlatformFamily({0x103619a00, 0x1400011a100}, {0x1034115e0?, 0x140004ded80?}, 0x140004c8900) github.com/tedsmitt/ecsgo/internal/internal.go:87 +0x8c github.com/tedsmitt/ecsgo/internal.(*App).getContainerOS(0x140004016b0) github.com/tedsmitt/ecsgo/internal/app.go:426 +0xa0 github.com/tedsmitt/ecsgo/internal.(*App).getTask(0x140004016b0) github.com/tedsmitt/ecsgo/internal/app.go:366 +0xb8c github.com/tedsmitt/ecsgo/internal.(*App).Start.func1() github.com/tedsmitt/ecsgo/internal/app.go:70 +0x130 created by github.com/tedsmitt/ecsgo/internal.(*App).Start github.com/tedsmitt/ecsgo/internal/app.go:60 +0x84`
The text was updated successfully, but these errors were encountered:
Forgot to mention that this is with ECS with EC2 backend.
Sorry, something went wrong.
No branches or pull requests
My guess is that the API calls are reaching a rate limit, therefore the code is running into nil pointer.
Solution would be to use a backoff function to call AWS api, if the first call fails.
`> ecsgo
? Select a task: panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x102fdafac]
goroutine 18 [running]:
github.com/tedsmitt/ecsgo/internal.getPlatformFamily({0x103619a00, 0x1400011a100}, {0x1034115e0?, 0x140004ded80?}, 0x140004c8900)
github.com/tedsmitt/ecsgo/internal/internal.go:87 +0x8c
github.com/tedsmitt/ecsgo/internal.(*App).getContainerOS(0x140004016b0)
github.com/tedsmitt/ecsgo/internal/app.go:426 +0xa0
github.com/tedsmitt/ecsgo/internal.(*App).getTask(0x140004016b0)
github.com/tedsmitt/ecsgo/internal/app.go:366 +0xb8c
github.com/tedsmitt/ecsgo/internal.(*App).Start.func1()
github.com/tedsmitt/ecsgo/internal/app.go:70 +0x130
created by github.com/tedsmitt/ecsgo/internal.(*App).Start
github.com/tedsmitt/ecsgo/internal/app.go:60 +0x84`
The text was updated successfully, but these errors were encountered: