Results 1 to 2 of 2

Thread: snap store proxy in a semi air gapped network

  1. #1
    Join Date
    Jan 2024
    Beans
    4

    snap store proxy in a semi air gapped network

    our main network has a proxy server that provides access to the internet. We also have a private network where most machines can not communicate with the main network. There is however one machine on the private network that is running squid and has the main network proxy as a peer.
    I have create a ubuntu 22.04 VM on the airgapped network and set it up to use the Squid proxy and have installed snap-store-proxy and postgres following these instructions https://docs.ubuntu.com/snap-store-proxy/en/install

    When I check connections "snap-proxycheck-connections" I get the following DNS Errors

    Code:
    sudo snap-proxy check-connections
    http: https://dashboard.snapcraft.io: FAILED (dashboard.snapcraft.io:443) dns lookup error
    http: https://login.ubuntu.com: FAILED (login.ubuntu.com:443) dns lookup error
    http: https://api.snapcraft.io: FAILED (api.snapcraft.io:443) dns lookup error
    postgres: localhost: OK
    Not all connections are accessible
    I have set the environment variables in /etc/systemd/system/snapd.service.d/snap_proxy.conf to point to the squid proxy and restarted snapd

    sudo snap install snap-store-proxy worked OK through the squid proxy
    Does Snap Store Proxy require full DNS resolution even when it has access to a http proxy server?

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: snap store proxy in a semi air gapped network

    Ubuntu 22.04 Desktop Guide - Ubuntu 24.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •