Usually one needs to export proxies url/ip in order to upload/download content while running behing proxy with shell or any terminal sessions.
Please keep in mind even exporting http_proxy and https_proxy , rsync will not work.
cybeerkeeda@Linux-Maniac:~ export rsync_proxy=xxx.xxx.xx.xx:yyyy
Do replace rsync_proxy=with_your_proxy_url:port