Skip to content
New issue

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

container crash (Panic) #1444

Open
saleh-hom opened this issue Jan 31, 2024 · 1 comment
Open

container crash (Panic) #1444

saleh-hom opened this issue Jan 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@saleh-hom
Copy link

saleh-hom commented Jan 31, 2024

I am using Crawlab pro as a stack deployed on a docker swarm, all features are working fine. I am also using 1 worker node on a different machine.
However every few days the master node panics with the below error messages.

panic: runtime error: index out of range [104] with length 62
goroutine 15940761 [running]:
github.com/emirpasic/gods/lists/arraylist.(*List).Add(...)
/go/pkg/mod/github.com/emirpasic/gods@v1.18.1/lists/arraylist/arraylist.go:47
github.com/crawlab-team/crawlab-pro/core/metric.(*Service).getAllNodeMetrics.func1.1({0xc000dcc000?, 0xd4, 0xc0010ec2b0?})
/go/src/app/core/metric/service.go:226 +0x22d
github.com/crawlab-team/crawlab-pro/core/metric.(*Service).requestRemoteNodeMetrics(0xc000024480, {0x229d490, 0xc001c37860}, {0x22aa028, 0xc000af5930}, 0x1985063?, 0xc001990ee8)
/go/src/app/core/metric/service.go:334 +0x4da
github.com/crawlab-team/crawlab-pro/core/metric.(*Service).getAllNodeMetrics.func1({{0x65, 0xa7, 0xc1, 0xbd, 0xdc, 0x6e, 0x24, 0xde, 0x5b, 0x5a, ...}, ...})
/go/src/app/core/metric/service.go:224 +0xfa
created by github.com/crawlab-team/crawlab-pro/core/metric.(*Service).getAllNodeMetrics
/go/src/app/core/metric/service.go:223 +0x40c

Steps to reproduce the behavior:
I don't think there are set of steps to reproduce the issue, simply leaving the stack running will eventually make the container panic

@saleh-hom saleh-hom added the bug Something isn't working label Jan 31, 2024
@oleksa-dev
Copy link

@saleh-hom hi, have the same panic issue runtime error: index out of range in pro version.
It appears randomly during requests to API performed my Crawlab frontend side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants