minetest-mods / skinsdb

Player skin mod, supporting unified_inventory, sfinv and smart_inventory
27 stars 41 forks source link

Skins downloading only partly working #49

Closed Lejo1 closed 5 months ago

Lejo1 commented 4 years ago

I tried to download all skins so I did: /skinsdb_download_skins 1 56

I got a lot of Errors these are just examples I get them a lot more often. These are the three "types" of errors I get 2020-06-04 14:40:43: ERROR[CurlFetch]: http://minetest.fensta.bplaced.net/api/v2/get.json.php?getlist&page=8&outformat=base64 not found (Timeout was reached) (response code 200)

2020-06-04 14:40:43: WARNING[Server]: Lua Skins Updater: Failed to download URL=http://minetest.fensta.bplaced.net/api/v2/get.json.php?getlist&page=8&outformat=base64

2020-06-04 14:40:58: ERROR[CurlFetch]: http://minetest.fensta.bplaced.net/skins/1/21.png not found (HTTP response code said error) (response code 503)

After the world restarted I only had 20 pages and not all.

SmallJoker commented 4 years ago

Indeed, these errors be handled in the Lua script. It might make sense to increase your curl_timeout = 5000 minetest.conf setting in case the skins database is overloaded. Additionally, adding a delay of a few seconds between each error might spread the load a bit.

Will look into this.

SmallJoker commented 5 months ago

There were a few timeout adjustments in recent Minetest versions (5.9.0-dev) in addition to changed skin database URL (the original went offline).

Assuming this is fixed. Please re-open or reply if the issue still occurs.