Skip to content

RestClient response error. Status -1 #4

Description

@et-nik

Sometimes errors appear in the error logs

2020-01-20 21:39:42.220 ERROR [13518] [Gameap::Rest::patch@280] RestClient HTTP response code (PATCH): -1
2020-01-20 21:39:42.220 ERROR [13518] [Gameap::Rest::patch@281] URL: gameap/gdaemon_api/servers
2020-01-20 21:39:42.220 ERROR [13518] [Gameap::Rest::patch@283] RestClient Request: null
2020-01-20 21:40:32.432 ERROR [13518] [GameAP::DedicatedServer::update_db@607] Output updating error: RestClient error
2020-01-20 21:40:32.599 ERROR [13518] [Gameap::Rest::patch@280] RestClient HTTP response code (PATCH): -1
2020-01-20 21:40:32.599 ERROR [13518] [Gameap::Rest::patch@281] URL: gameap/gdaemon_api/servers
2020-01-20 21:40:32.599 ERROR [13518] [Gameap::Rest::patch@283] RestClient Request: null

2020-01-20 21:40:32.599 ERROR [13518] [Gameap::Rest::patch@289] RestClient HTTP response: Failed to query.
2020-01-20 21:40:32.599 ERROR [13518] [GameAP::GameServersList::stats_process@75] RestClient error
2020-01-20 21:42:19.647 ERROR [13518] [Gameap::Rest::post@178] RestClient HTTP response code (POST): 405
2020-01-20 21:42:19.647 ERROR [13518] [Gameap::Rest::post@179] URL: gameap/gdaemon_api/ds_stats
2020-01-20 21:42:19.647 ERROR [13518] [Gameap::Rest::post@183] RestClient HTTP response: {
    "message": "The GET method is not supported for this route. Supported methods: POST.",
    "exception": "Symfony\\Component\\HttpKernel\\Exception\\MethodNotAllowedHttpException",
    "file": "/ ...
2020-01-20 21:42:19.649 ERROR [13518] [GameAP::DedicatedServer::update_db@607] Output updating error: RestClient error
2020-01-20 21:42:25.311 ERROR [13518] [Gameap::Rest::patch@280] RestClient HTTP response code (PATCH): -1
2020-01-20 21:42:25.311 ERROR [13518] [Gameap::Rest::patch@281] URL: gameap/gdaemon_api/servers
2020-01-20 21:42:25.311 ERROR [13518] [Gameap::Rest::patch@283] RestClient Request: null

2020-01-20 21:42:25.311 ERROR [13518] [Gameap::Rest::patch@289] RestClient HTTP response: Failed to query.
2020-01-20 21:42:25.311 ERROR [13518] [GameAP::GameServersList::stats_process@75] RestClient error

How to repeat:

  • Install gameap and gameap-daemon on the dedicated servers
  • Run gameap-daemon
  • Wait

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions