Bug 34745 - Unreachable network raises when syncing with remote App Center server
Unreachable network raises when syncing with remote App Center server
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: App Center
UCS 3.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-05 12:50 CEST by Dirk Wiesenthal
Modified: 2016-10-11 00:05 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2014-05-05 12:50:46 CEST
Reported by feedback (read bottom-up):

Die Ausführung des Kommandos appcenter/invoke_dry_run ist fehlgeschlagen:

URLError: <urlopen error [Errno 101] Das Netzwerk ist nicht
erreichbar>
    raise URLError(err)
  File "/usr/lib/python2.6/urllib2.py", line 1159, in do_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.6/urllib2.py", line 1192, in https_open
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    '_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 409, in _open
    response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 391, in open
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return urllib2.urlopen(request)
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/app
center/util.py", line 117, in urlopen

    zipped = StringIO(urlopen(json_url).read())
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/app
center/app_center.py", line 555, in sync_with_server

    cls.sync_with_server()
  File "/usr/lib/pymodules/python2.6/unive 


Problem is obviously a simple network error. The App Center catches this error only on query() ("App Center is not reachable"), not when invoke_dry_run is called ("Internal module error! Traceback: ...").

It is unclear how the user got the list of all apps so that he could invoke_dry_run as the list is populated in the beginning and cached (so that sync_with_server is not called multiple times). Maybe a timeout?
Comment 1 Florian Best univentionstaff 2014-08-21 12:20:51 CEST
To your question: simply open the specific app directly via the UMC overview, no via the appcenter app overview.
Comment 2 Dirk Wiesenthal univentionstaff 2016-10-11 00:05:50 CEST
Should be handled with UCS 4.1