Hi, I have some problems with rate-limiting. When i hit rate limits x-ratelimit-reset header contains time in past.
here is some logs:
2017/02/23 17:34:51 getTmdb Now: 2017-02-23 17:34:51.287149148 +0100 CET reset 0001-01-01 00:00:00 +0000 UTC
2017/02/23 17:34:51 getTmd Headers: map[Cache-Control:[public, max-age=21600] Content-Type:[application/json;charset=utf-8] Server:[openresty] X-Ratelimit-Remaining:[0] X-Ratelimit-Reset:[1487867684] Content-Length:[57] Access-Control-Allow-Origin:[any] Date:[Thu, 23 Feb 2017 16:34:39 GMT] Etag:[72b32a1f754ba1c09b3695e0cb6cde7f] X-Ratelimit-Limit:[40] -so here we hit the limit
2017/02/23 17:34:51 getTmdb Now: 2017-02-23 17:34:51.405820995 +0100 CET reset 2017-02-23 17:34:46 +0100 CET
2017/02/23 17:34:51 getTmd Headers: map[Server:[openresty] Content-Length:[95] Connection:[keep-alive] Access-Control-Allow-Origin:[any] Content-Type:[application/json; charset=utf-8] Date:[Thu, 23 Feb 2017 16:34:39 GMT] Retry-After:[4]]
17:34:51.512 VideoInfoExtractor GetAssociatedVideos - ERRO : SearchMulti Failed: Code (25): Your request count (41) is over the allowed limit of 40.
The Problem i see that your server has time desync with mine in about 10 secs
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de devrus
le 23 février 2017 à 12h22
Problem is on my side probably...
For some reason ntpd is stopped...
Sorry for taking your time.
Réponse de Travis Bell
le 23 février 2017 à 14h57
No problem!