jrcarl624 / FriendConnect

A tool for minecraft bedrock that allows console players to join a server
https://github.com/Androecia/FriendConnect
Other
74 stars 20 forks source link

Server Advertisement Error for an IPv6 server. #31

Open Ryuo1 opened 3 months ago

Ryuo1 commented 3 months ago

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 commented 3 months ago

The port for ipv6 is usually 19133

Ryuo1 commented 3 months ago

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 commented 2 weeks ago

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.