Comments (20)
Resolved, the issue was address
on the beatupserver.json
was set to my WAN IP. I assumed that wouldn't be an issue since it's a local file I don't care about obscuring it at all, but if you use a DNS in BeatTogether.json
you also need to use DNS in beatupserver.json
Thanks for the help!
from beatuprcelyte.
Might be an IPv6 issue. Try running with ./beatupserver --ipv4
from beatuprcelyte.
Thanks, it was due to IPv6 being disabled on my Ubuntu install. Enabling IPv6 resolved the issue. I would assume passing --ipv4
would have resolved it as well. That being said, going to myip:5000 doesn't work (port is forwarded) and in the console I see the following on each page refresh:
[wire.c] wire_accept(9) failed
from beatuprcelyte.
The website is hosted on port 80
. Port 5000
is the lobby host.
from beatuprcelyte.
Is it possible to run the website on a different port? With localhost:port?
from beatuprcelyte.
yes.
from beatuprcelyte.
I appreciate the help, just to validate my Beat Together.json
should read as follows:
{ "SelectedServer": "SelfHost", "Servers": [ { "ServerName": "SelfHost", "HostName": "MediaServer", "Port": 5000, "StatusUri": "http://myDNS:3131/status", } ] }
from beatuprcelyte.
HostName
should be the IP or domain name of the serverPort
should be2328
- drop the
/status
inStatusUri
from beatuprcelyte.
The HostName
should be the IP or domain name of the server, where? Like the WAN side IP / Domain or the LAN side IP / Domain name.
from beatuprcelyte.
The same domain you set in StatusUri
from beatuprcelyte.
Can't connect in Beat Saber, the server is unreachable. It could be a NAT hairpin issue potentially.
I'm assuming this json is accurate at least. If it's a hairpin issue I should be able to use my LAN IPs, and send this config to others.
{ "ServerName": "SelfHost", "HostName": "domainname.duckdns.org", "Port": 2328, "StatusUri": "http://domainname.duckdns.org:3131", "MaxPartySize": 5 } ] }
Edit: Should mention 3131 is forwarded and working, I forwarded 2328 as well.
from beatuprcelyte.
Did you forward 5000
(note that 5000
and 2328
are UDP ports)?
from beatuprcelyte.
Yes 5000, 3131, and 2328 are all forwarded to 192.168.0.37 TCP/UDP
from beatuprcelyte.
So I setup the .json to use local IPs on the LAN, which I assume should work (obviously only locally and not over WAN but just to validate configuration). I see this error in the console:
[master.c] BAD MESSAGE TYPE: 0
is spammed a lot followed by:
[master.c] BAD MESSAGE TYPE: 0 [master.c] Invalid serial length: 11864 [pool.c] 1 room open [wire.c] wire_send_local(WireRoomSpawn) [instance.c] opening room (0,0) [instance.c] state (none) -> Lobby.Idle [net.c] MTU 0 -> 445 [instance.c] connect [::ffff:192.168.0.68]:60948 [instance.c] player slots (1/4): [⠁] [wire.c] wire_send_local(WireRoomSpawnResp) [master.c] Sending player to room
A
from beatuprcelyte.
What error (CFR-
, MUR-
, DCR-
) specifically does Beat Saber give you? Does it work with the address
field in beatupserver.json
set to the server's local IP instead of public?
from beatuprcelyte.
domainname.duckdns.org
CFR-3 Server Unreachable
from beatuprcelyte.
[master.c] Invalid serial length: 11864
[pool.c] 1 room open
[wire.c] wire_send_local(WireRoomSpawn)
[instance.c] opening room (0,0)
[instance.c] state (none) -> Lobby.Idle
[net.c] MTU 0 -> 445
[instance.c] connect [::ffff:192.168.0.68]:51657
[instance.c] player slots (1/4): [⠁]
[wire.c] wire_send_local(WireRoomSpawnResp)
[master.c] Sending player to room A
[wire.c] wire_accept(6) failed
[instance.c] session timeout
[instance.c] disconnect AF_UNSPEC
[instance.c] player slots (0/4): [⠀]
[instance.c] closing room (0,0)
[wire.c] wire_send_local(WireRoomCloseNotify)
[pool.c] 0 rooms open
Seems like I'm connecting, it's saying 1/4, trying to send me to Room A
then fails.
from beatuprcelyte.
CFR-3
means the instance's address
is either set wrong or unreachable due to firewall issues and such.
from beatuprcelyte.
Do the session logs not imply that I am successfully connecting here?
[instance.c] connect [::ffff:192.168.0.68]:51657
[instance.c] player slots (1/4): [⠁]
[wire.c] wire_send_local(WireRoomSpawnResp)
[master.c] Sending player to room A
I am certain the ports are forwarded, I've also validated again here https://canyouseeme.org/
from beatuprcelyte.
All those messages come from the master server connection. Your game's messages are never reaching the instance.
from beatuprcelyte.
Related Issues (20)
- BeatUpClient HOT 8
- Add timestamp with status updates HOT 1
- Restore multi-version support in BeatUpClient
- Support detour argument remapping
- Re-introduce remote wire
- Migrate to INI-based configuration
- Room code scrambling + personalization
- Implement functioning web UI
- Fix mid-level difficulty switching HOT 2
- Defer failing when paused
- Feature request: Server join message HOT 4
- Test IPv6 dual stack
- Auto-detect own public IP address
- Configuable and ephemeral instance port numbers
- Direct downloads broken on 1.31.0+
- can't create server HOT 1
- Player connected and then unable to play HOT 4
- Start not possible HOT 4
- AssetBundle conflict with Custom Sabers Lite HOT 1
- Refactor web host to use asynchronous I/O
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beatuprcelyte.