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

Connection reset when try to join #30

Closed
xerenahmed opened this issue Jan 26, 2023 · 1 comment
Closed

Connection reset when try to join #30

xerenahmed opened this issue Jan 26, 2023 · 1 comment

Comments

@xerenahmed
Copy link

Thank you all who made an open-source project like this. I wanted to try but sadly I couldn't use it.

Proxy failed to start: socket_set_option(): Unable to set socket option [55]: No buffer space available
After some reproduction, I saw socket_set_option buffer size sets 8 * 1024 * 1024 and I changed 8 to 6.

There is no method for RakLibInterface::getBroadcaster($this->server, ProtocolInfo::CURRENT_PROTOCOL)
and I replicated it with:

new StandardPacketBroadcaster($this->server)

Now it's working! Expect one thing: when I try to join something happening.

// WDPE
20:39:39 [ERROR] Pipeline threw exception for player xerenahmed
java.net.SocketException: Connection reset
....

// PM
17:39:39.264 ProxyThread DEBUG > Socket(0) created a session from 127.0.0.1:54183
17:39:39.377 Server INFO > [NetworkSession: 127.0.0.1 54183] Session opened
17:39:39.533 Server DEBUG > [NetworkSession: 127.0.0.1 54183] SetActorMotionPacket: KA==
17:39:39.534 Server INFO > [NetworkSession: 127.0.0.1 54183] Session closed due to Socket disconnect
17:39:39.534 ProxyThread DEBUG > Disconnected socket with id 0
@larryTheCoder
Copy link

Currently, ProxyTransport-PM only support our forked version of PocketMine-MP, it is not going to work with the original PocketMine-MP which is not ideal to say.

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

2 participants