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

failed: Can't connect.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cerium
Member
Join Date: Dec 2013
Old 01-23-2014 , 00:22   failed: Can't connect.
Reply With Quote #1

When I try to save a ban I get failed: Can't connect. to all servers. sm plugins list gave me no error and I have checked that the servers have correct server ID. What more can I do?
__________________
Cerium is offline
Cerium
Member
Join Date: Dec 2013
Old 01-23-2014 , 13:49   Re: failed: Can't connect.
Reply With Quote #2

UPDATE: New admins get added to the servers and I only get errors from the webpanel, no errors from the game servers. But I still get failed: Can't connect
__________________
Cerium is offline
Walliski
Senior Member
Join Date: May 2013
Old 01-25-2014 , 08:33   Re: failed: Can't connect.
Reply With Quote #3

What version of Sourcebans are you using?
Have you set the RCON password correctly?
Does RCON work from other applications, such as ingame?
Walliski is offline
Rawhead
Member
Join Date: Aug 2013
Old 02-01-2014 , 22:38   Re: failed: Can't connect.
Reply With Quote #4

Do not want to highjack this thread, but I do have the same problem. Been searching a lot around with Google for one, and that dosen't help me much. Here is the problem in detail:

********************************************* **************
** **
* SourceBans RCON console *
* Type your comand in the box below and hit enter *
* Type 'clr' to clear the console *
** **
********************************************* **************
> Error: Can't connect to server!

SourceBans v. 1.4.10

SourceBans works great with TF2 and the plugin works with both my servers. But the RCON web console can't for some reason connect to these servers/plugins. RCON password is set and can't be many ways to do it, TCP and UDP ports are open and are running in CSF. SourceBans web works great with MySQL, but manual kick and rehash is starting to annoy me.

Here is the strange part. I use HLSW to monitor all my servers, and RCON works perfectly from there. So the servers accept incoming connection from a client, just not from Sourcebans web.

This did work before I did a complete reinstall of my rented Dedicated server.
Been modifying files and configs without any help there. And before anyone ask yes, all the modified lines are out of them.

Any other things to try out?
Is there any cap on password lenght?

Offtopic: Also getting a strange 403 forbidden popup I can not resolve (happens now and then). All files and folder per install is chmod to 777.

Last edited by Rawhead; 02-01-2014 at 22:46. Reason: Adding another problem
Rawhead is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-02-2014 , 07:13   Re: failed: Can't connect.
Reply With Quote #5

You need to open TCP and UDP port 27015 (or whatever port your server is on) for Inbound and Outbound traffic on your Web Host
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Rawhead
Member
Join Date: Aug 2013
Old 02-02-2014 , 10:13   Re: failed: Can't connect.
Reply With Quote #6

Sadly that dosen't help me much. As for the Google part. As stated only SourceBans console via RCON dosen't work. And HLSW does, so the ports are open. Since HLSW can communicate with the servers and the web part can't.

This is a Dedicated server I myself have 100% access to, and there is no limits.

Last edited by Rawhead; 02-02-2014 at 10:14. Reason: Edit
Rawhead is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-02-2014 , 10:25   Re: failed: Can't connect.
Reply With Quote #7

The ports must be opened on the machine hosting SourceBans
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Rawhead
Member
Join Date: Aug 2013
Old 02-03-2014 , 01:41   Re: failed: Can't connect.
Reply With Quote #8

Seems it is hard to believe this, but I do host on 27015 and 27021. Both UDP in and out also TCP in and out is open. Also tried a wide range from 27000:27039 without anything helping it.

Gameservers and web is on the same host.

Tried to explain this over two posts.
RCON via HLSW need the same ports open to work and it does.
SouceBans web RCON console, dosen't seem to smell these ports at all, to throw me this error.
Well I guess I just have to live with this problem, but thanks for the help.

Last edited by Rawhead; 02-03-2014 at 01:49. Reason: Spellcheck
Rawhead is offline
Walliski
Senior Member
Join Date: May 2013
Old 02-04-2014 , 12:03   Re: failed: Can't connect.
Reply With Quote #9

What IP are you using for sourcebans? Do you use the servers full IP, or 127.0.0.1 // locahost? At least HLStatsX:CE has problems with using localhost and/or 127.0.0.1... So try using the IP instead. I am using the servers domain name, and that works well for me.
Walliski is offline
Rawhead
Member
Join Date: Aug 2013
Old 02-04-2014 , 22:19   Re: failed: Can't connect.
Reply With Quote #10

Quote:
Originally Posted by Walliski View Post
What IP are you using for sourcebans? Do you use the servers full IP, or 127.0.0.1 // locahost? At least HLStatsX:CE has problems with using localhost and/or 127.0.0.1... So try using the IP instead. I am using the servers domain name, and that works well for me.
Thanks for a reply,
As IP goes it is set to external (or full IP if you want) for SB-> server connection. HLStats works both ways for me thought plugin to web and web to db. Also set to external IP. Only localhost and or 127.0.0.1 is between these software and mySQL/db.

Edit:
Did discover that CSF did not save my port rules as it should, so made an iptables save.
But then again it list this, and still not connecting. Under server in SB web it finds it, but will not RCON.

-A INPUT ! -i lo -p tcp -m state --state NEW -m tcp --dport 27021 -j ACCEPT
-A INPUT ! -i lo -p udp -m state --state NEW -m udp --dport 27021 -j ACCEPT
-A OUTPUT ! -o lo -p tcp -m state --state NEW -m tcp --dport 27021 -j ACCEPT
-A OUTPUT ! -o lo -p udp -m state --state NEW -m udp --dport 27021 -j ACCEPT

Same goes for port 27015. But will as I say not connect for a reason.

I'm out of ideas, also tried localhost and 127.0.0.1 just for testing and then web server panel SB will not find them.

Last edited by Rawhead; 02-05-2014 at 09:37. Reason: Edit
Rawhead 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 19:22.


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