Can't connect to local server

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
mr64bit
Private First Class
Private First Class
Posts: 89
Joined: Fri May 06, 2011 4:58 pm
Location: Hang on, let me get a map...
Contact:

Can't connect to local server

Post by mr64bit » Thu Apr 19, 2012 2:53 pm

I am running a local server on a 32-bit Ubuntu machine, and am having problems connecting to it from my 64-bit laptop. I can connect to the server from a 32-bit XP pro machine also on my local network. I have not tried connecting to it remotely. I have tried using both the 32-bit and 64-bit versions of BZFLag on my laptop, no success. What happens when I join is the map loads, I can see flags and buildings, and it says global login is successful, but then it just sits there "press i or right mouse to start". I have had problems in the past joining local servers from my laptop also. Even those running on the laptop, I would hit connect, and immediately is would "say server not found". Here is the output from the server. (3rd debug level)

Code: Select all

ColDet Octree obstacles = 78
  grid extent[0] = -400.000000, 365.147736
  grid extent[1] = -400.000000, 365.147736
  grid extent[2] = 0.000000, 765.147705
  world extent[0] = -400.000000, 365.147736
  world extent[1] = -400.000000, 365.147736
  world extent[2] = 0.000000, 22.765610
ColDet Octree leaf nodes  = 97
ColDet Octree total nodes = 130
ColDet Octree total elements = 231
Collision Octree processed in 0.006 seconds.
Map size: uncompressed = 3022, compressed = 877
Compression: 0.001 seconds
MD5 generation: 0.000 seconds
MD5 = 63539fdc47c58d7629f7c775b69ed481
type: 1
  capture the flag
options: 1FA
  super flags allowed
  jumping allowed
  all shots ricochet
  shakable bad flags: timeout=0.000000, wins=1
  antidote flags
There is a voting arbiter with the following settings:
        vote time is 60 seconds
        veto time is 30 seconds
        votes required are 2
        vote percentage necessary is 50.099998
        vote repeat time is 120 seconds
        available voters is initially set to 60
Running a public server with the following settings:
        public address is mr64bitopolis.wow64.net
LIBCURL version:  libcurl/7.20.1 c-ares/1.7.1
CURLOPT_URL is : http://bzflag.org/master-bans.txt
Loaded master ban list from http://bzflag.org/master-bans.txt
        listening on 0.0.0.0:5154
        with title of "mr64bit's test server"
CURLOPT_URL is : http://my.BZFlag.org/db/
Queuing ADD message to list server
Peer 109.169.80.184 connection timeout with data ""
Player [0] accept() from 192.168.1.1:50435 on 5
Player [0] submitted reverse resolve query
Player slot 0 inbound UDP up 192.168.1.1:50435 actual 50435
Player 0 outbound UDP up
Player [0] failed to resolve: error 4
Player mr64bit [0] sent version string: 2.4.0.20110703-STABLE-W32VC8
checking callsign: mr64bit
checking motto:
Player mr64bit [0] has joined from 192.168.1.1 at 2012-04-19 10:38:17 with token "148058415"
Queuing ADD message to list server
Got: TOKGOOD: mr64bit[0]
Global Temp Register MR64BIT
Identify MR64BIT
Set player (mr64bit [0]) bzId to (52199)
Player mr64bit [0] drop, unresponsive with 16590 bytes queued
Player mr64bit [0] drop, unresponsive with 16590 bytes queued
Player mr64bit [0] drop, unresponsive with 16590 bytes queued
Player mr64bit [0] drop, unresponsive with 16590 bytes queued
Player mr64bit [0] drop, unresponsive with 16590 bytes queued
Player mr64bit [0] drop, unresponsive with 16590 bytes queued
Player mr64bit [0] drop, unresponsive with 16590 bytes queued
Player mr64bit [0] drop, unresponsive with 17125 bytes queued
Player mr64bit [0] drop, unresponsive with 17125 bytes queued
Player mr64bit [0] drop, unresponsive with 17125 bytes queued
Player mr64bit [0] drop, unresponsive with 17125 bytes queued
Player mr64bit [0] drop, unresponsive with 17125 bytes queued
Player mr64bit [0] drop, unresponsive with 17125 bytes queued
Player mr64bit [0] drop, unresponsive with 17125 bytes queued
Player mr64bit [0] drop, unresponsive with 17125 bytes queued
Queuing ADD message to list server
Player mr64bit [0] removed at 2012-04-19 10:38:18: send queue too big
There is a message already queued to the list server: not sending this one yet.
There is a message already queued to the list server: not sending this one yet.
Queuing REMOVE message to list server
CURLOPT_URL is : http://my.BZFlag.org/db/
Queuing ADD message to list server
ColDet Octree obstacles = 78
  grid extent[0] = -400.000000, 365.147736
  grid extent[1] = -400.000000, 365.147736
  grid extent[2] = 0.000000, 765.147705
  world extent[0] = -400.000000, 365.147736
  world extent[1] = -400.000000, 365.147736
  world extent[2] = 0.000000, 22.288355
ColDet Octree leaf nodes  = 108
ColDet Octree total nodes = 144
ColDet Octree total elements = 241
Collision Octree processed in 0.005 seconds.
Map size: uncompressed = 3022, compressed = 870
Compression: 0.001 seconds
MD5 generation: 0.000 seconds
MD5 = 6851c855c5642fd448684e47072861c7
Another problem I have had recently (maybe it is related) is that when I click "Find Server", it will freeze for about 4 seconds, even if it loads the list of server from cache. I uploaded my config file for both the server and client. Hopefully this will be an easy fix. Thanks!
BTW bzadmin doesn't work either, I get a similar error from the server.
Attachments

[The extension conf has been deactivated and can no longer be displayed.]

[The extension conf has been deactivated and can no longer be displayed.]

---mr64bit

User avatar
ChaoticFangUp
Private First Class
Private First Class
Posts: 41
Joined: Mon Apr 02, 2012 1:24 pm
Location: Battlefield - Killing out of Control!

Re: Can't connect to local server

Post by ChaoticFangUp » Thu Apr 19, 2012 6:40 pm

This question is totaly off-topic but... why are you using Ubuntu?
I know that many players use Ubuntu that come from Windows, but Fedora 16 is better, aproved!
with .conf, what kind of config do you mean here?
Marshall... yes, I am!
Linux - Fedora 16 Power!

mr64bit
Private First Class
Private First Class
Posts: 89
Joined: Fri May 06, 2011 4:58 pm
Location: Hang on, let me get a map...
Contact:

Re: Can't connect to local server

Post by mr64bit » Thu Apr 19, 2012 6:54 pm

I am using Ubuntu Server 11.10. I have used Ubuntu desktop before, so I am familiar with the terminal commands.
I did some more testing today, and now I'm thinking that the problem is my router. It's a cheap Linksys wrt54gl, and very limited settings. I can block NAT, but no settings for it... I know the .conf from my client is supposed to be .cfg, but the forums wouldn't let me upload it. The server one is what I'm using for the server.
---mr64bit

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Re: Can't connect to local server

Post by JeffM » Thu Apr 19, 2012 8:40 pm

Your choice of Linux has nothing to do with how the server functions. Ubuntu and fedora are running basically the same stuff and there is nothing more or less "approved" about ether of them, so I don't know what Mr. Fang is talking about.

The router may not be processing UDP correctly or blocking something. Can you connect to the server if you run a client on the same machine as the server?

The extension of the config file does not mean anything, and I doubt there is anything in it that would prevent a spawn.

mr64bit
Private First Class
Private First Class
Posts: 89
Joined: Fri May 06, 2011 4:58 pm
Location: Hang on, let me get a map...
Contact:

Re: Can't connect to local server

Post by mr64bit » Thu Apr 19, 2012 8:53 pm

I am now thinking the problem is my router. I can no longer fully connect to the server from any computer, client or bzadmin. I can't run the client on my server machine, but I can run bzadmin on it, and that connects just fine. I can connect to any external server from my laptop. This router has fewer settings than my old one. I can forward single ports, ranges of ports, or trigger ports. I have tried all three to no avail. From what I understand, port triggering is to redirect data from one port to another, but only for internal computers. With port range, I am sending the bzflag ports to my server machine. I can do nothing about NAT though. There is an option in the router's firewall to block NAT redirection, but I have the firewall disabled. I have hosted local server before, and had a similar problem before, but I can't remember what I did to fix it. The server is "up" at mr64bitopolis.wow64.net if you want to try.
Last edited by mr64bit on Fri Apr 20, 2012 4:20 am, edited 1 time in total.
---mr64bit

User avatar
blast
General
General
Posts: 4746
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Can't connect to local server

Post by blast » Thu Apr 19, 2012 9:44 pm

Are you connecting to the server using the internal IP (such as 192.16.0.x) or the external (public) IP address/host? If you are on the same network as the server, I'd recommend connecting to the internal IP instead of the public address.

Also, if you are not familiar with networking, I would recommend you don't try running a server. That's just asking for trouble.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

mr64bit
Private First Class
Private First Class
Posts: 89
Joined: Fri May 06, 2011 4:58 pm
Location: Hang on, let me get a map...
Contact:

Re: Can't connect to local server

Post by mr64bit » Fri Apr 20, 2012 3:49 am

I am familiar with networking. I have hosted a fully functional website before, running on a local server (and it worked from outside my network too), but my old router died, and now what I did in the past is not working with the new one I now have. I am considering flashing the router firmware to DD-WRT.
I have tried both the local IP, external IP, and domain name, nothing works. I am guessing that the problem is in how the router handles the network data.
---mr64bit

User avatar
Grans Remedy
Private First Class
Private First Class
Posts: 91
Joined: Sun Dec 05, 2004 10:47 pm
Location: New Zealand

Re: Can't connect to local server

Post by Grans Remedy » Fri Apr 20, 2012 6:05 am

When I connect to the server I don't get the usual server messages, such as version info. The last message is Global Login Approved, but I cant spawn.
A few comments on your server config file:
You're showing your local admin password in that config file - better change it now, and hide it before posting your config file to a public forum next time :)
The server message command cant wrap lines, so I'm not sure the \n will do anything, but I suggest you remove it. Use multiple -svrmsg statements for a multi-line message.
You've set -a but without specifying any values, so I suggest commenting that out.
You've also specified -c rather than -cr. If I recall correctly, -cr is required for capture-the-flag with a random map. So I suggest changing that too.
You're using -filterchat & -filtercallsigns but have not specified a "badwords" file
Make those changes and restart the server.
No coffee, no workee

User avatar
blast
General
General
Posts: 4746
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Can't connect to local server

Post by blast » Fri Apr 20, 2012 11:03 am

mr64bit wrote:I am considering flashing the router firmware to DD-WRT.
I'm fond of the Tomato firmware as well.
mr64bit wrote:I have tried both the local IP, external IP, and domain name, nothing works. I am guessing that the problem is in how the router handles the network data.
If you used the local IP, then "routing" (layer 3) wasn't even involved. Everything would happen over layer 2, and I'm highly doubting that Linksys would screw that up. I have been a long time user of the WRT54G/GL Linux-based routers. I have a v2 and v4 of the WRT54G as well as a WRT54GL. Even using stock firmware, I haven't encountered the issue you're having.

Is wifi involved?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Post Reply