Kodi Community Forum
Network issues? Add-ons failing with MD5 mismatch - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Network issues? Add-ons failing with MD5 mismatch (/showthread.php?tid=331692)

Pages: 1 2


Network issues? Add-ons failing with MD5 mismatch - jimbootman - 2018-05-08

Hey guys,

I'm having network connection issues it seems.  I've been struggling to set-up my Kodi after doing a fresh install(coinciding with moving to a new place).  For some reason, on my home network (wired or otherwise) no addon will download or install and seem to through md5 mismatch errors and I can't connect to other repos either.  Same router and ISP as my last place just across town.

I've done several fresh installs to keep on trying things to no avail.

Seems a few other people have had issues like this but haven't been able to get it to work (including switching to Google DNS).

The crazy thing is, that I was able to downlad everything just fine through my cell phone's wifi hotspot.  Got a few of the dependencies and the apps but when I went back to my home network and tried to instal another app (this time trakt.tv) no dice.

Thoughts?


https://paste.kodi.tv/oyizewaxon


RE: Network issues? Add-ons failing with MD5 mismatch - Klojum - 2018-05-08

On new LibreELEC installations, sometimes the Kodi repository needs a manual refresh/update.
Also make sure that the "Wait for network" option in the LibreELEC Settings add-on is enabled (30 secs for the slow RPi).


RE: Network issues? Add-ons failing with MD5 mismatch - jimbootman - 2018-05-09

Thanks fo the reply!

I have done that -both tried that on and off for each fresh install but didn't help (wired and wifi).

And even now that I have some add-ons installed - in this example the CBC app - when I am on my home network and try to launch it, it can not "authorise" the device and won't launch the add-on.

Also, I should, of course, mention that my internet works fine from other devices - laptops - in the house.

Any other ideas or anyone else have similar issues?

Jim


RE: Network issues? Add-ons failing with MD5 mismatch - Milhouse - 2018-05-10

Can you try a different ethernet cable? And/or a different port on the router? The downloads appear to be corrupted for some reason, resulting in the md5 mismatch.

What type of RPi is this, is it a 3B+? Maybe try a LibreELEC 9.0/Kodi 18 test build (just drop it into the "Update" folder and reboot to upgrade) as this will have a more recent network stack which has fixed some bugs since the launch of the RPi3+.


RE: Network issues? Add-ons failing with MD5 mismatch - jimbootman - 2018-05-11

(2018-05-10, 21:17)Milhouse Wrote: Can you try a different ethernet cable? And/or a different port on the router? The downloads appear to be corrupted for some reason, resulting in the md5 mismatch.

What type of RPi is this, is it a 3B+? Maybe try a LibreELEC 9.0/Kodi 18 test build (just drop it into the "Update" folder and reboot to upgrade) as this will have a more recent network stack which has fixed some bugs since the launch of the RPi3+.
 I'm on a model 3B, so I can try to run the test build anyway tomorrow night to see if that goes but so far haven't tried that one.

I tried a new ethernet cord and a new port, turned on the wait for network again then tried to install a couple add-ons (trakt.tv again, twitch.tv, and HGTV Canada).  First two failed as always, HGTV seemed to install but once I tried to actually load anything on it, it failed.  The CBC add-on failed again to authenticate...

Here's the new log:

https://paste.kodi.tv/ciqofihiqi

Seems just more of the same.

Would there be a way that it's an ISP thing? (but then again that seems so weird, it was working fine literally 2 weeks ago at my last apartment with the same router, same isp, and same account... plus it was working seemingly ok with my old install at this new house in that CBC would load up but it was already installed and authenticated...)

SO confused and frustrated!  I should've just left it as it was haha


RE: Network issues? Add-ons failing with MD5 mismatch - Milhouse - 2018-05-11

You could connect with ssh to the RPi and run:
Code:
wget -q https://mirror.math.princeton.edu/pub/xbmc/addons/krypton/script.trakt/script.trakt-3.2.0.zip -O- | md5sum
wget -q https://mirror.us.leaseweb.net/xbmc/addons/krypton/script.module.python.twitch/script.module.python.twitch-2.0.0.zip -O- | md5sum

The response should be:
text:
8a6c6bd338091c17265c37dd3ca435e4 -
b2cc9522d88196f608798d5e123e4f06 -

