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

Server Advertisement Error for an IPv6 server. #31

Open
Ryuo1 opened this issue May 15, 2024 · 3 comments
Open

Server Advertisement Error for an IPv6 server. #31

Ryuo1 opened this issue May 15, 2024 · 3 comments

Comments

@Ryuo1
Copy link

Ryuo1 commented May 15, 2024

This is a geyser enabled java server, natively running on IPv6 with the java flag -Djava.net.preferIPv6Addresses=true. When I use the IPv6 domain of this server as the ip in this tool, I get these errors in the console and I get stuck on connecting to multiplayer game.

[FriendConnect ] Server Advertisement Error
Error Name:  Error
Error Message:  Invalid connection address minecraft.domain.com/19132
Error Stack:  Error: Invalid connection address minecraft.domain.com/19132
    at new Client (/home/ryuo/FriendConnect/node_modules/raknet-native/lib/RakNet.js:8:19)
    at new RakNativeClient (/home/ryuo/FriendConnect/node_modules/bedrock-protocol/src/rak.js:45:19)
    at ping (/home/ryuo/FriendConnect/node_modules/bedrock-protocol/src/createClient.js:87:15)
    at Session.getAdvertisement (file:///home/ryuo/FriendConnect/node_modules/friend-connect/dist/index.js:419:30)
    at Timeout._onTimeout (file:///home/ryuo/FriendConnect/node_modules/friend-connect/dist/index.js:133:26)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7)
@jrcarl624
Copy link
Owner

The port for ipv6 is usually 19133

@Ryuo1
Copy link
Author

Ryuo1 commented May 15, 2024

The port for ipv6 is usually 19133

Geyser's port is still 19132, but I still tried it and it did not work.

[FriendConnect ] Server Advertisement Error
Error Name:  Error
Error Message:  Invalid connection address minecraft.domain.com/19133
Error Stack:  Error: Invalid connection address minecraft.domain.com/19133
    at new Client (/home/ryuo/FriendConnect/node_modules/raknet-native/lib/RakNet.js:8:19)
    at new RakNativeClient (/home/ryuo/FriendConnect/node_modules/bedrock-protocol/src/rak.js:45:19)
    at ping (/home/ryuo/FriendConnect/node_modules/bedrock-protocol/src/createClient.js:87:15)
    at Session.getAdvertisement (file:///home/ryuo/FriendConnect/node_modules/friend-connect/dist/index.js:419:30)
    at Timeout._onTimeout (file:///home/ryuo/FriendConnect/node_modules/friend-connect/dist/index.js:133:26)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7)

@densellp
Copy link
Collaborator

You cannot connect to the server, make sure your server is up and running, and also make sure that the ports are open as well. This issue isn't the app itself, its user error.

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

3 participants