jhead / phantom

Use your own Minecraft server with your Xbox or PS4 and play with friends!
MIT License
609 stars 76 forks source link

Networking issue (Server not showing up) #70

Open BRadHoc opened 4 years ago

BRadHoc commented 4 years ago

Hey,

Firstly thanks for the hard work getting this working. I've had it working briefly however I'm experiencing some issues.

First I was using it other a tethering connection from my phone (just moved home before the COVID-19 stuff and have no proper internet connection yet) and it worked, however I then started getting issues and the server wouldn't show up in the list after it disconnected in-game. So I decided to bust our the dd-wrt router and create a bridge so I had an actual "network" I could control. However the server is still not showing up in the list.

I'm getting this output:

INFO: 2020/04/10 18:34:06 clientmap.go:109: Opening connection to 000.000.000.000:19132 for new client 192.168.1.122:62647! INFO: 2020/04/10 18:34:06 clientmap.go:128: Opening connection to 000.000.000.000:19132 INFO: 2020/04/10 18:34:27 clientmap.go:78: Cleaning up idle connection: 000.000.000.000:58564 read udp 192.168.1.112:60950->000.000.000.000:19132: use of closed network connection

So phantom is seeing the PS4 but it's just not appearing in the list. I've disabled my firewall and I'm on MacOS Catalina

Anyone experienced anything similar?

jhead commented 4 years ago

Hey @BRadHoc! Could you give me some info about the server that you're trying to connect to with phantom?

BRadHoc commented 4 years ago

Hey @jhead, it's Bedrock Dedicated Server running on windows Version 1.14.1.4

I've been hacking around with it all day today and last night, it literally seems to work when it wants to after restarting the app on the PS4, restarting phantom, and a mixture of the two (I've been running phantom from a raspberry pi all day).

BRadHoc commented 4 years ago

It seems to show up better on iOS than on the PS4

counterfitninja commented 4 years ago

Can you try 0.1.2 and see If that helps. Your seeing similar to what I have but cannot work oit what is going on. 0.1. 2 seems to be the last version that is consistently working for me.

BRadHoc commented 4 years ago

Running the process again over the top of itself seems to make the server show up on the list (sometimes). Or doing "killall phantom..." and running it again until it sees it

jhead commented 4 years ago

Hey @BRadHoc, can you try the latest phantom version v0.4.0 for me? https://github.com/jhead/phantom/releases

Valiante commented 4 years ago

I have the same issue with every version above v0.1.2, up to and including v0.4.0 - I'm running phantom-linux on a Synology DS412+ Diskstation with DSM v6.2.2 and have both Windows and Android clients. From v0.2.0 upward the server doesn't appear in the list on any. The dedicated bedrock server itself is version 1.14.32.1 running on a Google Cloud hosted Ubuntu Server 18.04.4 LTS virtual machine. Happy to provide more information, perform troubleshooting, gather debug logs, etc.

Meanwhile v0.1.2 continues to work perfectly, so thank you infinitely for that.

counterfitninja commented 4 years ago

You may have the same problem as me in that the lan broadcast being set to 0 and not 1. If that means nothing I can send some screen shots over but it involved opening the game with mcctoolchest and looking for the lan broadcast setting In The root node.