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

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

Open
BadSpider1 opened this issue Apr 30, 2023 · 4 comments

Comments

@BadSpider1
Copy link

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
Copy link
Author

No, awaiting reply

@rumblefrog
Copy link
Member

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

@BadSpider1
Copy link
Author

BadSpider1 commented May 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@rumblefrog @BadSpider1 and others