<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 5, 2016 at 5:23 AM, Didier Roche <span dir="ltr"><<a href="mailto:didrocks@ubuntu.com" target="_blank">didrocks@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<div class="m_8792450729980366169moz-cite-prefix">Le 03/12/2016 à 16:01, Gustavo Niemeyer
a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Xavier,
<div><br>
</div>
<div>There's definitely a problem interrupting the connection
with the server. The fact it works sometimes means it's
inconsistent.</div>
<div><br>
</div>
<div>Can you please try to download such files several times out
of snap and snapd, to see what the error is?</div>
<div><br>
</div>
<div>Per my note above, we had a bug in snapd which prevents the
real error from being shown. We're always showing the digest
mismatch instead, which will of course happen if the download
is interrupted before its end.</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
</div>
</blockquote></span>
As written on the bug report + some part feedback emails you
received some weeks earlier, it seems you ignored one part of the
issue. Yes, it seems the network is failing. However, snapd
consistenly fails in my case for downloading, while other tools,
like wget and curl can download bigger files, many times, without
ever getting one failure. They are more robust in difficult network
situations it seems.<br></div></blockquote><div><br></div><div>Neither this thread nor the bug report mentioned that wget/curl worked consistently across several tries.</div><div><br></div><div>Is it the case? Did you ever get a failure with them? Are they retrying while they work? Do you have a verbose dumb of the process?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
So either the store connection side is fragile or snapd isn't robust
enough while other tools cope with those conditions just fine
(without any warning/debug message telling that they are retrying).<br></div></blockquote><div><br></div><div>Yes, something is wrong. :)</div><div> </div><div><br></div></div><div class="gmail_signature" data-smartmail="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div></div>