AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   keep getting error connecting on sourcebans (https://forums.alliedmods.net/showthread.php?t=319695)

reid123455 11-15-2019 11:57

keep getting error connecting on sourcebans
 
sb_debug_connection.php debug result:
Quote:

[+] SourceBans "Error Connecting()" Debug starting for server MyPublicWANIP: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: My CS:GO hostname here

[+] 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!
Installation:
Quote:

Windows 10 Professional
Apache/2.4.38 (Win64)
php v7.1.26
MySQL Server 5.7.26
SorceBans 1.6.3
Database setting:
Code:

"Databases"
{
        "driver_default"                "mysql"
       
        "sourcebans"
        {
                "driver"                        "default"
                "host"                                "localhost"
                "database"                        "sourcebans"
                "user"                                "MYDBUSERNAME"
                "pass"                                "MYDBPASSWORD"
                //"timeout"                        "0"
                "port"                        "3307" //3306 is for MySQL8
        }
}

Error log in sourcemod folder:
Quote:

Nope. No any errors show in log file, SourceBans plugins are working correctly
Server command line:
Quote:

srcds.exe -game csgo -console -port 27015 +game_type 0 +game_mode 0 -maxplayers_override 64 -usercon +sv_setsteamaccount my_token +map de_dust2 +log on
I did install SourceBans on MySQL8 before, but got some SQL syntax errors when I added servers on Admin Panel
By the way I have the same problem like this thread: Sb-callback error

Please help
If I miss some information or something, please let me know

RumbleFrog 11-16-2019 06:15

Re: keep getting error connecting on sourcebans
 
PHP GMP Extension installed?

reid123455 11-16-2019 13:01

Re: keep getting error connecting on sourcebans
 
Quote:

Originally Posted by RumbleFrog (Post 2673109)
PHP GMP Extension installed?

Yes, GMP installed
https://i.imgur.com/olwUlFy.png

but still got error
https://i.imgur.com/nvzYUoQ.png

RumbleFrog 11-16-2019 17:46

Re: keep getting error connecting on sourcebans
 
Can you provide PHP log

reid123455 11-17-2019 04:17

Re: keep getting error connecting on sourcebans
 
Quote:

Originally Posted by RumbleFrog (Post 2673159)
Can you provide PHP log

I only got these errors about PHP
Quote:

[Sun Nov 17 17:02:42.467902 2019] [php7:warn] [pid 5704:tid 1272] [client 172.68.46.163:23830] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in \\sourceban\\includes\\sb-callback.php on line 2316, referer: https://dreamlnd.ga/sourceban/index.php?p=admin
[Sun Nov 17 17:02:42.467902 2019] [php7:warn] [pid 5704:tid 1272] [client 172.68.46.163:23830] PHP Warning: file_get_contents(https://sbpp.github.io/version.json): failed to open stream: no suitable wrapper could be found in \\sourceban\\includes\\sb-callback.php on line 2316, referer: https://dreamlnd.ga/sourceban/index.php?p=admin
I found these extensions always error no matter what I did (threw to php or system32 folder or tried to update my PHP)
;extension=php_interbase.dll
;extension=php_oci8_12c.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_oci.dll
;extension=php_apcu.dll
So I disabled them
I don't know if those effect SourceBans to be honest

RumbleFrog 11-17-2019 06:55

Re: keep getting error connecting on sourcebans
 
Try this and lmk its output

PHP Code:

<?php

print_r
(extension_loaded('gmp'));

?>


reid123455 11-17-2019 14:04

Re: keep getting error connecting on sourcebans
 
Quote:

Originally Posted by RumbleFrog (Post 2673228)
Try this and lmk its output

PHP Code:

<?php

print_r
(extension_loaded('gmp'));

?>


Sorry for late reply, it just output "1" in browser
seems my gmp extension is working fine?

RumbleFrog 11-17-2019 22:50

Re: keep getting error connecting on sourcebans
 
Not certain, the PHP log should've emitted errors regarding it.

Is this reproducible with the latest v1.x (master) branch?


All times are GMT -4. The time now is 08:39.

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