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
页面报错:Request failed with status code 502 日志: 2023-04-28 11:32:38 file=middleware/permission.go:27 level=info msgID[15f105f4-f1e9-45dd-a864-fed0cd12e3bd] info:admin method:GET path:/api/v1/cmdb/search 2023/04/28 11:32:38 http: panic serving 127.0.0.1:56686: runtime error: invalid memory address or nil pointer dereference goroutine 86 [running]: net/http.(*conn).serve.func1(0xc000364000) /usr/local/go/src/net/http/server.go:1824 +0x153 panic(0x170c280, 0x3ec2540) /usr/local/go/src/runtime/panic.go:971 +0x499 fiy/common/middleware.CustomError.func1(0xc00009e4b0) /zysz/fiy/common/middleware/customerror.go:45 +0x613 panic(0x170c280, 0x3ec2540) /usr/local/go/src/runtime/panic.go:965 +0x1b9 github.com/olivere/elastic/v7.(*Client).PerformRequest(0x0, 0x1c0e208, 0xc0000ba000, 0x19e401a, 0x4, 0xc000428340, 0x1b, 0xc002764f60, 0x16fd360, 0xc002764f90, ...) /root/go/pkg/mod/github.com/olivere/elastic/[email protected]/client.go:1312 +0xed github.com/olivere/elastic/v7.(*SearchService).Do(0xc002a51360, 0x1c0e208, 0xc0000ba000, 0xc000639340, 0x1, 0x1) /root/go/pkg/mod/github.com/olivere/elastic/[email protected]/search.go:627 +0x13c fiy/pkg/es.EsClientType.Query(0x0, 0x1660260, 0xc002770450, 0x0, 0x1, 0xc000766025, 0x1, 0x4) /zysz/fiy/pkg/es/es.go:78 +0x416 fiy/app/cmdb/apis/search.GetData(0xc00009e4b0) /zysz/fiy/app/cmdb/apis/search/search.go:36 +0x185 .....
The text was updated successfully, but these errors were encountered:
No branches or pull requests
页面报错:Request failed with status code 502
日志:
2023-04-28 11:32:38 file=middleware/permission.go:27 level=info msgID[15f105f4-f1e9-45dd-a864-fed0cd12e3bd] info:admin method:GET path:/api/v1/cmdb/search
2023/04/28 11:32:38 http: panic serving 127.0.0.1:56686: runtime error: invalid memory address or nil pointer dereference
goroutine 86 [running]:
net/http.(*conn).serve.func1(0xc000364000)
/usr/local/go/src/net/http/server.go:1824 +0x153
panic(0x170c280, 0x3ec2540)
/usr/local/go/src/runtime/panic.go:971 +0x499
fiy/common/middleware.CustomError.func1(0xc00009e4b0)
/zysz/fiy/common/middleware/customerror.go:45 +0x613
panic(0x170c280, 0x3ec2540)
/usr/local/go/src/runtime/panic.go:965 +0x1b9
github.com/olivere/elastic/v7.(*Client).PerformRequest(0x0, 0x1c0e208, 0xc0000ba000, 0x19e401a, 0x4, 0xc000428340, 0x1b, 0xc002764f60, 0x16fd360, 0xc002764f90, ...)
/root/go/pkg/mod/github.com/olivere/elastic/[email protected]/client.go:1312 +0xed
github.com/olivere/elastic/v7.(*SearchService).Do(0xc002a51360, 0x1c0e208, 0xc0000ba000, 0xc000639340, 0x1, 0x1)
/root/go/pkg/mod/github.com/olivere/elastic/[email protected]/search.go:627 +0x13c
fiy/pkg/es.EsClientType.Query(0x0, 0x1660260, 0xc002770450, 0x0, 0x1, 0xc000766025, 0x1, 0x4)
/zysz/fiy/pkg/es/es.go:78 +0x416
fiy/app/cmdb/apis/search.GetData(0xc00009e4b0)
/zysz/fiy/app/cmdb/apis/search/search.go:36 +0x185
.....
The text was updated successfully, but these errors were encountered: