Raised This Month: $51 Target: $400
 12% 

SourceBans - "Error Connecting"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 07-17-2012 , 00:01   SourceBans - "Error Connecting"
Reply With Quote #1

CSS server: 96.44.162.238:27015

my sourcebans page:
http://slayersgaming.com/sb/index.php

I ran a test:
----------------------------------------------------------------------
[+] SourceBans "Error Connecting()" Debug starting for server 96.44.162.238: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...
[-] Error getting server info. Can't read from UDP stream. Port is possibly blocked.

[+] Trying to establish TCP connection
[-] Error connecting #110: Connection timed out
------------------------------------------------------------------------------


from http://sourcebans.net/faq/which-port...equire-be-open

"If your web panel shows Error Connecting for your game server when it is actually online,
ask your web host to open UDP incoming from your game server port (usually 27015).

If either the RCON console, Admin Rehashing or Kick-It does not work on your web panel,
ask your web host to open TCP outgoing to your game server port (usually 27015).

Use this small testing script to get more detailed debugging information. Open the php file and add your gameserver's ip and port as described in the comments.

You should always check beforehand, if your gameserver banned your webserver's ip with listip in rcon. Remove it from the banned_ip.cfg and removeip IP via rcon."


I have followed the SB installation instructions very carefully. I don't think the problem is coming from me not installing SB correctly.



additional info:

sourcebans.cfg
Code:
/**
* sourcebans.cfg
*
* This file contains settings for the SourceBans Source Server Plugin
* @author SteamFriends Development Team
* @version 0.0.0.$Rev: 74 $
* @copyright SteamFriends (http://www.steamfriends.com)
* @package SourceBans
*/

"SourceBans"
{
	"Config"
	{
		// Website address to tell where the player to go for unban, etc
		"Website"			"http://www.SlayersGaming.com"

		// Allow or disallow admins access to addban command
		"Addban"			"1"

		// Allow or disallow admins access to unban command
		"Unban"				"1"
        
        	// The Tableprefix you set while installing the webpanel. (default: "sb")
		"DatabasePrefix"	"sb"

		// How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
		"RetryTime"			"45.0"
		
		// How often should we process the failed ban queue in minutes
		"ProcessQueueTime"	"5"

		// Should the plugin automaticaly add the server to sourcebans 
		// (servers without -ip being set on startup need this set to 0)
		"AutoAddServer"		"1"

		// Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
		"BackupConfigs"	"1"

		// Enable admin part of the plugin (1 = enabled, 0 = disabled)
		"EnableAdmins"	"1"
        
		// Require the admin to login once into website
		"RequireSiteLogin"	"0"

		// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
		"ServerID"		"1"
	}

	/*
	 * Generic menu options for if a reason isn't supplied in a ban
	 * Without a supplied reason the ban will never be written to the database
	 */
	"BanReasons"
	{
		"Hacking"	"Hacking"
		"Exploit"	"General Exploit of Game/Map/Server"
		"TK"		"Team Killing"
		"TF"		"Team Flashing"
		"CommSpam"	"Spamming Mic/Chat"
		"BadSpray"	"Inappropriate Spray"
		"BadLang"	"Inappropriate Language"
		"BadName"	"Inappropriate Name"
		"IgnoreAdmin"	"Ignoring Admins"
        	"Stacking"	"Team Stacking"
		"Own Reason"	"Own Reason"
	}
	
	/*
	 * Submenu options for when "Hacking" is selected
	 * If "Hacking" is removed from the menu above this will not be accessable
	 */
	"HackingReasons"
	{
		"Aimbot"	"Aimbot"
		"Antirecoil"	"Anti Recoil"
		"Wallhack"	"Wallhack"
		"Spinhack"	"Spinhack"
		"Speedhack"	"Speedhack"
		"Multi-Hack"	"Multi-Hack"
		"No Smoke"	"No Smoke"
		"No Flash"	"No Flash"
	}
}

