diff --git a/reportbug/checkversions.py b/reportbug/checkversions.py
index d94bf76..c37399d 100644
--- a/reportbug/checkversions.py
+++ b/reportbug/checkversions.py
@@ -84,7 +84,7 @@ def get_versions_available(package, timeout, dists=None, http_proxy=None, arch='
     # or to binary packages available on the current arch
     url += '&a=source,all,' + arch
     try:
-        page = open_url(url)
+        page = open_url(url, http_proxy, timeout)
     except NoNetwork:
         return {}
     except urllib.error.HTTPError as x:
diff --git a/reportbug/urlutils.py b/reportbug/urlutils.py
index c16e48c..a3f2e20 100644
--- a/reportbug/urlutils.py
+++ b/reportbug/urlutils.py
@@ -146,6 +146,7 @@ def open_url(url, http_proxy=None, timeout=60):
     proxies = urllib.request.getproxies()
     if http_proxy:
         proxies['http'] = http_proxy
+        proxies['https'] = http_proxy
 
     try:
         page = urlopen(url, proxies, timeout)

Reply via email to