-
Notifications
You must be signed in to change notification settings - Fork 102
MCI Flooding #143
Comments
Addendum I may be wrong - see below This repeats - I'll try BFZ Ripping Set: Magic Origins Error: connect ECONNREFUSED 23.92.17.120:80 |
Another addendum but a diffo issue They seem to be letting us in again but I'm getting this now... I'll try another few sets Requesting from web: http://magiccards.info/ori/en/82.html |
Rats Blocked again I did a clone yesterday - I'll try it on that |
"MCI flooding" is fixed on the latest release. No more downloading stuff in parallel. |
@lsmoura
MCI appear to have put a flood stop mechanism in place
I was able to partially circumvent this but adding a setInterval to compareToMagicCardsInfo()
The obvious strategy is to ask MCI if we can mirror purely for the purposes of mtgjson and only available for mtgjson users or pass them some header to confirm its from the user of mtgjson
It appears that they've implemented such limitations within the last 24 hours
You can re-run but only get 10 cards at a time
The best I got was about 70 before it went wonky
I then did a new build on an AWS Ubuntu 14,04 and tried again
10 into MCI - we die (I was running on a much more connected server)
Another solution that occurs is to rate-limit MCI requests - typically this would be one per second (but tests make me doubt this)
You'll see this when MCI gets annoyed with you...
Requesting from web: http://magiccards.info/ori/en/140.html
Error downloading: http://magiccards.info/ori/en/51.html
Error: connect ECONNREFUSED 23.92.17.120:80
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at TCPConnectWrap.afterConnect as oncomplete
/root/mtgjson/shared/shared.js:653
throw(err);
^
Error: connect ECONNREFUSED 23.92.17.120:80
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at TCPConnectWrap.afterConnect as oncomplete
The text was updated successfully, but these errors were encountered: