Skip to content

nettest doesn't work #465

@lionkor

Description

@lionkor

Fill out general information
OS (windows, linux, ...): Linux Debian 12
BeamMP-Server Version: 3.9.0

Describe the bug
Running nettest fails because the CHK_BMP user has no valid auth data.

Expected behavior
I think its supposed to join successfully and auth and then exit

Logs

[20/01/26 18:38:46.951] [EVENT] onConsoleInput
> nettest
[20/01/26 18:38:49.160] Identify [INFO] Identifying new ClientConnection...
[20/01/26 18:38:49.334] Identify [DEBUG] Response from authentication backend: {"error":{"code":"401","message":"Not Authorised (Invalid Key)"}}
[20/01/26 18:38:49.334] Identify [ERROR] Invalid authentication data received from authentication backend
[20/01/26 18:38:49.335] Identify [INFO] Client kicked: Invalid authentication data!
[20/01/26 18:38:49.335] Identify [DEBUG] Disconnecting client -1 for reason: Kicked
[20/01/26 18:38:49.335] Identify [DEBUG] client destroyed: -1 ('Unknown Client')
[20/01/26 18:38:50.056] Identify [INFO] Identifying new ClientConnection...
[20/01/26 18:38:50.238] Identify [DEBUG] Response from authentication backend: {"identifiers":["beammp:1491903"],"username":"CHK_BMP","roles":"USER","guest":false}
[20/01/26 18:38:50.238] Identify [DEBUG] Name -> CHK_BMP, Guest -> 0, Roles -> USER
[20/01/26 18:38:50.239] Identify [EVENT] onPlayerAuth
[20/01/26 18:38:50.329] Identify [EVENT] postPlayerAuth
[20/01/26 18:38:50.329] Identify [INFO] Identification success
[20/01/26 18:38:50.329] Identify [DEBUG] inserting client (0)
[20/01/26 18:38:50.329] Identify [INFO] Client connected
[20/01/26 18:38:50.329] Identify [INFO] Assigned ID 0 to CHK_BMP
[20/01/26 18:38:50.329] Identify [EVENT] onPlayerConnecting
[20/01/26 18:38:50.342] Heartbeat [DEBUG] heartbeat (after 18s)
[20/01/26 18:38:50.380] Identify [INFO] CHK_BMP : Connected
[20/01/26 18:38:50.380] Identify [EVENT] onPlayerJoining
[20/01/26 18:38:50.430] (0) "CHK_BMP" [DEBUG] TCPRcv: Reading header failed: End of file
[20/01/26 18:38:50.430] (0) "CHK_BMP" [DEBUG] TCPRcv empty
[20/01/26 18:38:50.430] (0) "CHK_BMP" [DEBUG] Disconnecting client 0 for reason: TCPRcv failed
[20/01/26 18:38:50.431] Looper [DEBUG] client is disconnected, breaking client loop
[20/01/26 18:38:50.431] (0) "CHK_BMP" [INFO] CHK_BMP Connection Terminated
[20/01/26 18:38:50.431] (0) "CHK_BMP" [EVENT] onPlayerDisconnect
[20/01/26 18:38:50.432] [DEBUG] Status and response from Server Check API: 200, {"status":"ok","details":"Server is reachable and responded correctly via TCP and UDP"}
[20/01/26 18:38:50.432] [INFO] Response from Server Check API: Server is reachable and responded correctly via TCP and UDP
[20/01/26 18:38:50.432] [EVENT] onConsoleInput
[20/01/26 18:38:50.441] (0) "CHK_BMP" [DEBUG] Disconnecting client 0 for reason: Already Disconnected (OnDisconnect)
[20/01/26 18:38:50.441] (0) "CHK_BMP" [DEBUG] Socket is already closed.
[20/01/26 18:38:50.441] (0) "CHK_BMP" [DEBUG] removing client CHK_BMP (1)
[20/01/26 18:38:50.441] (0) "CHK_BMP" [DEBUG] client destroyed: 0 ('CHK_BMP')
[20/01/26 18:38:50.715] Heartbeat [DEBUG] Backend response was: `{"status":"200","code":"","msg":"Success, Your server listing has been updated."}`
[20/01/26 18:38:55.432] Heartbeat [DEBUG] heartbeat (after 5s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions