IRC logs of Libera.Chat #BZFlag for Monday, 2025-02-10

*** Ribby is now away: bbrb01:08
*** the_map <the_map!~the_map@user/the-map/x-5158391> has quit IRC (Ping timeout: 246 seconds)01:34
*** the_map <the_map!~the_map@user/the-map/x-5158391> has joined #bzflag01:36
*** Ribby is back02:09
*** Tobbi is now away: Auto away at Mon Feb 10 02:13:18 2025 UTC02:13
*** Agatha_ <Agatha_!~agatha@50.38.40.176> has joined #bzflag04:02
*** Agatha <Agatha!~agatha@user/agatha> has quit IRC (Read error: Connection reset by peer)04:03
*** FastLizard4 is back04:05
*** Agatha_ is now known as Agatha04:14
*** FastLizard4 is now away: AWAY from keyboard04:25
*** Tobbi is back04:46
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)08:18
*** Ribby is now away: Auto-away08:42
*** Ribby <Ribby!uid380536@id-380536.helmsley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity)10:38
*** FastLizard4 is back11:05
*** FastLizard4 is now away: AWAY from keyboard11:30
*** FastLizard4 is back11:39
*** FastLizard4 is now away: AWAY from keyboard11:52
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life)12:00
*** vikaa <vikaa!~vikaa@2a01:e0a:3e8:e270:a91a:6470:8ba:8417> has joined #bzflag12:13
vikaahello; I'm trying to debug a blocking network issue;12:19
vikaaI'm setting up lan party computers that will run in a local lan without internet (only a dhcp server)12:20
vikaa(on windows)12:21
vikaaAnd I discovered that when I launch a server with bzflag client with this setup, I then can connect to the started server with the same computer, as every other computer in lan, but we cannot "Press right mouse or I to start"12:22
vikaaWhen I unplug the network cable: it works. When I plug the PC in a internet-available lan, it works12:23
blast007vikaa: is bzfs.exe allowed through your firewall?  double check that both incoming TCP and UDP on whatever port you're using (5154 is the default) is allowed.13:24
blast007or are you saying that other PCs can connect to it fine, but only the same computer running the server has issues spawning?13:25
blast007also, what configuration options are you passing to bzfs?13:25
vikaaI'm launching the server through the windows client GUI so I do not which default cfg file it uses13:29
vikaayes other PC can connect fine but not "start" the game13:29
vikaaand bzfs is allowed yes13:37
vikaaIs there any way to have more debug ? I'm launching with -d option but not much more infos13:38
vikaahere is a demo video : https://youtu.be/7CxyS6bcsko13:39
*** Cobra_Fast_ is now away: offline13:40
*** Cobra_Fast_ is back13:41
*** Cobra_Fast_ is now away: offline13:42
*** Cobra_Fast_ is back13:42
*** Cobra_Fast_ is now away: offline13:42
*** Cobra_Fast_ is back13:42
*** Cobra_Fast_ is now away: offline13:43
*** Cobra_Fast_ is back13:43
blast007yeah, you won't get any debugging information for the server when you run it within the client13:46
blast007do you know what anti-virus and/or firewall you have installed?13:47
vikaano there is nothing at all on these computers13:51
vikaaevery MS safety and firewall stuff disabled13:52
vikaathey run on win713:52
vikaado you know which/where is the default server config file so I can run it separately ?13:55
blast007there isn't a default config file14:06
blast007do you know how to run bzfs.exe from a command prompt?14:06
vikaayes I will try with a sample conf file14:07
blast007you don't even need a config file14:11
blast007bzfs.exe -dddd14:11
blast007that will run with defaults (random world, single shot, no flags, no jumping) with debug level 414:11
blast007see if that works14:11
blast007Ctrl+C on that command prompt will stop the server14:12
vikaathanks14:14
vikaastill not working14:14
vikaauploading log14:14
vikaahttps://vik.tf/s/SQyKdr.jpg14:15
vikaajoined , pressed i multiple times to try to start, then exited the client14:16
vikaawhat does mean "joined with token NONE" ?14:16
blast007means the client didn't provide a global authentication login token, which is fine14:22
vikaaI tried without network (where I can start game) - there is not much difference in server log14:23
vikaais there a way to have debug of the client side ?14:23
blast007what IP are you connecting to in the client?  127.0.0.1 in both cases?14:24
vikaayes14:24
vikaano network cable plugged : https://vik.tf/s/29qeCS.jpg14:25
blast007it might be trying to get a reverse DNS for your system and that's taking a long time14:27
blast007if you want 30 to 60 seconds, can you spawn?14:29
vikaatrying14:29
blast007it's working fine where I'm at, but I have a fully featured DNS setup here.  Even at home, I have more of a proper DNS setup than most home networks.14:34
blast007maybe I should just skip reverse DNS lookups for non-public servers...14:35
vikaaafter some time the client gives "failed to connect within reasonable timeframe"14:58
vikaa(even if the server says player joined)14:58
blast007that can occur if DNS is very broken15:01
blast007does it work if you connect to the LAN IP instead of 127.0.0.1?15:01
vikaawill try15:01
vikaanope fails - server correctly shows that the player ip is 192.168.etc15:03
blast007do you know what router brand/model you have?15:03
vikaayou write about DNS lookup but as they are in a lan without internet there is no dns resolution15:03
blast007the server still tries a reverse DNS lookup (IP address to hostname) for each client that joins15:04
vikaatplink td-w8961nd factory resetted15:04
vikaaok15:05
blast007in your case, that is never finishing, so the server never actually fully adds the player, so it times out after 300 seconds and kicls the player with that "Failed to connect within reasonable timeframe" message15:05
vikaathat sounds probable15:05
blast007you could try overriding the DNS servers on the computer running bzfs15:05
vikaawith like 127.0.0.1 ?15:07
vikaabecause it was already the router address inhere15:08
vikaawill check if there is any config option in the router15:08
blast007I was thinking a working DNS server, either the same DNS servers that your router itself uses (your ISP's DNS server) or some other public DNS15:08
blast007the DNS server in the router might be the problem, so if you can skip using that and just go directly to your ISP-provided or public DNS servers, it might get a different response and actually work15:09
vikaathe router is not externally connected to anything15:09
blast007or I should say, the DNS server in the router might be triggering the problem - the problem is probably *in* bzfs, somewhere in our DNS handling15:10
blast007oh, you know, I forgot you said it didn't have internet15:10
blast007:)15:10
vikaaI don't know what I could do to validate the dns issue without plugging it online15:11
vikaawill try using Tftpd6415:12
blast007you could also just override all the local DNS servers to 127.0.0.1 like you mentioned15:14
blast007just note that if you want to put those PCs back on a normal network you'll need to change that back to automatic15:14
vikaaI tested this and same problem15:14
blast007I'd suggest going with a full static IP for the PC running bzfs, with DNS at 127.0.0.1.  And then reboot that computer.15:16
blast007set a static IP that's outside of the DHCP range and also doesn't conflict with the router IP15:16
vikaathis works15:40
vikaanow we know the issue, thanks; still not quite certain on how I will resolve this for the final setup15:46
blast007usually a static IP for a server is a good idea anyway so it's constent16:32
Juestoh welp16:42
blast007consistent*16:43
Juestweird, is it trying to resolve anyway? can it be disabled? have you tried without poking master server mayhaps?16:43
blast007no, can't be disabled16:43
Juestmaybe we should detect if the dns goes nowhere instead of getting stuck16:44
Juesta version for lan parties with dns/cares?16:47
Juestwithout*16:48
blast007could be a similar issue as this: https://github.com/BZFlag-Dev/bzflag/issues/31016:49
Juesthavent had issues when connecting to lan on a internet enabled system16:51
vikaa:q17:26
vikaawoops sorry :D17:26
blast007:)17:52
*** vikaa <vikaa!~vikaa@2a01:e0a:3e8:e270:a91a:6470:8ba:8417> has quit IRC (Quit: Client closed)18:28
*** vikaa <vikaa!~vikaa@2a01:e0a:3e8:e270:a91a:6470:8ba:8417> has joined #bzflag18:38
*** FastLizard4 is back18:54
*** vikaa <vikaa!~vikaa@2a01:e0a:3e8:e270:a91a:6470:8ba:8417> has quit IRC (Quit: Client closed)19:57
*** FastLizard4 is now away: AWAY from keyboard21:20
Juesthow its going blast007 ?22:06
TimRikercould use a -list option above to redirect trying the list server. Might also try putting the "server" ip and name in etc/hosts on each client node. Hmm. server might be timing out looking up client IPs, so might add all the clients to etc/hosts on the server.22:56
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag23:53

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!