Juju charm fails - behave differently on configuring internal vs organization proxy

Juju currently was not able to download the lxc image on deploying apps if we configure MaaS internal proxy (3128) in juju model-config both for juju-httt(s) and snap; if we configure organization proxy 8080 then lxc image was successful but then charm download fails; how to fix this?