Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Connecting [Fixed] #508

Closed
Karmatik opened this issue Sep 4, 2018 · 16 comments

Comments

Projects
None yet
3 participants
@Karmatik
Copy link

commented Sep 4, 2018

What happens?

Hi, I'm having something I think it's an error, because I have opened (In my apache and wifi ports config) opened the ports 27017, and SourceBans keep saying "Error Connecting"

Any logs, error output, etc.?

In http://mywebsyte/sb_debug_connection.php:

[+] SourceBans "Error Connecting()" Debug starting for server 192.168.1.53:27017

[+] 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: JLovers.tf | Jail Lovers | Jailbreak Sv| Jailbreak 2.0 

[+] Trying to establish TCP connection
[+] TCP connection successfull!
[+] Trying to write to TCP socket and authenticate via rcon
[+] Successfully sent authentication request. Reading...
[-] Error reading.

Any other comments?

I tried everything, Im not sure if rcon is need, and if its needed I don't know how to set up, because every tries i tried to set up rcon, it ended with error "Socket bind failed (WSAEACCES)"

What versions of software are you using?

**Operating System:Windows 10 - TF2
**SourceBans++ Version:1.6.3
**PHP Version:7.2.9
**MySQL Version:5.0 12-dev

PD: Sorry for my bad English, I'm Spanish

@CrazyHackGUT

This comment has been minimized.

Copy link
Contributor

commented Sep 4, 2018

Rcon required only for KickIt and admin rehashing

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 4, 2018

@CrazyHackGUT ok, so rcon is not need, but that doesn't explain what error or bug im having

@CrazyHackGUT

This comment has been minimized.

Copy link
Contributor

commented Sep 4, 2018

TCP port just is busy by another soft.
Try use another port.

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 4, 2018

@CrazyHackGUT Already did it, keep saying "Error connecting"

@CrazyHackGUT

This comment has been minimized.

Copy link
Contributor

commented Sep 4, 2018

Try start server from administrator.

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 4, 2018

@CrazyHackGUT Nope, it doesn't works, keep saying "Error connecting"

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 4, 2018

@CrazyHackGUT Its very strange because right now, I have opened port 27021, in my Apache config i have "Listen 27021" and my tf server is using port 27021, i followed the instructions has the tutorial said "Web port: TCP Game port", And yes, I started my sv as administrator as well

[+] SourceBans "Error Connecting()" Debug starting for server ***.***.*.**:27021

[+] 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!
[o] Stopping here since no rcon password specified.
@geominorai

This comment has been minimized.

Copy link
Contributor

commented Sep 4, 2018

In your original post, it looked like your game server IP was on a LAN address. Perhaps this is like another case of #503?

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 4, 2018

@geominorai No look, I have the ports opened

IMGUR CAPTURE

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 4, 2018

In the image the ip is 192.168.1.52 but I already changed it to the correct and keep the same

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 4, 2018

@geominorai Now with the public IP and the port forwarding confirmed

[+] SourceBans "Error Connecting()" Debug starting for server 84.121.66.230:27021

[+] 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: JLovers.tf | Jail Lovers | Jailbreak Sv| Jailbreak 

[+] Trying to establish TCP connection
[+] TCP connection successfull!
[o] Stopping here since no rcon password specified.
@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 4, 2018

I don't know if that's usual but, when I install sourcebans on my http that error is showed

There were some warnings while inspecting your setup. The installation can carry on, but some features may not work properly. 
Please refer to the documentation to find possible fixes for these problems.
@CrazyHackGUT

This comment has been minimized.

Copy link
Contributor

commented Sep 6, 2018

You don't should hang two services on 1 port. This is reason, why server can't bind TCP port. Apache already listens this port, and OS refuses request to port.

Leave default value (80) in Apache.

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 6, 2018

@CrazyHackGUT Wow, that works, thanks

@Karmatik Karmatik changed the title Error Connecting Error Connecting [Fixed] Sep 6, 2018

@CrazyHackGUT

This comment has been minimized.

Copy link
Contributor

commented Sep 7, 2018

Just close the issue.
default

@Karmatik

This comment has been minimized.

Copy link
Author

commented Sep 7, 2018

Thx everyone for his help

@Karmatik Karmatik closed this Sep 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.