I just tried both h...@gmx.com and Asherkin's suggestion on a server that did not reconnect to the item server today for over an hour.
Both of them didn't work. I ran Tshark to monitor the traffic on port 26901, and there were no packets being sent or received. I believe it would be easy for Valve to implement a reconnect command or properly fix the automatic retry. It makes for a poor player experience to have items randomly go down and then having to reboot the server to reconnect. On Tue, Apr 10, 2012 at 3:19 PM, Valentin G. <nextra...@googlemail.com> wrote: > Just today I had an issue where a single server would not connect to the > account. I changed cvars around, disabled and re-enabled quickplay but > nothing helped. > Restarted the server and it instantly connected on startup. Don't know why > that was. I had the same problem some time ago and it did in fact reconnect > after > a couple of seconds. Weird. > > On Wed, Apr 11, 2012 at 12:16 AM, hlds <h...@gmx.com> wrote: > >> It should attempt to reconnect in few seconds. >> >> See the log file, maybe it helps. In Linux it is named >> connection_log_<port>.txt and should be located in /home/<user>/Steam/logs >> (<user> is the one used for running the server). The log file contains >> details about protocol (TCP/UDP), the IP of CM server, why disconnected >> etc... The most important line for you is "StartAutoReconnect() will start >> in XX seconds". >> >> -----Original Message----- >> From: hlds_linux-boun...@list.valvesoftware.com >> [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of >> bottige...@gmail.com >> Sent: Tuesday, April 10, 2012 10:07 PM >> To: Half-Life dedicated Linux server mailing list >> Subject: Re: [hlds_linux] Reconnect to steam command? >> >> It doesn't work. It just prints Connection to Steam servers lost. >> (Result = 3) and never attempts to reconnect. >> >> On Mon, Apr 9, 2012 at 10:09 AM, Asher Baker <asher...@gmail.com> wrote: >> > It's about 5% of the work to just inject a disconnected callback into >> > the queue :P >> > >> > ~~~~~ >> > "Their heads are green, and their hands are blue, >> > And they went to sea in a Sieve." - Edward Lear >> > >> > >> > >> > On Mon, Apr 9, 2012 at 5:52 AM, hlds <h...@gmx.com> wrote: >> >> There is no command for this. >> >> >> >> It can be done with a plugin, but is a lot of work and it must be fixed >> >> almost everytime Valve updates steamclient.so library (is stripped, so >> >> signatures must be used for everything). The idea is to call >> >> CCMinterface::ConnectionDisconnected method with k_EResultIOFailure >> error >> >> code, to force the server to reconnect to another CM in few seconds. >> This >> is >> >> tricky because the call must be made from a thread managed by >> steamclient.so >> >> library, not from server's main thread. For Windows probably is same >> thing. >> >> >> >> There's a manual solution too: find the port used by server for talking >> with >> >> CM server (usually is 26901, but only if is not already used) and use >> the >> >> firewall to block the communication. In few seconds you'll see that the >> >> server loses connection with Steam servers. Then remove the firewall >> rule >> >> and the server will reconnect back in few seconds, probably to a >> different >> >> CM server, maybe using a different protocol (TCP instead UDP). >> >> >> >> -----Original Message----- >> >> From: hlds_linux-boun...@list.valvesoftware.com >> >> [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of >> >> bottige...@gmail.com >> >> Sent: Monday, April 09, 2012 3:52 AM >> >> To: hlds_linux@list.valvesoftware.com >> >> Subject: [hlds_linux] Reconnect to steam command? >> >> >> >> Is there a command to reconnect to Steam? >> >> >> >> Sometimes a server will lose connection to the item server or >> >> quickplay, and it will not reconnect until the server is rebooted. >> >> Changing maps does not help. >> >> >> >> _______________________________________________ >> >> 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 >> > >> > _______________________________________________ >> > 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 >> >> >> _______________________________________________ >> 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 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux