Hello Travis,
I am getting a strange error every so often and was wondering if you could help understand it.
ERROR Below:
Fatal error: Uncaught exception 'TMDbException' with message 'Server error on "http://api.themoviedb.org/3/movie/161686/keywords?api_key=APIKEY": HTTP/1.1 503 Service Unavailable Age: 0 Content-Type: text/html; charset=utf-8 Date: Sat, 01 Jun 2013 19:21:05 GMT Retry-After: 0 Server: nginx Via: 1.1 varnish X-Cache: MISS X-Varnish: 419054091 X-Varnish-Sid: tm-v-p-1100 Content-Length: 418 Connection: keep-alive <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Service Unavailable
XID: 419054091
Varnish cache server
' in /home//public_html/TMDb2.php:871 Stack trace: #0 /home//public_html/TMDb2.php(207): TMDb->_makeCall('movie/161686/ke...') #1 in /home/*/public_html/TMDb2.php on line 871Thanks in advance Dale.
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Dale
بتاريخ يونيو 1, 2013 في 4:43 مساءا
Does it have anything think to do with the old issue on this topic which is closed http://www.themoviedb.org/talk/512921ea19c2951d8124fb17
رد بواسطة Travis Bell
بتاريخ يونيو 1, 2013 في 4:51 مساءا
Hi Dale,
Nope, it shouldn't. The load on our servers has been drastically improved over the past month or two with some major work going into performance optimizations.
The most common issue is users hitting the rate limiting. Are you aware of and keeping track of whether or not this could be the case?
رد بواسطة Dale
بتاريخ يونيو 1, 2013 في 5:44 مساءا
Thanks for getting back to me so fast.
Yea I only allow 3 requests every 10 seconds, so I should be well under the limit. I also ran the other day, a script with no limits and it didn't hit this issue. Seems the limits are not as strict as I thought they might be. (please don't change it because of this comment though.)
Is there a way from the account page or your end to see if I am hitting the limit?
رد بواسطة Travis Bell
بتاريخ يونيو 3, 2013 في 10:23 صباحا
There is not. Our system for rate limiting is not nearly that fancy although we hope that it will be one day.
When you get these errors are they seemingly random, or is it a particular request or movie that seems to be the primary offender?
رد بواسطة Dale
بتاريخ يونيو 3, 2013 في 12:19 مساءا
It seems to be just random movies. When I hit the error I start the script from a few movie before that movie it was erroring on and it passes second time around. I would be happy to help with any further investigation if you would like to look into it in more detail? totally understand if you do not, as i'm sure you have already got lots on your plate already.