Snap Store not loading categories

Bug #1904475 reported by motang
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
snap-store-desktop
New
High
Unassigned

Bug Description

Did a recent update this morning and after that the Ubuntu Store does not have any categories list like it used. Has a banner, and few featured applications and everything afterwards are blank.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
ProcVersionSignature: Ubuntu 5.4.0-53.59-generic 5.4.65
Uname: Linux 5.4.0-53-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.12
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 16 16:20:22 2020
InstallationDate: Installed on 2020-11-10 (6 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Snap: snap-store 3.36.0-82-g80486d0 (latest/stable/ubuntu-20.04)
SnapSource: snap-store
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
motang (mohan-ram) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, there was an issue with the store server which was leading to problems on the client and it should be fixed now, do you still see the bug?

Changed in snap-store-desktop:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
motang (mohan-ram) wrote :

No it is working now, thank you. But now it seems to only show snap apps and no deb apps are shown. Just started today.

Revision history for this message
Gerrad Roberts (marvelhawk) wrote :

I'm experiencing a similar issue today after a recent update. Banner and only the Editor's picks.

Revision history for this message
Joe (joejgarcia) wrote :

I am seeing the same thing. Ubuntu 20.04.2

I am behind a corp proxy. I have setup cntlm to get through said proxy. I have set the proxy in settings -> network -> network proxy to manual.

I have noticed that every app works just fine with the values just set to 127.0.0.1 3128

However, if I change the values to http://127.0.0.1 3128, the snap store desktop app works, but no other app works.

Revision history for this message
Moshe Caspi (mcaspi12) wrote :

Got the same issue. Might be related to the fact that I am connecting the desktop to a hotspot only after the system is up. I get the categories only after I do a "killall snap-store". From syslog:

Jul 21 09:34:46 moshe snap-store[1878]: not GsPlugin error snapd-error-quark:10: status-code=500 kind=(null) message=Get https://api.snapcraft.io/api/v1/snaps/sections: dial tcp: lookup api.snapcraft.io: no such host
Jul 21 09:34:46 moshe snap-store[1878]: failed to get categories: no categories to show
Jul 21 09:34:46 moshe snap-store[1878]: not handling error failed for action get-categories: status-code=500 kind=(null) message=Get https://api.snapcraft.io/api/v1/snaps/sections: dial tcp: lookup api.snapcraft.io: no such host
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.Builder.desktop/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.Calculator.desktop/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.clocks.desktop/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.Dictionary.desktop/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.Documents.desktop/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: Only 0 apps for recent list, hiding
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.Evince/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.gedit.desktop/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.Maps.desktop/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: adding wildcard app */*/*/*/org.gnome.Weather/* to plugin cache
Jul 21 09:34:46 moshe snap-store[1878]: not handling error failed for action get-featured: lookup api.snapcraft.io: no such host
Jul 21 09:34:46 moshe snap-store[1878]: hiding category audio-video featured applications: found only 0 to show, need at least 9
Jul 21 09:34:46 moshe snap-store[1878]: hiding category graphics featured applications: found only 0 to show, need at least 9
Jul 21 09:34:46 moshe snap-store[1878]: not handling error failed for action get-category-apps: lookup api.snapcraft.io: no such host
Jul 21 09:34:47 moshe snap-store[1878]: Failed to find refreshable snaps: status-code=500 kind=(null) message=cannot list updates: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup api.snapcraft.io: no such host

Changed in snap-store-desktop:
status: Incomplete → New
Revision history for this message
nany (nany) wrote :

Hello,

I have the same problem in version 21.10.
It happens that "https://api.snapcraft.io/api/v1/snaps/sections" returns a 403 code.
I attach the result of the command "grep 'snap-store' /var/log/syslog" where we find these two lines:

Nov 8 06:08:05 stupidcomputer snap-store[43999]: not GsPlugin error snapd-error-quark:10: status-code=500 kind=(null) message=cannot retrieve sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections"

Nov 8 06:08:05 stupidcomputer snap-store[43999]: not handling error failed for action get-categories: status-code=500 kind=(null) message=cannot retrieve sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections"

Regards.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.