The Movie Database Support Forum

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 Antworten (Seite 1 von 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.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden