<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Dec 9, 2016 at 5:39 PM Manik Taneja <<a href="mailto:manik.taneja@canonical.com">manik.taneja@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="gmail_msg"><div class="gmail_msg"></div><div class="gmail_msg">On Dec 8, 2016, at 8:21 PM, Oliver Ries <<a href="mailto:oliver.ries@canonical.com" class="gmail_msg" target="_blank">oliver.ries@canonical.com</a>> wrote:<br class="gmail_msg"></div><blockquote type="cite" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg">Hi<div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Thu, Dec 8, 2016 at 6:31 PM, XiaoGuo Liu <span dir="ltr" class="gmail_msg"><<a href="mailto:xiaoguo.liu@canonical.com" class="gmail_msg" target="_blank">xiaoguo.liu@canonical.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I do not know how many of you have met the issue. When I try to install an app from the store, it comes me an error like:</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg">liuxg@ubuntu:~$ sudo snap install tensorflow-demo --devmode --beta</div><div class="gmail_msg">error: cannot install "tensorflow-demo": Get <a href="https://search.apps.ubuntu.com/api/v1/snaps/details/tensorflow-demo?channel=beta" class="gmail_msg" target="_blank">https://search.apps.ubuntu.com/api/v1/snaps/details/tensorflow-demo?channel=beta</a>: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)</div><div class="gmail_msg">liuxg@ubuntu:~$ sudo snap install tensorflow-demo --devmode --beta</div><div class="gmail_msg">error: cannot install "tensorflow-demo": Get <a href="https://search.apps.ubuntu.com/api/v1/snaps/details/tensorflow-demo?channel=beta" class="gmail_msg" target="_blank">https://search.apps.ubuntu.com/api/v1/snaps/details/tensorflow-demo?channel=beta</a>: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)</div></div></div></blockquote></div></div></div></div></blockquote></div><div dir="auto" class="gmail_msg">This has been usually because of CDN issues afaik. The store team should able to confirm shortly.</div></blockquote><div><br></div><div>In this case, it's an issue just with the initial connection from the client to <a href="http://search.apps.ubuntu.com">search.apps.ubuntu.com</a>, before following any CDN url to download the snap. I also tried to reproduce around 40mins after XiaoGuo and couldn't.<br><br></div><div>After trying to reproduce, I checked the apache logs for <a href="http://search.apps.ubuntu.com">search.apps.ubuntu.com</a> and saw that during that time it only ever saw requests which resulted in 200 replies:<br><br><a href="http://paste.ubuntu.com/23602216/">http://paste.ubuntu.com/23602216/</a><br><br>There were no relevant errors in the error log that I could see, nor does our monitoring show any high load at the time, so unless apache isn't logging timeouts, I suspect the requests weren't getting through to <a href="http://search.apps.ubuntu.com">search.apps.ubuntu.com</a> for some network-related reason, but I'm keen for someone else on the store team to check the networking and logs.<br><br></div><div>We have seen this before intermittently, so please if you see a client timeout as above, add your data to:<br><br><a href="https://bugs.launchpad.net/click-package-index/+bug/1639981">https://bugs.launchpad.net/click-package-index/+bug/1639981</a><br></div><div><br></div><div>and we'll keep digging.<br><br></div><div>Thanks!<br></div><div>-Michael<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Can you check <a href="http://status.snapcraft.io" class="gmail_msg" target="_blank">status.snapcraft.io</a> to see any outages around the date you experienced this?</div></div><div dir="auto" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"><blockquote type="cite" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I just did a quick test on my classic Ubuntu (AMD64) and was able to download & install the snap just fine.</div><div class="gmail_msg"> </div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">In fact, I have met this this problem a number of times, and sometimes it works fine. Also, my colleague said to me that he gets the same issue sometimes. What is the root cause for this?</div></div></div></blockquote><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">it might be good to get this into a bug report with all relevant information (distribution, architecture, network setup (traceroute?) and a timestamp so server logs can be matched.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">let us know the id and the team will be looking at that asap.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">thx,</div><div class="gmail_msg">Olli</div></div></div></div>
</div></blockquote><blockquote type="cite" class="gmail_msg"><div class="gmail_msg"><span class="gmail_msg">-- </span><br class="gmail_msg"><span class="gmail_msg">Snapcraft mailing list</span><br class="gmail_msg"><span class="gmail_msg"><a href="mailto:Snapcraft@lists.snapcraft.io" class="gmail_msg" target="_blank">Snapcraft@lists.snapcraft.io</a></span><br class="gmail_msg"><span class="gmail_msg">Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" class="gmail_msg" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a></span><br class="gmail_msg"></div></blockquote></div></div>--<br class="gmail_msg">
Snapcraft mailing list<br class="gmail_msg">
<a href="mailto:Snapcraft@lists.snapcraft.io" class="gmail_msg" target="_blank">Snapcraft@lists.snapcraft.io</a><br class="gmail_msg">
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br class="gmail_msg">
</blockquote></div></div>