home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Anime 2
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="BeeJay" data-source="post: 855658" data-attributes="member: 61777"><p>Hey lwerndly, have been a long time MyAnime user and have just shifted to JMM and really excited by what I'm seeing. Problem I am having is with constant AniDB Ban's whilst importing my collection. After looking through the AniDB UDP API wiki I found this nugget:</p><p><span style="font-size: 15px"><strong><span style="font-family: 'sans-serif'"><span style="font-size: 17px">Connection Problems</span></span></strong></span></p><p></p><p><span style="font-size: 13px"><span style="font-family: 'sans-serif'">There are many ways for a client to end up banned or the API might currently be handling too many concurrent connections. If a client does not get any reply to an AUTH command it should start to increase the retry delay exponentially with every failed login attempt. (i.e. try again after 30 seconds if the first login attempt failed, if the second fails too retry after 2 minutes, then 5 minutes, then 10 minutes, then 30 minutes, ... until you reach a retry delay of ~2-4h.)</span></span></p><p> </p><p><span style="font-size: 13px"><span style="font-family: 'sans-serif'">and...</span></span></p><p> </p><p><span style="font-size: 15px"><strong><span style="font-size: 17px">Flood Protection</span></strong></span></p><p></p><p><span style="font-size: 13px">To prevent high server load the UDP API server enforces a strict flood protection policy.</span></p><ul> <li data-xf-list-type="ul">Short Term:<ul> <li data-xf-list-type="ul">A Client MUST NOT send more than 0.5 packets per second (that's one packet every two seconds, not two packets a second!)</li> <li data-xf-list-type="ul">The server will start to enforce the limit after the first 5 packets have been received.</li> </ul></li> <li data-xf-list-type="ul">Long Term:<ul> <li data-xf-list-type="ul">A Client MUST NOT send more than one packet every four seconds over an extended amount of time.</li> <li data-xf-list-type="ul"><em>An extended amount of time</em> is not defined. Use common sense.</li> </ul></li> </ul><p><span style="font-size: 13px">Once a client exceeds a rate limit all further UDP packets from that client will be dropped without feedback until the client's packet rate is back down to acceptable levels.</span></p><p> </p><p><span style="font-size: 13px">Pretty sure you're well across this but it's going to be pretty hard going if we're constantly getting bans from AniDB when importing our collections. This may not be an issue later on as we'll only be doing the occasional call for new eps, but it's quite painful during the initial call. Understand JMM is still Alpha which is why I'm trying to make this as detailed and constructive as possible.</span></p><p> </p><p><span style="font-size: 13px">Does JMM have an auto-delay function once it's been banned? Or should I raise this as an issue on google code?</span></p></blockquote><p></p>
[QUOTE="BeeJay, post: 855658, member: 61777"] Hey lwerndly, have been a long time MyAnime user and have just shifted to JMM and really excited by what I'm seeing. Problem I am having is with constant AniDB Ban's whilst importing my collection. After looking through the AniDB UDP API wiki I found this nugget: [SIZE=4][B][FONT=sans-serif][SIZE=17px]Connection Problems[/SIZE][/FONT][/B][/SIZE] [SIZE=13px][FONT=sans-serif]There are many ways for a client to end up banned or the API might currently be handling too many concurrent connections. If a client does not get any reply to an AUTH command it should start to increase the retry delay exponentially with every failed login attempt. (i.e. try again after 30 seconds if the first login attempt failed, if the second fails too retry after 2 minutes, then 5 minutes, then 10 minutes, then 30 minutes, ... until you reach a retry delay of ~2-4h.)[/FONT][/SIZE] [SIZE=13px][FONT=sans-serif] [/FONT][/SIZE] [SIZE=13px][FONT=sans-serif]and...[/FONT][/SIZE] [SIZE=13px][FONT=sans-serif] [/FONT][/SIZE] [SIZE=4][B][SIZE=17px]Flood Protection[/SIZE][/B][/SIZE] [SIZE=13px]To prevent high server load the UDP API server enforces a strict flood protection policy.[/SIZE] [LIST] [*]Short Term: [LIST] [*]A Client MUST NOT send more than 0.5 packets per second (that's one packet every two seconds, not two packets a second!) [*]The server will start to enforce the limit after the first 5 packets have been received. [/LIST] [*]Long Term: [LIST] [*]A Client MUST NOT send more than one packet every four seconds over an extended amount of time. [*][I]An extended amount of time[/I] is not defined. Use common sense. [/LIST] [/LIST] [SIZE=13px]Once a client exceeds a rate limit all further UDP packets from that client will be dropped without feedback until the client's packet rate is back down to acceptable levels.[/SIZE] [SIZE=13px] [/SIZE] [SIZE=13px]Pretty sure you're well across this but it's going to be pretty hard going if we're constantly getting bans from AniDB when importing our collections. This may not be an issue later on as we'll only be doing the occasional call for new eps, but it's quite painful during the initial call. Understand JMM is still Alpha which is why I'm trying to make this as detailed and constructive as possible.[/SIZE] [SIZE=13px] [/SIZE] [SIZE=13px]Does JMM have an auto-delay function once it's been banned? Or should I raise this as an issue on google code?[/SIZE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Anime 2
Contact us
RSS
Top
Bottom