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

RestClient response error. Status -1 #4

Open
et-nik opened this issue Jan 21, 2020 · 1 comment
Open

RestClient response error. Status -1 #4

et-nik opened this issue Jan 21, 2020 · 1 comment
Labels

Comments

@et-nik
Copy link
Member

et-nik commented Jan 21, 2020

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
@et-nik et-nik added the bug label Jan 21, 2020
@et-nik
Copy link
Member Author

et-nik commented Apr 3, 2020

Related mrtazz/restclient-cpp#86

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

No branches or pull requests

1 participant