Giter VIP home page Giter VIP logo

Comments (10)

mwillfox avatar mwillfox commented on July 21, 2024 2

Sorry to resurrect this old issue, but it's the only reference I've been able to find to the issue I'm running into. I'm running the itzg/docker-minecraft-bedrock-server image as a StatefulSet on Ubuntu Server with Microk8s. As long as I expose the Service with NodePort everything works great on the port I've assigned. However, I'd like to run it on the usual port 19132, so I'm trying to do it with nginx ingress and UDP stream.

I can connect via 19132 using the nginx ingress addon in Microk8s, however, after just a few moments the Minecraft client will give the "Disconnected from server" error message. It does seem like the issue is Nginx in this case, but I'm wondering if anyone knows of any configuration or setting that could be breaking the Nginx UDP Stream capability with Minecraft Bedrock Server. I've even used Wireshark at this point to see if I can notice anything strange. Wireshark recognizes the Minecraft Bedrock UDP traffic as the RakNet game networking protocol but only shows that after a few moments the server (probably Nginx) stops responding completely while the client continues sending data. Eventually the client determines that the server must have disconnected and displays the message.

I'm mentioning this in the hopes that maybe someone else has solved this issue.

from docker-minecraft-bedrock-server.

marcusjwhelan avatar marcusjwhelan commented on July 21, 2024

It seems like IPV6 needs to be there. How do i do that?

from docker-minecraft-bedrock-server.

marcusjwhelan avatar marcusjwhelan commented on July 21, 2024

If you want to take a look here is the setup. https://github.com/marcusjwhelan/minecraft_docker/tree/master/k8s/prod-azure-multi-pod-node

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

Your issue inspired me to update the example here in the repo to use a StatefulSet. The example works on a Linux server on my LAN using microk8s and there's a few specific things you may want to try in yours:

The BDS process also binds IPv6 to 19133, so if your Azure deployment insists on IPv6 then you can add the port bits for 19133 also.

I'm hoping one or all of the above help your setup.

from docker-minecraft-bedrock-server.

marcusjwhelan avatar marcusjwhelan commented on July 21, 2024

@itzg It looks like it still instantly disconnects the server once connected. I am trying to avoid using a load balancer because I am testing out a process to have 1000 or more servers up on one IP. I am using Ingress-nginx.

Any suggestions with that?

from docker-minecraft-bedrock-server.

marcusjwhelan avatar marcusjwhelan commented on July 21, 2024

Tried running this version just with docker or the kubernetes example on my local computer (Windows10) neither worked. The kubernetes version didn't have an exposed IP. I followed the commands and even added a volume for the docker version but no dice.

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

That's strange the local usage didn't work for you. I used:

kubectl apply -f https://github.com/itzg/docker-minecraft-bedrock-server/raw/master/examples/kubernetes.yml
kubectl patch svc bds -p '{"spec":{"type":"LoadBalancer"}}'

and I was able to see the server in "LAN Games" section.

I only use nginx-ingress for the standard HTTP/HTTPS ingress support, so I haven't tried out their UDP extension. That would be the most likely culprit IMHO.

from docker-minecraft-bedrock-server.

marcusjwhelan avatar marcusjwhelan commented on July 21, 2024

@itzg I don't know which version you are using. I am using the Microsoft Minecraft for windows 10. There is no "LAN Games" section I can find. Just servers.

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

Sorry, I lost track of your reply in my other emails. Confusingly enough, the LAN games show up in the "Friends" tab:

image

from docker-minecraft-bedrock-server.

arosado2895 avatar arosado2895 commented on July 21, 2024

I'm having a similar issue. I'm although I'm using playit.gg to tunnel my udp and port to play with some friends. After a few hours the game would just randomly disconnect.

I have another game running with playit (valheim), it doesn't disconnect so I now the tunnel client is not the issue. I've tried to reserved the port for game and machine as well. I'm hitting a snag 😂

from docker-minecraft-bedrock-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.