Search Internet for Metadata hangs

Post Reply
bcolebank
Posts: 2
Joined: Sat Jun 20, 2015 2:48 am

Search Internet for Metadata hangs

Post by bcolebank »

When I search for meta data of some titles that might be a little vague (Bad Boys or X-Men for example) and it never finds any data.

I ran Fiddler to sniff the network traffic and this is what I'm seeing:
Request:
GET http://api.themoviedb.org/3/movie/25968 ... KEYREMOVED HTTP/1.1
Accept: application/json
Host: api.themoviedb.org
Connection: Close


Response:
HTTP/1.1 429
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
Date: Sat, 20 Jun 2015 02:46:40 GMT
Retry-After: 5
Server: openresty
Content-Length: 95
Connection: Close

{"status_code":25,"status_message":"Your request count (41) is over the allowed limit of 40."}

Any idea how to get around this?
bizmodeller
Posts: 458
Joined: Thu Nov 14, 2013 8:40 pm

Re: Search Internet for Metadata hangs

Post by bizmodeller »

Thanks for the post and detailed info.

Yes, it looks like with some queries we are hitting a rate cap with TheMovieDB.org. This looks like it's because we are making too many calls per movie and for movies with lots of results, there are too many movies. We can optimize the code to both make less calls and also throttle the requests.

Raising as a bug and anticipate this will get resolved in the next week or two,

http://bugs.bizmodeller.com/view.php?id=329

thanks
bcolebank
Posts: 2
Joined: Sat Jun 20, 2015 2:48 am

Re: Search Internet for Metadata hangs

Post by bcolebank »

Thanks for the reply. Looking forward to the fix.
bizmodeller
Posts: 458
Joined: Thu Nov 14, 2013 8:40 pm

Re: Search Internet for Metadata hangs

Post by bizmodeller »

This is now fixed in 3.1.81.0 which will be available for download from our normal download page http://www.bizmodeller.com/ihomeserver/ ... nload.aspx within the hour. You can find it at the bottom of the page under the Prerelease/beta section.

Interactive metadata searches for movies have been sped up dramatically and you should also no longer experience the issue of the search hanging with certain searches.

Please let us know how you get on.
cratner
Posts: 8
Joined: Wed Oct 29, 2014 7:42 pm

Re: Search Internet for Metadata hangs

Post by cratner »

Excellent update. Not hanging anymore. Thank you.
Post Reply