On Fri, Dec 9, 2016 at 5:39 PM Manik Taneja <manik.tan...@canonical.com> wrote:
> On Dec 8, 2016, at 8:21 PM, Oliver Ries <oliver.r...@canonical.com> wrote: > > Hi > > On Thu, Dec 8, 2016 at 6:31 PM, XiaoGuo Liu <xiaoguo....@canonical.com> > wrote: > > Hi, > > 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: > > liuxg@ubuntu:~$ sudo snap install tensorflow-demo --devmode --beta > error: cannot install "tensorflow-demo": Get > https://search.apps.ubuntu.com/api/v1/snaps/details/tensorflow-demo?channel=beta: > net/http: request canceled while waiting for connection (Client.Timeout > exceeded while awaiting headers) > liuxg@ubuntu:~$ sudo snap install tensorflow-demo --devmode --beta > error: cannot install "tensorflow-demo": Get > https://search.apps.ubuntu.com/api/v1/snaps/details/tensorflow-demo?channel=beta: > net/http: request canceled while waiting for connection (Client.Timeout > exceeded while awaiting headers) > > This has been usually because of CDN issues afaik. The store team should > able to confirm shortly. > In this case, it's an issue just with the initial connection from the client to search.apps.ubuntu.com, before following any CDN url to download the snap. I also tried to reproduce around 40mins after XiaoGuo and couldn't. After trying to reproduce, I checked the apache logs for search.apps.ubuntu.com and saw that during that time it only ever saw requests which resulted in 200 replies: http://paste.ubuntu.com/23602216/ 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 search.apps.ubuntu.com for some network-related reason, but I'm keen for someone else on the store team to check the networking and logs. We have seen this before intermittently, so please if you see a client timeout as above, add your data to: https://bugs.launchpad.net/click-package-index/+bug/1639981 and we'll keep digging. Thanks! -Michael > Can you check status.snapcraft.io to see any outages around the date you > experienced this? > > > I just did a quick test on my classic Ubuntu (AMD64) and was able to > download & install the snap just fine. > > > 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? > > > 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. > > let us know the id and the team will be looking at that asap. > > thx, > Olli > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft >
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft