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
Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.
Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?
Üye değil misin?
Yanıtla devrus
i 23, 2017 tarihinde saat 12:22 ÖS'da
Problem is on my side probably...
For some reason ntpd is stopped...
Sorry for taking your time.
Yanıtla Travis Bell
i 23, 2017 tarihinde saat 2:57 ÖS'da
No problem!