Univention Bugzilla – Bug 34526
Error handling during sync when app center server is not available
Last modified: 2020-07-03 20:54:59 CEST
The traceback below occurred during a jenkins test script. To avoid this error, the sync could be done in a smarter way, e.g., with a second re-trial after some time. > Traceback (most recent call last): > File "20_can_apps_be_installed", line 78, in <module> > Application.sync_with_server() > File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/app_center.py", line 555, in sync_with_server > zipped = StringIO(urlopen(json_url).read()) > File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/util.py", line 117, 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>
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.