Skip to content
New issue

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

Refractor no longer working after deploying Minecraft server #65

Open
Deathay opened this issue Feb 13, 2022 · 1 comment
Open

Refractor no longer working after deploying Minecraft server #65

Deathay opened this issue Feb 13, 2022 · 1 comment

Comments

@Deathay
Copy link

Deathay commented Feb 13, 2022

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.

@Deathay
Copy link
Author

Deathay commented Feb 13, 2022

I have deleted the minecraft server in the database as you said in DMs and the panel is back live. Perhaps you know the issue that is described above with logs. The logging stops after that has displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant