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

Fallback to next server when connection errors out #1018

Open
cfpwastaken opened this issue Jun 4, 2023 · 0 comments
Open

Fallback to next server when connection errors out #1018

cfpwastaken opened this issue Jun 4, 2023 · 0 comments
Labels
type: feature New feature or request

Comments

@cfpwastaken
Copy link

I host a server for a few friends on a low-end server, sometimes the connection gets closed with the message "Connection reset by peer", but you can reconnect again.
I decided I wanted to fallback to another server when you get kicked out, which then tries to automatically connect you back, so I got a velocity plugin which does that. The plugin seems to work, I /kick myself out and it reconnects me.
However, when the connection does get reset, it still just kicks me out.
Logs:

[connected player] _Cfp has disconnected: An internal error occurred in your connection.
[connected player] _Cfp: exception encountered in com.velocitypowered.proxy.connection.client.ClientPlaySessionHandler@3612d08e
io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer
[server connection] _Cfp -> has disconnected
@Nacioszeczek Nacioszeczek added the type: feature New feature or request label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants