sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
328 stars 174 forks source link

Servers reports error connecting even tho sb_debug_connection.php confirm that the traffic in fact does go through #886

Open BadSpider1 opened 1 year ago

BadSpider1 commented 1 year ago

What are the steps to reproduce this issue?

  1. Add server
  2. See that it fails to get data
  3. Fill in the same data to sb_debug_connection.php
  4. See that it works

What happens?

image

What were you expecting to happen?

Server hostname, map and players to be shown.

Any logs, error output, etc.?

[+] SourceBans "Error Connecting()" Debug starting for server 15.235.181.104:27031

[+] 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: FRAG NATION PH PUG SERVER 1

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

What versions of software are you using?

Operating System: Ubuntu 20.04 SourceBans++ Version: Latest PHP81 branch (i tried even on the 7.4 version) PHP Version: PHP 8.1.18 MySQL Version: Ver 15.1 Distrib 10.6.12-MariaDB Link to your project: https://sbpp.stasek-it.xyz (don´t know how long it will be up since it is a temporary domain) Link to a phpinfo() output: Dont have it

BadSpider1 commented 1 year ago

No, awaiting reply

rumblefrog commented 1 year ago

Do you have PHP GMP? What does the PHP log indicate?

BadSpider1 commented 1 year ago

There are no errors from what i can see. And yes php8.1-gmp is installed