if you get anything else then there is a network problem somewhere, which is very odd (but at least we'll have ruled out Kodi).

I guess it could be an ISP caching issue, or possibly a mirror issue.


RE: Network issues? Add-ons failing with MD5 mismatch - jimbootman - 2018-05-12

(2018-05-11, 04:49)Milhouse Wrote: You could connect with ssh to the RPi and run:
Code:
wget -q https://mirror.math.princeton.edu/pub/xbmc/addons/krypton/script.trakt/script.trakt-3.2.0.zip -O- | md5sum
wget -q https://mirror.us.leaseweb.net/xbmc/addons/krypton/script.module.python.twitch/script.module.python.twitch-2.0.0.zip -O- | md5sum

The response should be:
text:
8a6c6bd338091c17265c37dd3ca435e4 -
b2cc9522d88196f608798d5e123e4f06 -

if you get anything else then there is a network problem somewhere, which is very odd (but at least we'll have ruled out Kodi).

I guess it could be an ISP caching issue, or possibly a mirror issue.    
So I SSH'd in and got:

code:
LibreELEC (official): 8.2.5 (RPi2.arm)
******Kodi:~ # wget -q https://mirror.math.princeton.edu/pub/xbmc/addons/krypton/script.trakt/script.trakt-3.2.0.zip -O- | md5sum8a6c6bd338091c17265c37dd3ca435e4  -
******Kodi:~ # wget -q https://mirror.us.leaseweb.net/xbmc/addons/krypton/script.module.python.twitch/script.module.python.twitch-2.0.0.zip -O- | md5sumb2cc9522d88196f608798d5e123e4f06  -
******Kodi:~ #

So does this support it NOT being a network issue?

Thanks for the help so far, guys.


RE: Network issues? Add-ons failing with MD5 mismatch - Milhouse - 2018-05-12

(2018-05-12, 15:13)jimbootman Wrote: So does this support it NOT being a network issue?

At least, not now - is it *still* a problem within Kodi?


RE: Network issues? Add-ons failing with MD5 mismatch - jimbootman - 2018-05-12

(2018-05-12, 20:14)Milhouse Wrote:
(2018-05-12, 15:13)jimbootman Wrote: So does this support it NOT being a network issue?

At least, not now - is it *still* a problem within Kodi?
 Yep, still same issues - will not download/install new add-ons, will not "authenticate" one's that are there.


RE: Network issues? Add-ons failing with MD5 mismatch - Rechi - 2018-05-13

Code:
CAddonInstallJob[script.trakt]: MD5 mismatch after download. Expected 8a6c6bd338091c17265c37dd3ca435e4, was D41D8CD98F00B204E9800998ECF8427E

D41D8CD98F00B204E9800998ECF8427E is the md5 hash of nothing so you didn't get any data from the actual mirror (mirror.math.princeton.edu).

Please retry to install the addon a view times and share the log. Usually you are not always redirected to the same mirror.


RE: Network issues? Add-ons failing with MD5 mismatch - jimbootman - 2018-05-13

(2018-05-13, 12:02)Rechi Wrote:
Code:
CAddonInstallJob[script.trakt]: MD5 mismatch after download. Expected 8a6c6bd338091c17265c37dd3ca435e4, was D41D8CD98F00B204E9800998ECF8427E

D41D8CD98F00B204E9800998ECF8427E is the md5 hash of nothing so you didn't get any data from the actual mirror (mirror.math.princeton.edu).

Please retry to install the addon a view times and share the log. Usually you are not always redirected to the same mirror.  
 Ok, interesting new development.

Here's the log after several unsuccessful trakt.tv install attempts - seems to give same hash for each attmept even on different mirrors I think?

https://paste.kodi.tv/irihoyotif

Luckily I pasted the log before trying Twitch again because after about 5 errors installing Twitch like before, it finally worked.  Loaded up the add-on and video worked perfectly.  When I go to upload the logfile now though, it's too big, So I'm gonna try and get at it manually to post - will update

EDIT - ok I got the file and just deleted out a bunch of old stuff - hope it wasn't relevant to troubleshooting - so that it would be under 1mb

https://paste.kodi.tv/omuyoribol


RE: Network issues? Add-ons failing with MD5 mismatch - Rechi - 2018-05-13

Can you enable curl component logging, try to install a different addon and post the log.

@Milhouse told my that your network may not be yet fully up when you try to install the addon.
I see CCurlFile::FillBuffer - Failed: Timeout was reached(28) multiple times in your log so that seems reasonable.


RE: Network issues? Add-ons failing with MD5 mismatch - Milhouse - 2018-05-13

@jimbootman also, when you upload the log for a different add-on, can you include the output of journalctl -a | pastebinit


RE: Network issues? Add-ons failing with MD5 mismatch - jimbootman - 2018-05-13

Ok - here's anew log

http://paste.kodi.tv/eyoruleqif

I increased the wait for network to 45seconds from 30 seconds.

No luck installing CBC News, Food Network Canada installed but threw errors any time I tried to play a video, and no luck on Khan Academy (tried them all at least twice).

@Rechi I wasn't able to find exactly how to enable curl logging - sorry! 

I posted the journal-cur.log in case that was it - http://paste.kodi.tv/zewalumiya 

If it's something I'm just overlooking, mind pointing me in the direction of how to get that log?

@Milhouse here's the result from running that command - http://paste.kodi.tv/owovevoxof

EDIT: hold up, that last one was incomplete... will get the full one...

EDIT 2: better - http://ix.io/1aeh - din't run code properly first time


RE: Network issues? Add-ons failing with MD5 mismatch - Rechi - 2018-05-13

See https://kodi.wiki/view/Log_file/Easy#Instructions (Note in step two)