Packetbeat error

hello everyone,
I run packetbeat with pf_ring or af_packet,both throw error:
2017-07-12T13:23:04+08:00 INFO Non-zero metrics in the last 30s: http.unmatched_responses=4059 tcp.dropped_because_of_gaps=16516
2017-07-12T13:23:08+08:00 ERR ParseHttp exception. Recovering, but please report this: runtime error: slice bounds out of range.
2017-07-12T13:23:08+08:00 ERR Stacktrace: goroutine 48 [running]:
runtime/debug.Stack(0xbbcdce, 0x2b, 0xc431fd75e0)
_ /root/go/src/runtime/debug/stack.go:24 +0x79_
github.com/elastic/beats/libbeat/logp.Recover(0xba8ace, 0x13)
_ /root/go/src/github.com/elastic/beats/libbeat/logp/log.go:145 +0x138_
panic(0xabf580, 0xc420010110)
_ /root/go/src/runtime/panic.go:458 +0x243_
github.com/elastic/beats/packetbeat/protos/http.(*parser).parseHTTPLine(0xc427d357a0, 0xc43191a240, 0xc425eb1200, 0xad5c00)
_ /root/go/src/github.com/elastic/beats/packetbeat/protos/http/http_parser.go:174 +0xd3c_
github.com/elastic/beats/packetbeat/protos/http.(*parser).parse(0xc427d357a0, 0xc43191a240, 0x0, 0xc431fd7a26)
_ /root/go/src/github.com/elastic/beats/packetbeat/protos/http/http_parser.go:105 +0x122_
github.com/elastic/beats/packetbeat/protos/http.(*httpPlugin).doParse(0xc4201f6460, 0xc42626b710, 0xc42270c780, 0xc4217b21f8, 0x1, 0x4000000000000)
_ /root/go/src/github.com/elastic/beats/packetbeat/protos/http/http.go:294 +0x16e_
github.com/elastic/beats/packetbeat/protos/http.(*httpPlugin).Parse(0xc4201f6460, 0xc42270c780, 0xc4217b21f8, 0xc4201f6401, 0xa5e240, 0xc42626b710, 0x0, 0x0)
_ /root/go/src/github.com/elastic/beats/packetbeat/protos/http/http.go:225 +0xb5_
github.com/elastic/beats/packetbeat/protos/tcp.(*TCPStream).addPacket(0xc431fd7b60, 0xc42270c780, 0xc4212caea0)
_ /root/go/src/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go:115 +0x176_
github.com/elastic/beats/packetbeat/protos/tcp.(*TCP).Process(0xc4212c84e0, 0x0, 0xc4212caea0, 0xc42270c780)
_ /root/go/src/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go:208 +0x3a2_
github.com/elastic/beats/packetbeat/decoder.(*Decoder).onTCP(0xc4212ca900, 0xc42270c780)
_ /root/go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:317 +0xee_
github.com/elastic/beats/packetbeat/decoder.(*Decoder).process(0xc4212ca900, 0xc42270c780, 0x2c, 0x65, 0x1152a00, 0xc4212ca900)
_ /root/go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:258 +0x222_
github.com/elastic/beats/packetbeat/decoder.(*Decoder).OnPacket(0xc4212ca900, 0xc42705a3f6, 0x65, 0x65, 0xc42bc3e0f0)
_ /root/go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:164 +0x343_
github.com/elastic/beats/packetbeat/sniffer.(*SnifferSetup).Run(0xc420070720, 0xc0cff0, 0xc42119bfe0)
_ /root/go/src/github.com/elastic/beats/packetbeat/sniffer/sniffer.go:381 +0x493_
github.com/elastic/beats/packetbeat/beater.(*packetbeat).Run.func2(0xc42119bfe0, 0xc4200983c0, 0xc4200709c0)
_ /root/go/src/github.com/elastic/beats/packetbeat/beater/packetbeat.go:155 +0x6a_
created by github.com/elastic/beats/packetbeat/beater.(*packetbeat).Run
_ /root/go/src/github.com/elastic/beats/packetbeat/beater/packetbeat.go:159 +0x1b2_

packetbeat version 5.4.2 (amd64), libbeat 5.4.2
By the way,i cannot capture any packet .

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.