jrcarl624/FriendConnect

Server Advertisement Error for an IPv6 server.

Opened this issue · 3 comments

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)

The port for ipv6 is usually 19133

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)

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.