Io ho risolto esportando da terminale le variabili http_proxy=user:pass@host:port<br>