databases.cfg
Code:
"Databases"
{
	"driver_default"		"mysql"
	
	// When specifying "host", you may use an IP address, a hostname, or a socket file path
	
	"default"
	{
		"driver"			"default"
		"host"				"localhost"
		"database"			"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}

	"serverredirect"
    	{
        "driver"            			"default"
        "host"                			"98.130.0.121"
        "database"            			"C368969_serverredirect"
        "user"                			"C368969_admin"
        "pass"                			"X00377921xxx"
        //"timeout"            			"0"
        //"port"            			"0"
    	}

	"sourcebans"
	{
		"driver"			"default"
		"host"				"98.130.0.121"
		"database"			"C368969_sb"
		"user"				"C368969_admin"
		"pass"				"X00377921xxx"
		//"timeout"			"0"
		"port"				"3306"
	}

}


MySQL database management

Host Name: mysql512.ixwebhosting.com (98.130.0.121)
Port number: 3306
Database name: C368969_sb
Quota: Used 0.12 MB out of 1999999 MB
Database users: C368969_admin


-------------------

reply from the CSS game server hosts support people:

"We are not blocking any traffic for the port 27015, udp or tcp. I did the little script test and it is working."

Last edited by PresidentEvil; 07-17-2012 at 21:46.
PresidentEvil is offline
Bellicus
AlliedModders Donor
Join Date: Mar 2011
Location: Chicago
Old 07-17-2012 , 19:06   Re: SourceBans - "Error Connecting"
Reply With Quote #2

Your webhost is indeed blocking the UDP Incoming and TCP Outgoing ports for Sourcebans. I can tell you from past experience, IXWebhosting will never open ports. Even if they say that they did. I once spent a whole month with their support trying to get SourceBans working with no avail.

I suggest going to Angry Gaming for Free Sourcebans Hosting for up to 2 servers. Or buy a VPS with Cpanel/Direct Admin and use CSF plugin if your new to the whole VPS scene.

Last edited by Bellicus; 07-17-2012 at 19:10.
Bellicus is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 07-17-2012 , 19:55   Re: SourceBans - "Error Connecting"
Reply With Quote #3

There is a test script for Sourcebans some where, i can just upload it here.
http://snbx.info/sb_debug_connection.zip
Mitchell is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 07-17-2012 , 21:43   Re: SourceBans - "Error Connecting"
Reply With Quote #4

Quote:
Originally Posted by Bellicus View Post
Your webhost is indeed blocking the UDP Incoming and TCP Outgoing ports for Sourcebans. I can tell you from past experience, IXWebhosting will never open ports. Even if they say that they did. I once spent a whole month with their support trying to get SourceBans working with no avail.

I suggest going to Angry Gaming for Free Sourcebans Hosting for up to 2 servers. Or buy a VPS with Cpanel/Direct Admin and use CSF plugin if your new to the whole VPS scene.
I am mistaken then, I complained to my CSS server hosts, I thought they were blocking the ports (which they said are not)

IXwebhosting is the website and sql database host, I haven't contacted them about this issue, but I will now


thank you
PresidentEvil is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 07-17-2012 , 23:10   Re: SourceBans - "Error Connecting"
Reply With Quote #5

oh i didnt read the part where you asked your provider if they blocked it.
Mitchell is offline
Luigi123
Member
Join Date: Nov 2015
Location: Winnipeg, Manitoba, Cana
Old 03-30-2016 , 09:46   Re: SourceBans - "Error Connecting"
Reply With Quote #6

I have a problem with my Sourcebans Version 1.4.10 - Error conecting to my Gameserver

Ok,
When I try to add my Gameserver on my Sourcebans, it said "Error connecting (192.168.0.11:27015)."

Proof:
http://www57.zippyshare.com/v/IMEpQRL4/file.html

What do I do?
Luigi123 is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 03-30-2016 , 18:41   Re: SourceBans - "Error Connecting"
Reply With Quote #7

Quote:
Originally Posted by Luigi123 View Post
What do I do?
You don't hijack another thread.
__________________
Neuro Toxin is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-31-2016 , 11:26   Re: SourceBans - "Error Connecting"
Reply With Quote #8

Quote:
Originally Posted by Neuro Toxin View Post
You don't hijack another thread.
Especially not a 4 year old thread
Mitchell is offline
M3Power
Member
Join Date: Apr 2017
Old 04-03-2017 , 22:27   Re: SourceBans - "Error Connecting"
Reply With Quote #9

Hello

Sorry for bumping this old thread. But my webhost needs to know which ports he needs to open so Sourcebans can fetch my game server (CS:S). I told him to open TCP/UDP but he said he needs to know certain ports (numbers) which needs to open.

Kind regards.
M3Power is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 04-04-2017 , 02:05   Re: SourceBans - "Error Connecting"
Reply With Quote #10

Quote:
Originally Posted by M3Power View Post
Hello

Sorry for bumping this old thread. But my webhost needs to know which ports he needs to open so Sourcebans can fetch my game server (CS:S). I told him to open TCP/UDP but he said he needs to know certain ports (numbers) which needs to open.

Kind regards.
Quick Googleing and see! There is something:

https://sbpp.github.io/faq/

And here:
https://github.com/GameConnect/Sourc...ire-to-be-open
__________________

Last edited by micazoid; 04-04-2017 at 02:06.
micazoid is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode