dreamscached / MineQuery

📡 Minecraft Server List Ping library written in Go
https://pkg.go.dev/github.com/dreamscached/minequery/v2
MIT License
27 stars 4 forks source link

Testing workflow randomly fails with 'read: connection reset by peer' error #27

Closed dreamscached closed 2 years ago

dreamscached commented 2 years ago

For instance, here's a workflow that recently failed. However, there were no changes to Beta 1.8 ping code, but the next workflow succeeded.

dreamscached commented 2 years ago

It seemed that v1.0.0 server used to crash occasionally (I believe it to be related to server generating bad chunks, especially with that stronghold error), but even setting a valid seed didn't help.

Upgrading to v1.0.1 seemed to solve the seed issue, but the problem still persists. Luckily we can re-run runs.

dreamscached commented 2 years ago

Recent workflow run showed that approach introduced in commit b8e9028b3456bfd3461f3231decae934da1e113b worked. Closing for now, hoping this won't arise again.