rcelyte / BeatUpRcelyte

A lightweight modded Beat Saber multiplayer server
The Unlicense
17 stars 5 forks source link

can't create server #24

Closed alsdzx closed 11 months ago

alsdzx commented 11 months ago

When I created the server, "CFR-3" appeared after "performing hand shake". Is it because I didn't open some ports, I only opened ports: 80, 2328, 5000-7000, 8106-8200.

"beatupserver.json" is:

{ "instance": { "address": ["139.196.158.xxx"], "count": 1 }, "master": {}, "status": { "url": "http://0.0.0.0" } }

lsof -i COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME systemd-n 418 systemd-network 19u IPv4 16091 0t0 UDP iZuf6bgmergurdaa7a5meyZ:bootpc systemd-r 432 systemd-resolve 12u IPv4 16975 0t0 UDP localhost:domain systemd-r 432 systemd-resolve 13u IPv4 16976 0t0 TCP localhost:domain (LISTEN) chronyd 567 _chrony 5u IPv4 17984 0t0 UDP localhost:323 chronyd 567 _chrony 6u IPv6 17985 0t0 UDP localhost:323 beatupser 24436 root 3u IPv4 167638 0t0 UDP :2328 beatupser 24436 root 4u IPv6 167639 0t0 TCP :http (LISTEN) beatupser 24436 root 5u IPv4 167640 0t0 UDP *:8106

./beatupserver --ipv4 [net.c] Bound 0.0.0.0:2328 [wire.c] TODO: remote wire [master.c] Started [net.c] Bound 0.0.0.0:8106 [status_ssl.c] Started HTTP [pool.c] pool_host_attach() [instance.c] Started Press [enter] to exit [internal.c] (HTTP,game): POST /beat_saber_get_multiplayer_instance?access_token=OC%7C238236400888545%7C [internal.c] TODO: parse songPackMask [pool.c] 1 room open [instance.c] opening room (0,0) [instance.c] state (none) -> Lobby.Idle [instance.c] resolve | player slots (1/11): [⠁⠀] [master.c] Sending player to room A [internal.c] TODO: encode songPackMask [internal.c] (HTTP,game): POST /beat_saber_get_multiplayer_instance?access_token=OC%7C238236400888545%7C [internal.c] TODO: parse songPackMask [pool.c] 2 rooms open [instance.c] opening room (0,1) [instance.c] state (none) -> Lobby.Idle [instance.c] resolve | player slots (1/11): [⠁⠀] [master.c] Sending player to room B [internal.c] TODO: encode songPackMask [internal.c] (HTTP,game): POST /beat_saber_get_multiplayer_instance?access_token=OC%7C238236400888545%7C [internal.c] TODO: parse songPackMask [pool.c] 3 rooms open

alsdzx commented 11 months ago

I have solved the problem. I am using a cloud server, and both the service provider and ECS need to set up ports to open at the same time