The Movie Database Support

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">

503 Service Unavailable

Error 503 Service Unavailable

Service Unavailable

Guru Meditation:

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 871

Thanks in advance Dale.

5 replies (on page 1 of 1)

Jump to last post

Does it have anything think to do with the old issue on this topic which is closed http://www.themoviedb.org/talk/512921ea19c2951d8124fb17

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?

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?

Is there a way from the account page or your end to see if I am hitting the limit?

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?

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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p profil menyusini ochish
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

kirish