[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-users
Subject:    Re: Snap not doing proxy ???
From:       Colin Watson <cjwatson () ubuntu ! com>
Date:       2022-06-06 14:47:36
Message-ID: Yp4TiD6rpbrjCfFJ () riva ! ucam ! org
[Download RAW message or body]

On Mon, Jun 06, 2022 at 07:45:43AM -0400, Jerry Geis wrote:
> I am updating a 20.04 LTS and the OS is updating but the SNAPs are not
> 
> "unable to connect to snap store".
> 
> This is using a http_proxy - does the SNAP update not obey proxy ?

(The word "snap" isn't an acronym/initialism, so shouldn't be written in
all-caps.)

You can use a proxy for snaps, but it's a bit more complicated than just
using a regular HTTP proxy.  For one thing, all of snapd's communication
with the store is done over HTTPS, and HTTP proxies can't effectively
cache HTTPS unless you do nasty things like setting up a
man-in-the-middle HTTPS certificate so that they can see the encrypted
data and substitute cached versions.

https://docs.ubuntu.com/snap-store-proxy/en/ is a specialized proxy that
works with the snap store.  It's definitely more complicated to set up
than a generic HTTP proxy, but is significantly more useful for
bandwidth reduction, as well as providing some extra management options.

-- 
Colin Watson (he/him)                              [cjwatson@ubuntu.com]

-- 
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic