green-api / issues

9 stars 0 forks source link

Превышено время ожидания ответа, ошибка 499 / Response timeout exceeded, error 499 #487

Closed Smol2022 closed 3 months ago

Smol2022 commented 3 months ago

Ошибка: При запросе методов Green-API может быть превышено время ожидание ответа, тогда клиент разрывает соединение и считает его неуспешным. Cообщение не отправлено.

Уровень: API

Обходное решение:

  1. При запросах использовать прямой хост для инстанса, поле apiUrl в личном кабинете
  2. Увеличить время ожидания ответа от сервера
  3. При получении статус кода отличного от 200 сделать паузу в 5 секунд и повторить запрос (делать 5 попыток с выдержкой 5 секунд), после информировать оператора и дать возможность повторить запрос вручную

Error: When requesting Green API methods, the waiting time for a response may be exceeded, then the client disconnects the connection and considers it unsuccessful. The message has not been sent.

Level: API

Workaround:

  1. When making requests, use a direct host for the instance, the apiUrl field in your personal account
  2. Increase the waiting time for a response from the server
  3. When receiving a status code other than 200, pause for 5 seconds and repeat the request (make 5 attempts with a delay of 5 seconds), then inform the operator and give the opportunity to repeat the request manually
EscHelpNew commented 3 months ago

Произведена переконфигурация сервера по адресу https://api.greenapi.com в рамках технических работ


The server was reconfigured at https://api.greenapi.com as part of technical work