erigon icon indicating copy to clipboard operation
erigon copied to clipboard

Large torrent announce response panic erigon client every time on Windows

Open mconover opened this issue 2 years ago • 6 comments

System information

Erigon version: erigon version 2022.07.1-alpha-09776394

OS & Version: Windows 11

Commit hash : This one works: erigon.exe version 2022.06.6-alpha-77240899 This one panics across all Windows devices I have tested: erigon version 2022.07.1-alpha-09776394

This is due to default UDP buffer size being 8K and no easy way to increase the size. So this was some change in the alpha branch between June 20 and July 1.

Expected behaviour

Erigon starts torrent traffic and either concludes

Actual behaviour

Erigon exits with the error message: panic: read udp6 [::]:53397: wsarecvfrom: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.

Steps to reproduce the behaviour

Use the latest alpha branch and it will fail uncoditionally as soon as it starts torrent communication

Backtrace

goroutine 253 [running]: github.com/anacrolix/torrent/tracker/udp.(*ConnClient).reader(0xc08406a140) github.com/anacrolix/[email protected]/tracker/udp/conn-client.go:42 +0x295 created by github.com/anacrolix/torrent/tracker/udp.NewConnClient github.com/anacrolix/[email protected]/tracker/udp/conn-client.go:102 +0x245 panic: read udp6 [::]:53394: wsarecvfrom: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.

goroutine 275 [running]: github.com/anacrolix/torrent/tracker/udp.(*ConnClient).reader(0xc083fa4000) github.com/anacrolix/[email protected]/tracker/udp/conn-client.go:42 +0x295 created by github.com/anacrolix/torrent/tracker/udp.NewConnClient github.com/anacrolix/[email protected]/tracker/udp/conn-client.go:102 +0x245 [15:38:04.32] erigon exited with error 2 (aborting)

[backtrace]

mconover avatar Jul 07 '22 23:07 mconover

It looks like it blows up on the response to the announce packet. My erigon client sends a large torrent announce packet with many peers, and the announce response must be too large:

announce to "https://opentracker.i2p.rocks:443/announce" returned http.AnnounceResponse{Interval:1951, Leechers:5, Seeders:680, Peers:[]http.Peer{http.Peer{IP:net.IP{0x43, 0xbc, 0x91, 0x44}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2d, 0x5a, 0x6, 0x7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa1, 0x23, 0x96, 0x99}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x91, 0xef, 0xc3, 0xc0}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5f, 0xd9, 0xe5, 0x46}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x52, 0x41, 0xa8, 0x48}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x33, 0xde, 0x2c, 0x96}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x33, 0x5b, 0x50, 0x25}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2f, 0xba, 0x6c, 0x6e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x14, 0x71, 0x8a, 0x54}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc1, 0xc5, 0xaa, 0x82}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xae, 0x6e, 0xa2, 0x54}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x90, 0x5b, 0x7e, 0x39}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x84, 0x91, 0xa7, 0xa6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x81, 0xd5, 0x33, 0x29}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x36, 0xc4, 0xe2, 0xb6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0x5a, 0xb4, 0xd2}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x65, 0x71, 0xc9}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa8, 0x77, 0x93, 0xcf}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa1, 0x23, 0x96, 0xa7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x76, 0xbd, 0xb1, 0x9d}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x74, 0xca, 0xd4, 0xef}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x69, 0xec}, Port:42068, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2e, 0x89, 0x99, 0x11}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0xd5, 0x91, 0x69}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x12, 0xd7, 0x7d, 0xbb}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc3, 0xc9, 0xd0, 0x34}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x6e, 0x90, 0xb5, 0x5d}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x55, 0x4b, 0x70, 0xf0}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x36, 0xe3, 0xac, 0xcb}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0xdd, 0xfb, 0xb6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0xed, 0x54, 0x6c}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xcc, 0x10, 0xf5, 0xee}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa2, 0x37, 0x5, 0x1f}, Port:6881, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x87, 0xb5, 0xd1, 0xf2}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x82, 0x3d, 0xed, 0x63}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0xc4, 0x3e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x12, 0xd7, 0xc8, 0x3e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x9, 0x6f, 0xb4}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd9, 0x48, 0xda, 0xb3}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x92, 0x3b, 0x98, 0x29}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5e, 0x3c, 0xcf, 0xf5}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x36, 0x27, 0x11, 0xc0}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x33, 0x59, 0xe9, 0x59}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x23, 0xd1, 0x55, 0xc5}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x17, 0x58, 0x45, 0x5a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0xef, 0xf8, 0x34}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x96, 0x88, 0xfa, 0x65}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x80, 0x5b, 0x70, 0xc2}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x64, 0x1b, 0xf, 0x8f}, Port:42069, ID:[]uint8(nil)}}}: DBUG[07-07|16:25:49.269] "v1-000000-000500-headers.seg": announce to "udp4://www.torrent.eu.org:451/announce" returned http.AnnounceResponse{Interval:1662, Leechers:2, Seeders:646, Peers:[]http.Peer{http.Peer{IP:net.IP{0x88, 0xf3, 0x45, 0xb4}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x59, 0x8a, 0x57, 0xae}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xf, 0xeb, 0xe, 0xf1}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x8b, 0x6c, 0x5f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd8, 0x29, 0xdd, 0x6a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xca, 0x70, 0xee, 0x80}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xb1, 0x5e, 0x2e, 0x9b}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x8b, 0xe3, 0x9b, 0x6f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x81, 0xd5, 0xa3, 0xdf}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x61, 0x71, 0xfb, 0x1b}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x44, 0xb7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x15, 0x24, 0x1e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x33, 0x9f, 0x68, 0x3e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x23, 0xd2, 0x3d, 0xd6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xf, 0xeb, 0x2a, 0xa4}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd1, 0xb6, 0xe9, 0xe7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xcc, 0x10, 0xf5, 0xe6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xb9, 0x1a, 0x1e, 0x86}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa7, 0xeb, 0x1, 0x54}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x9f, 0xdf, 0xd1, 0xb8}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x96, 0x88, 0xf5, 0x44}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x82, 0x3d, 0x52, 0x6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x81, 0xd5, 0x9b, 0xb6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x6b, 0xc9, 0xe7, 0xfc}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5f, 0xd9, 0x2b, 0xb4}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x51, 0xae, 0x7, 0x51}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x4e, 0x99, 0xc7, 0x39}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x4c, 0x66, 0x1d, 0x8}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x87, 0x13}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x15, 0xea, 0x17}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x15, 0xe0, 0x9f}, Port:6881, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x34, 0x29, 0x44, 0x16}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2f, 0xc9, 0xca, 0x75}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2c, 0xc8, 0xd8, 0xdb}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xf, 0xeb, 0xe, 0xef}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd4, 0x1e, 0x24, 0x90}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc3, 0xbf, 0xdb, 0x69}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xbe, 0xbe, 0x6, 0x14}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xbc, 0xa6, 0x7d, 0xb7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa2, 0xc5, 0x19, 0x16}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x8e, 0x84, 0x85, 0xef}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x60, 0xf5, 0xe7, 0xfa}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5f, 0xd9, 0x6f, 0x9d}, Port:6881, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5e, 0x10, 0x6a, 0xdf}, Port:42068, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x49, 0xde, 0x86, 0x89}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x7b, 0xee}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x15, 0x59, 0x63}, Port:40001, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x31, 0xe4, 0xf7, 0x3a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0x8d, 0xd3, 0x34}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x17, 0xf2, 0xcc, 0x51}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x12, 0xbf, 0x81, 0x44}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x12, 0xa2, 0x78, 0xba}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x8b, 0x46, 0x12}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xdd, 0xd8, 0x8a, 0xe6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc7, 0x74, 0xf0, 0x3a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc6, 0xf4, 0xb2, 0x9}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xad, 0x49, 0xc1, 0xfe}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x92, 0x3b, 0xfc, 0x2c}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x8e, 0x84, 0xd4, 0x6f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x8e, 0x84, 0x9c, 0xf7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x62, 0xea, 0xd8, 0xd1}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x58, 0x50, 0x91, 0x1b}, Port:42070, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x4d, 0x6f, 0x11, 0x98}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x42, 0x27, 0xa2, 0x9a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0xea, 0x8e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x40, 0x2e, 0x73, 0x16}, Port:42019, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2e, 0x13, 0xa6, 0x2e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2c, 0xf0, 0xe6, 0x43}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2c, 0xcf, 0x19, 0xa1}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0xcb, 0x7e, 0xba}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x1f, 0xab, 0xf1, 0xaa}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x12, 0x9d, 0x4c, 0x5a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xf, 0xeb, 0x2a, 0x51}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x63, 0x28, 0x87}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x12, 0x3a, 0x26}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd1, 0x85, 0xc4, 0x7a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xbc, 0xa6, 0x7c, 0x56}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xaf, 0x7a, 0x30, 0x5b}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa8, 0x77, 0xd3, 0xa2}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x9f, 0x94, 0x10, 0xe1}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x8a, 0x4b, 0x73, 0x1c}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x7c, 0xbb, 0x63, 0x2a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x7c, 0xa8, 0xc7, 0x99}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x58, 0xc4, 0x86, 0xe2}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x56, 0xac, 0xf2, 0x10}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x4c, 0xae, 0xb5, 0x65}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x8, 0x6f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2d, 0x5a, 0x6, 0x7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x17, 0x6f, 0xba, 0x44}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xf, 0xeb, 0xf, 0xab}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x65, 0x13, 0x59}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xdc, 0xff, 0xc0, 0xa8}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc6, 0xb2, 0x78, 0x3}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xb9, 0xe3, 0x87, 0x80}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x97, 0xc5, 0xf2, 0x85}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x87, 0xb5, 0xdf, 0x98}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x78, 0xea, 0x3, 0x5e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x78, 0xcc, 0x60, 0x7f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5f, 0xd9, 0xc2, 0xf9}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5b, 0x92, 0xf7, 0x3f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x55, 0xf6, 0x3e, 0xda}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x78, 0xae}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x15, 0x5a, 0x93}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x34, 0x4f, 0x66, 0xca}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x33, 0xde, 0x2c, 0x96}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x33, 0x5b, 0x50, 0x25}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x33, 0x51, 0xd0, 0x6f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2f, 0xba, 0x6c, 0x6e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0x7b, 0x9c, 0x4a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0x49, 0xa2, 0xb6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x17, 0x58, 0x49, 0x3b}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x12, 0xd4, 0xd8, 0x95}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x8d, 0x68, 0xbb}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd4, 0x59, 0xad, 0xd8}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd3, 0x72, 0xdf, 0x3e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc1, 0xc5, 0xaa, 0x82}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xbc, 0xa6, 0x7a, 0x76}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xad, 0xc7, 0x7b, 0xe3}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa2, 0x13, 0x88, 0x35}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x8e, 0x84, 0xcf, 0x11}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x87, 0x7d, 0x3, 0x3b}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x82, 0x3d, 0xe1, 0x22}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x47, 0x3e, 0xbd, 0x90}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x40, 0xb4, 0xa0, 0xe}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x2c, 0xf1, 0x93, 0x32}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x23, 0x57, 0x9c, 0x28}, Port:34535, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0x5a, 0xb4, 0xd2}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5, 0x9, 0x6b, 0xf9}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0xfa, 0x40, 0xf1}, Port:5002, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd1, 0xc3, 0xa, 0xa3}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa1, 0x23, 0x96, 0xa7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x9e, 0x65, 0x71, 0x3d}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x82, 0x3d, 0x72, 0x10}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x76, 0xbd, 0xb1, 0x9d}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5f, 0x9e, 0x46, 0x3e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x51, 0x62, 0xdd, 0x21}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x4c, 0xb6, 0x0, 0xf}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0xc8, 0xc}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x69, 0xec}, Port:42068, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x7, 0x6d}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x36, 0xda, 0x33, 0xde}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x26, 0xf2, 0xe3, 0xf6}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x23, 0xe9, 0xb0, 0xb5}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x23, 0xb9, 0x80, 0x55}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x1f, 0xab, 0xf0, 0xb7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x12, 0xd7, 0x7d, 0xbb}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd, 0xd6, 0xfb, 0x53}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x5f, 0xfd, 0x72}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x42, 0x83, 0x89}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xd1, 0x85, 0xc8, 0x62}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc2, 0x2d, 0x4c, 0x95}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x9d, 0x5a, 0x23, 0x16}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x7b, 0x74, 0x78, 0x69}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x6c, 0x38, 0xad, 0xcf}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x69, 0xc1, 0x5c, 0x4a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5e, 0xf1, 0x5f, 0x2}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x58, 0x63, 0xc3, 0xb2}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x55, 0x4b, 0x70, 0xf0}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x6c, 0x85, 0x5e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x36, 0xa7, 0x43, 0x80}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x33, 0x4f, 0x53, 0x3b}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x23, 0xc6, 0xad, 0x3a}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x22, 0x6b, 0x3b, 0x58}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x18, 0x3c, 0xb1, 0xcb}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xf, 0xcc, 0xa0, 0xa5}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0xed, 0x54, 0x6c}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0xd6, 0xe0, 0x77}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x5c, 0x48, 0x49}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x54, 0x68, 0x51}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x43, 0xde, 0x5c}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0xf, 0x96, 0x98}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xcc, 0x10, 0xf5, 0xee}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa7, 0xeb, 0x3, 0xca}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xa2, 0x37, 0x5, 0x1f}, Port:6881, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x9a, 0x35, 0x23, 0x2d}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x8e, 0x84, 0x89, 0xe4}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x8d, 0x5e, 0xf8, 0xac}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x87, 0xb5, 0xd0, 0x93}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x82, 0x3d, 0xed, 0x63}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5b, 0xde, 0x71, 0x75}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x54, 0xa4, 0xfb, 0x9c}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x52, 0x40, 0x2e, 0x8f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x4d, 0xb9, 0x72, 0x7}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x4c, 0x1d, 0x25, 0x91}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x41, 0x15, 0x5e, 0x2b}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3f, 0x23, 0xaf, 0x1e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x36, 0xbb, 0x42, 0xc}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x23, 0xef, 0x86, 0x97}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x12, 0xd7, 0xc8, 0x3e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0xec, 0x57, 0x99}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x50, 0x60, 0x2c}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x3, 0x10, 0xed, 0x3f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0xc1, 0x20, 0x2, 0xa6}, Port:63749, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x9f, 0x59, 0x7a, 0xec}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x96, 0xe6, 0x1c, 0x86}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x88, 0xf3, 0x94, 0x9f}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x73, 0xea, 0x13, 0x3e}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x5e, 0x3c, 0xcf, 0xf5}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x56, 0x73, 0x36, 0xf}, Port:42069, ID:[]uint8(nil)}, http.Peer{IP:net.IP{0x50, 0x8b, 0xad, 0x76}, Port:42069, ID:[]uint8(nil)}}}:

panic: read udp6 [::]:59185: wsarecvfrom: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.

goroutine 322 [running]: github.com/anacrolix/torrent/tracker/udp.(*ConnClient).reader(0xc04be7e000) github.com/anacrolix/[email protected]/tracker/udp/conn-client.go:42 +0x295 created by github.com/anacrolix/torrent/tracker/udp.NewConnClient github.com/anacrolix/[email protected]/tracker/udp/conn-client.go:102 +0x245 [16:25:49.45] erigon exited with error 2 (aborting)

mconover avatar Jul 07 '22 23:07 mconover

I will take a look

AskAlexSharov avatar Jul 08 '22 02:07 AskAlexSharov

@mconover hi, try branch: win_limit_udp

AskAlexSharov avatar Aug 01 '22 05:08 AskAlexSharov

@AskAlexSharov This seems to have solved this issue for me.

itgav avatar Aug 03 '22 13:08 itgav

Great

AskAlexSharov avatar Aug 04 '22 01:08 AskAlexSharov

I unfortunately am still getting this error even on the win_udp_limit branch. Here is my error:

panic: read udp6 [::]:49157: wsarecvfrom: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.

goroutine 373 [running]: github.com/anacrolix/torrent/tracker/udp.(*ConnClient).reader(0xc0ab246280) github.com/anacrolix/[email protected]/tracker/udp/conn-client.go:46 +0x295 created by github.com/anacrolix/torrent/tracker/udp.NewConnClient github.com/anacrolix/[email protected]/tracker/udp/conn-client.go:112 +0x297

Not sure what to do at this point. I've run .\wmake.ps1 clean as well with no change.

acdop100 avatar Aug 22 '22 23:08 acdop100

Disabling the downloader component seems to get past this. Are there any updates on this?

acdop100 avatar Sep 08 '22 18:09 acdop100

no, didn't work on it since last update

AskAlexSharov avatar Sep 09 '22 04:09 AskAlexSharov

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] avatar Jan 07 '23 02:01 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Feb 10 '23 02:02 github-actions[bot]