Works as-expected for me. My host has eight srcds servers running on multiple IPs.

However, one of the TF2 servers which I help host was being listed on the primary host's IP, instead of the secondary IP which it is configured to be using. It's that well-known steamclient reconnect bug. Once I restated the server, it instantly went back to the right IP and this was reflected in the webapi service.

I have eight srcds servers running on this host; TF2, CSS, HL2MP, L4D, and L4D2. Only this one TF2 server has ever done this (based on logs over the last 18 months), and it is noteworthy that it is the only one which uses standard ports. All the other servers use non-standard ports piled onto a single IP. Maybe coincidental, maybe not.



Hosts primary IP, should be nothing here ever:
http://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=66.113.99.98&format=xml

Assigned IP of the occasionally-errant TF2 server:
http://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=66.113.99.99&format=xml

Everything else on this host:
http://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=66.113.99.100&format=xml



Here is a little bit of info on the process before I restarted it. lsof shows the .98 IP being used, when it should not be.

tmux session:
server-tf2-ALPHA: 1 windows (created Fri Aug  3 18:05:23 2012) [153x67]

Process command arguments:
./srcds_linux -game tf -ip 66.113.99.99 +clientport 27005 +hostport 27015 +tv_port 27025 -steamport 26005 +replay_port 27040 -strictportbind -pidfile /xxx/server.pid -maxplayers 26 +map pl_badwater

Process started at:  Fri Aug  3 18:05:23 2012
Process started elapsed-time ago:  5-19:25:25
Process CPU in-use time:  1-17:58:10

lsof says the following network sockets are in use by PID 12453:
COMMAND     PID USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME
srcds_lin 12453 hlds    7u  IPv4 519822253      0t0  UDP 66.113.99.99:27015
srcds_lin 12453 hlds    8u  IPv4 519822254      0t0  UDP 66.113.99.99:27005
srcds_lin 12453 hlds    9u  IPv4 519822255      0t0  UDP 66.113.99.99:27025
srcds_lin 12453 hlds 10u IPv4 519822256 0t0 TCP 66.113.99.99:27015 (LISTEN) srcds_lin 12453 hlds 20u IPv4 776732447 0t0 TCP 66.113.99.98:34339->81.171.115.37:27017 (ESTABLISHED) <-- bad ephemeral connection srcds_lin 12453 hlds 22u IPv4 800648048 0t0 TCP 66.113.99.99:27015->81.169.139.249:57477 (ESTABLISHED)
srcds_lin 12453 hlds   30u  IPv4 519838391      0t0  UDP 66.113.99.99:26006



Kyle Sanderson wrote:
Is everyone's server being listed via the API? It looks like only one
server per machine that I have is actually listed...

Thanks,
Kyle.

On Thu, Aug 9, 2012 at 3:09 PM, AnAkIn <anakin...@gmail.com> wrote:
My servers don't show up in either server browser or in that list at all,
does that mean they're banned? I thought they would show up in that list
with "reject" if they are.

2012/8/9 Ulrich Block <ulbl...@gmx.de>

Am 09.08.2012 22:58, schrieb Jeff Sugar:

  I was just about to ask that, too. I really expected inputting a domain to
work

On Thu, Aug 9, 2012 at 1:14 PM, Kyle Sanderson <kyle.l...@gmail.com>
wrote:

  Any chance at DNS resolving support?<http://api.**
steampowered.com/ISteamApps/**GetServersAtAddress/v0001?**
addr=4.2.2.1&format=json<http://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=4.2.2.1&format=json>


Thanks,
Kyle.

On Thu, Aug 9, 2012 at 1:03 PM, Jesse Molina <je...@opendreams.net>
wrote:

Yea, the first thing I am going to do is write a Nagios/Icinga test

script

for this and start polling.  I am sure Valve expects this, or at least

they

should.

It should be noted that you can add the port on the end of the IP in the

URI

and it resolves just fine.  This is important for people who stack

servers

on a single IP.




ics wrote:

Why would you need to do that? If no issues occur, servers will stay
connected. This is just tool to help out "just incase" so you can
eliminate the issue on Valve's end.

Btw, good tools are always welcome! This propably helps some but i
think
it will bury on that message alone. Perhaps create a support article on
it?

-ics

9.8.2012 21:21, Herover kirjoitti:

Would it be abusive to automaticaly check status on a/multiple server
once a hour/once a day?


  Please note: This WebAPI is intended for troubleshooting purposes
only.
Automated use of this WebAPI to scrape the server list or make
excessively frequent checks (more frequent than once every 10
minutes or so) is considered abusive.

- Fletch

______________________________**_________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**
hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>



______________________________**_________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>


--
# Jesse Molina
# Mail = je...@opendreams.net
# Cell = 1-602-323-7608




______________________________**_________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>

______________________________**_________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>

  ______________________________**_________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>


Just some example code written in PHP to check if the server is secured
and listed:
http://www.ulrich-block.de/**ist-mein-server-steam-secured/<http://www.ulrich-block.de/ist-mein-server-steam-secured/>


______________________________**_________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>




--
Best regards,
AnAkIn
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


--
# Jesse Molina
# Mail = je...@opendreams.net
# Cell = 1-602-323-7608



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to