Use this to check if you have a configured proxy:
sudo snap get system proxy.http
sudo snap get system proxy.https
If they are unset, you will get something like:
error: snap "core" has no "proxy.http" configuration option
To unset them:
sudo snap set system proxy.http!
sudo snap set system proxy.https!