Skip to content

Refractor no longer working after deploying Minecraft server #65

@Deathay

Description

@Deathay

Hello,

I have added a Minecraft server and Refractor instantly no longer works. The error i've been getting is always the same, after server 79 this shows up.

{"level":"info","ts":1644778126.1706333,"caller":"build/main.go:479","msg":"RCON client connected","Server":71}
{"level":"info","ts":1644778126.749362,"caller":"build/main.go:479","msg":"RCON client connected","Server":77}
{"level":"info","ts":1644778126.8826191,"caller":"build/main.go:479","msg":"RCON client connected","Server":78}
{"level":"info","ts":1644778127.0157504,"caller":"build/main.go:479","msg":"RCON client connected","Server":74}
{"level":"info","ts":1644778127.6294723,"caller":"build/main.go:479","msg":"RCON client connected","Server":65}
{"level":"info","ts":1644778129.0178585,"caller":"build/main.go:479","msg":"RCON client connected","Server":69}
{"level":"info","ts":1644778130.0505824,"caller":"build/main.go:479","msg":"RCON client connected","Server":79}
panic: runtime error: makeslice: len out of range

goroutine 1 [running]:
github.com/refractorgscm/rcon/packet.DecodeClientPacket({0xc36b70, 0x10b7f48}, {0xc1c700, 0xc0004ea1e0})
        /go/pkg/mod/github.com/refractorgscm/rcon@v1.1.1/packet/client.go:139 +0x176
github.com/refractorgscm/rcon.(*Client).readPacketTimeout(0xc000325b60)
        /go/pkg/mod/github.com/refractorgscm/rcon@v1.1.1/connection.go:69 +0x232
github.com/refractorgscm/rcon.(*Client).authenticate(0xc000325b60)
        /go/pkg/mod/github.com/refractorgscm/rcon@v1.1.1/client.go:314 +0x73
github.com/refractorgscm/rcon.(*Client).Connect(0xc000325b60)
        /go/pkg/mod/github.com/refractorgscm/rcon@v1.1.1/client.go:149 +0x1d6
Refractor/internal/rcon/service.(*rconService).CreateClient(0xc000434000, 0xc00047cdc0)
        /build/internal/rcon/service/rcon_service.go:100 +0x265
main.SetupServerClients({0xc3d968, 0xc000434000}, {0xc3d9f0, 0xc000413980}, 0xc0000f95c0)
        /build/main.go:474 +0x54b
main.main()
        /build/main.go:252 +0x2a25

I have restarted, reboot the server, older version but no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions