Univention Bugzilla – Full Text Bug Listing |
Summary: | App-center doesn't work through proxies | ||
---|---|---|---|
Product: | UCS | Reporter: | Kevin Dominik Korte <korte> |
Component: | Update - univention-updater | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Felix Botner <botner> |
Severity: | normal | ||
Priority: | P3 | CC: | da, gohmann, jmm, klaeser |
Version: | UCS 3.1 | ||
Target Milestone: | UCS 3.2-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Kevin Dominik Korte
2013-11-22 18:02:39 CET
Can the problem be reproduced with UCS 3.2? In the product tests for the App center, I tried the access via a proxy and that seemed to be fine. The problem occured when trying to run "univention-add-app zarafa" according to http://download.zarafa.com/univention-zarafa-upgrade.html. The App Center was accessible through UMC. A simple test was to fetch https://appcenter.software-univention.de with wget. This fails as long as https_proxy is not set in the environment. At the time we added https_proxy manually in /etc/profile the wget test as well as univention-add-app succeeded. As far as I can see there is no definition of something like "proxy/https" in 3.2 and "proxy/http" will just create http_proxy in the environment. It might be worth checking if this could be a generic feature request as it does not just affect App Center access. Fixed univention-add-app in univention-updater 9.0.38-5.1240.201401091119 YAML updated As for the generic feature request: Sounds reasonable. I did not fix it generically with this bug because of possible incompatibilities (and the numerous places that would need adjustments) within an errata update. I opened Bug#33879 for that. OK, works as expected before: univention-add-app -l zarafa Traceback (most recent call last): File "/usr/sbin/univention-add-app", line 82, in <module> requested_app = Application.find(component_id) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/app_center.py", line 475, in find for application in cls.all(): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/app_center.py", line 612, in all cls._get_category_translations(fake=not localize) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/app_center.py", line 489, in _get_category_translations fp = urlopen(url) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/util.py", line 97, in urlopen return urllib2.urlopen(request) File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/lib/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1192, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.6/urllib2.py", line 1159, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno -2] Name or service not known> after: univention-add-app -l zarafa 09.01.14 18:07:40.433 MODULE ( PROCESS ) : Downloading "https://appcenter.software-univention.de/meta-inf/3.2/index.json.gz"... OK - YAML |