Server are not showing.
1 Attachment(s)
My server all are public and i don't know why they are not showing on my sourcebans website i have connected them all to mysql. Do you know what is this problem?
|
Re: Server are not showing.
me too
Recently suddenly, server list are not showing. Windows Server only has this problem. sombody help me~ " [+] Got an response! Server: " Server name(hostname) is not showing. [+] SourceBans "Error Connecting()" Debug starting for server 112.154.xxx.xxx:27015 [+] Trying to establish UDP connection [+] UDP connection successfull! [+] Trying to write to the socket [+] Successfully requested server info. (That doesn't mean anything on an UDP stream.) Reading... [+] Got an response! Server: [+] Trying to establish TCP connection [+] TCP connection successfull! [+] Trying to write to TCP socket and authenticate via rcon [+] Successfully sent authentication request. Reading... [+] Got an response! [+] Password correct! |
Re: Server are not showing.
Could it be that the web server is blocking connections to those servers, thus, it cannot ping them? I know you can add a server to Sourcebans without necessarily having it hooked up with MySQL since it's just showing you if it can query the server.
|
Re: Server are not showing.
I'm having the same issue: https://i.imgur.com/v91SXlV.jpg .
Checked everything on the debugging connection guide, also verified: 1) !admin works 2) I can use sourcebans's RCON for executing commands Not sure what to do at this point. |
Re: Server are not showing.
Quote:
and then show us a result |
Re: Server are not showing.
Traced the issue and it seems like this is what's causing my problem (update from post #4)
https://github.com/sbpp/sourcebans-p...Query.php#L260 PHP Code:
Code:
error connecting xPaw\SourceQuery\Exception\InvalidPacketException: GetInfo: Packet header mismatch. (0x41) in /usr/www/survival/public/sourcebans/includes/SourceQuery/SourceQuery.php:260 Stack trace: #0 /usr/www/survival/public/sourcebans/includes/sb-callback.php(1246): xPaw\SourceQuery\SourceQuery->GetInfo() #1 /usr/www/survival/public/sourcebans/includes/xajax.inc.php(1095): ServerHostPlayers('4', 'servers', '', '0', '0', '', '70') #2 /usr/www/survival/public/sourcebans/includes/xajax.inc.php(744): xajax->_callFunction('ServerHostPlaye...', Array) #3 /usr/www/survival/public/sourcebans/index.php(33): xajax->processRequests() #4 {main} (45.63.67.212:27015) Edit: Looks like it's expecting 0x49 instead of 0x41: PHP Code:
after some research on SourceQuery's 0x41 response: Quote:
Noticed that the last commit to "sourcebans-pp/web/includes/SourceQuery/SourceQuery.php" was in 2018, and the valve forum post was 2020. So is this an error within sourcebans or something within my server configuration? Other people aren't having the same issue so probably the latter. Also is there a way to just skip over to byte 0x49? edit #3 adding this "if" statement into "sourcebans/includes/SourceQuery/SourceQuery.php" fixed the issue. credit . I didn't edit in other stuff from that example (this) but it's a temporary fix anyway until sourcebans officially updates SourceQuery include. PHP Code:
|
All times are GMT -4. The time now is 17:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.