Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Author Topic: server not visible in browser  (Read 9208 times)

0 Members and 1 Guest are viewing this topic.

Offline pit-23

  • Loyal Member
  • ****
  • Posts: 760
    • View Profile
server not visible in browser
« on: Tuesday, February 07, 2012, 03:47:53 AM »
I used assist gui to install and start server. GUI says everything is fine, it's visible in battletracker (http://battletracker.com/aaoserver/85.14.85.18:1716). However it is not present in assist browser, or sometimes it is, but reported as "offline".

All ports are open, aa 2.8 worked fine in this setup.

Any hints?

Jonnym

  • Guest
Re: server not visible in browser
« Reply #1 on: Tuesday, February 07, 2012, 04:43:56 AM »
Shows up in browser ok but cannot join it, I would goto settings and then hit complete re-install. something wrong and i dont know what.

Offline pit-23

  • Loyal Member
  • ****
  • Posts: 760
    • View Profile
Re: server not visible in browser
« Reply #2 on: Tuesday, February 07, 2012, 06:02:07 AM »
OK, did that, waiting for completion.

What is the exact meaning of "Server offline"? No response to server query?

BTW, is the query protocol in aa2.5 same as aa2.8? I don't remember official name of this (gamespy?) but it was initiated by sending something like '\xFE\xFD\x00ping\x00\xFF\x00' to port 1717.

Offline pit-23

  • Loyal Member
  • ****
  • Posts: 760
    • View Profile
Re: server not visible in browser
« Reply #3 on: Tuesday, February 07, 2012, 07:14:41 AM »
Complete reinstall finished, didn't help.

Attached is server log, maybe you can spot something there.

Jonnym

  • Guest
Re: server not visible in browser
« Reply #4 on: Tuesday, February 07, 2012, 07:23:03 AM »
Looked at log file, all is OK. I don't know why its not working.
Make sure there is nothing else running on the server using the same ports.
Try using different ports like 1816,1817

There are many threads on this forum about this issue to help you.
« Last Edit: Tuesday, February 07, 2012, 07:26:10 AM by Jonnym »

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: server not visible in browser
« Reply #5 on: Tuesday, February 07, 2012, 13:08:22 PM »
First thing that comes to mind; are you trying to run a 2.8 server at the same time?
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline pit-23

  • Loyal Member
  • ****
  • Posts: 760
    • View Profile
Re: server not visible in browser
« Reply #6 on: Tuesday, February 07, 2012, 15:28:49 PM »
No, 2.8 has been disabled.

One additional fact about browser: I noticed, that when server is visible in browser, but seen as offline, the IP displayed is completely wrong (different country), and it changes from time to time. The rest of info is correct (country flag, map, slots count, round len, etc.) It seems like some incorrect IPs are assigned to the server, and that explains why the server is seen as offline (no query response from those IPs).

This effect is machine specific, e.g. on the server machine, the browser displays the correct IP (and the server is seen as online).

Is it possible to take a look at browser sources? It looks like some browser bug, I can try to find it without taking your time.
« Last Edit: Tuesday, February 07, 2012, 16:01:32 PM by pit-23 »

Offline pit-23

  • Loyal Member
  • ****
  • Posts: 760
    • View Profile
Re: server not visible in browser
« Reply #7 on: Tuesday, February 07, 2012, 17:31:09 PM »
Another fact i noticed: the incorrect ip that is displayed for my server (Chickens Farm) is the ip of the server that i deployed to recently.

Jonnym

  • Guest
Re: server not visible in browser
« Reply #8 on: Wednesday, February 08, 2012, 02:44:09 AM »
I will take a look at the code..
either the ip address recorded in the gamespy server list is wrong, or your server reply on a different address/port, assist does not recognise so just places it on the top of the list.

Jonnym

  • Guest
Re: server not visible in browser
« Reply #9 on: Wednesday, February 08, 2012, 12:28:55 PM »
Ok, When i query this server it replies on a different IP address to the one recorded in the gamespy server list. There is nothing i can do about this.
Server is listed on IP address: 85.14.85.18
When i query it i get a reply from: 89.25.239.18
Only you will know why that is, possibly you have bonded multiple internet connections?

Offline pit-23

  • Loyal Member
  • ****
  • Posts: 760
    • View Profile
Re: server not visible in browser
« Reply #10 on: Wednesday, February 08, 2012, 15:58:24 PM »
OK, thanks, I'll check that.

Offline pit-23

  • Loyal Member
  • ****
  • Posts: 760
    • View Profile
Re: server not visible in browser
« Reply #11 on: Wednesday, February 08, 2012, 16:22:11 PM »
But wait, why does browser care from which IP the query response arrives?

You want to query a server at given IP/port, you create socket, send query to destination, and receive response that arrives at that socket. It's normal that the response can arrive from different IP (due to multiple network interfaces). Is there any special reason to check the IP of the response?

Jonnym

  • Guest
Re: server not visible in browser
« Reply #12 on: Wednesday, February 08, 2012, 16:43:30 PM »
Ok so when I query 70 servers all at once to get the ping times and player lists etc, how am I supposed to know which server the responces came from and put into the correct slots if i can't rely on source IP. Putting a different IP addess on the packet other than the source address is called spoofing.
There are no sockets when using UDP communication, Sockets are for TCP protocol, UDP is a connection-less protocol.

Things are done differenly for the port, becuase of NAT-translation the source port on a packet can be completely random which is why the server port is defined in the gamespy query in field 8. The ip address is not, that should be reliable.

Offline pit-23

  • Loyal Member
  • ****
  • Posts: 760
    • View Profile
Re: server not visible in browser
« Reply #13 on: Wednesday, February 08, 2012, 18:58:41 PM »
Reply source IP could be ignored if each query was done on separate socket. It's possible, but surely using single socket and checking source address is simpler.

Sockets are used for both UDP and TCP.

OK, so now the question is: in multihomed server case, is it possible to force that the IP seen by the master server when building list is the same as the IP on which game server listens for answering queries? In AA 2.8.5 there was command line option 'multihome=<ip>' and everything worked fine, I don't see such thing in 2.5.

Jonnym

  • Guest
Re: server not visible in browser
« Reply #14 on: Thursday, February 09, 2012, 03:58:18 AM »
No there is not such option.

 

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager