Bug 53502 - NetworkError: Network is unreachable
NetworkError: Network is unreachable
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
: 53591 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-23 09:40 CEST by Christian Castens
Modified: 2022-11-09 14:16 CET (History)
1 user (show)

See Also:
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: 2021052821000619, 2021052921000224, 2021111821000082, 2021060121000524, 2021060121000364, 2021060121000033, 2021062321000215, 2021071221000243, 2021070821000635, 2021072021000701, 2021072021000693, 2021081721000251, 2021080921000211, 2021080521000255
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Castens univentionstaff 2021-06-23 09:40:46 CEST
Version: 4.4-8 errata983 (Blumenthal)

Error:
Error contacting the update server. Please check your proxy or firewall settings, if any. Or it may be a problem with your configured DNS server. This is the error message: Network
is unreachable
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 449, in status
    blocking_apps = update_check.get_blocking_apps(ucs_version=str(result['release_update_available']))
  File "%PY2.7%/univention/appcenter/actions/update_check.py", line 114, in get_blocking_apps
    update.call()
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call
    return obj.call_with_namespace(namespace)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "%PY2.7%/univention/appcenter/actions/update.py", line 87, in main
    if self._download_apps(app_cache):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 180, in _download_apps
    if self._download_files(app_cache, filenames):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 159, in _download_files
    new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 60, in _func
    raise NetworkError(verbose_http_error(exc))
NetworkError: Network is unreachable

Role: domaincontroller_master
Comment 1 Christian Castens univentionstaff 2021-06-23 09:43:19 CEST
Version: 4.4-8 errata983 (Blumenthal)

Error:
Error contacting the update server. Please check your proxy or firewall settings, if any. Or it may be a problem with your configured DNS server. This is the error message: There
is a problem with the certificate of the App Center server https://appcenter.software-univention.de. (('_ssl.c:645: The handshake operation timed out',))
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 449, in status
    blocking_apps = update_check.get_blocking_apps(ucs_version=str(result['release_update_available']))
  File "%PY2.7%/univention/appcenter/actions/update_check.py", line 120, in get_blocking_apps
    update.call(ucs_version=next_minor, cache_dir=cache_dir, just_get_cache=True)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call
    return obj.call_with_namespace(namespace)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "%PY2.7%/univention/appcenter/actions/update.py", line 87, in main
    if self._download_apps(app_cache):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 180, in _download_apps
    if self._download_files(app_cache, filenames):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 159, in _download_files
    new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 60, in _func
    raise NetworkError(verbose_http_error(exc))
NetworkError: There is a problem with the certificate of the App Center server https://appcenter.software-univention.de. (('_ssl.c:645: The handshake operation timed out',))

Role: domaincontroller_master
Comment 2 Christian Castens univentionstaff 2021-06-23 09:45:27 CEST
Version: 4.4-8 errata974 (Blumenthal)

Error:
Error contacting the update server. Please check your proxy or firewall settings, if any. Or it may be a problem with your configured DNS server. This is the error message: Error
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 449, in status
    blocking_apps = update_check.get_blocking_apps(ucs_version=str(result['release_update_available']))
  File "%PY2.7%/univention/appcenter/actions/update_check.py", line 114, in get_blocking_apps
    update.call()
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call
    return obj.call_with_namespace(namespace)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "%PY2.7%/univention/appcenter/actions/update.py", line 78, in main
    if self._download_supra_files(appcenter_cache):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 146, in _download_supra_files
    return self._download_files(appcenter_cache, ['app-categories.ini', 'rating.ini', 'license_types.ini', 'ucs.ini', 'suggestions.json'])
  File "%PY2.7%/univention/appcenter/actions/update.py", line 159, in _download_files
    new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 60, in _func
    raise NetworkError(verbose_http_error(exc))
NetworkError: Error

Role: domaincontroller_master
Comment 3 Christian Castens univentionstaff 2021-08-20 10:26:21 CEST
*** Bug 53591 has been marked as a duplicate of this bug. ***
Comment 4 Maximilian Janßen univentionstaff 2021-11-24 15:29:45 CET
Reported again: 2021052821000548
Version: 4.4-8 errata983 (Blumenthal)

Reported again: 2021052821000299
Version: 4.4-8 errata979 (Blumenthal)
Comment 5 Maximilian Janßen univentionstaff 2021-11-26 11:01:58 CET
Reported again: 2021112621000281
Version: 4.4-8 errata1111 (Blumenthal)
Comment 6 Maximilian Janßen univentionstaff 2022-01-31 09:29:49 CET
reported again (with a longer traceback): 2022013021000165

Version: 4.4-8 errata983 (Blumenthal)

Error: 
Error contacting the update server. Please check your proxy or firewall settings, if any. Or it may be a problem with your configured DNS server. This is the error message: ('The
read operation timed out',)
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 449, in status
    blocking_apps = update_check.get_blocking_apps(ucs_version=str(result['release_update_available']))
  File "%PY2.7%/univention/appcenter/actions/update_check.py", line 120, in get_blocking_apps
    update.call(ucs_version=next_minor, cache_dir=cache_dir, just_get_cache=True)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call
    return obj.call_with_namespace(namespace)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "%PY2.7%/univention/appcenter/actions/update.py", line 87, in main
    if self._download_apps(app_cache):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 180, in _download_apps
    if self._download_files(app_cache, filenames):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 159, in _download_files
    new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 58, in _func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/appcenter/actions/update.py", line 214, in _download_file
    response = urlopen(request)
  File "%PY2.7%/univention/appcenter/utils.py", line 325, in urlopen
    return urllib_request.urlopen(request, timeout=60)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "%PY2.7%/univention/appcenter/utils.py", line 312, in https_open
    return self.do_open(HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1137, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 448, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 404, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/ssl.py", line 766, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 653, in read
    v = self._sslobj.read(len)
SSLError: ('The read operation timed out',)

Role: domaincontroller_master
Comment 7 Maximilian Janßen univentionstaff 2022-02-16 10:59:40 CET
reported again: 2022021121000387
Version: 4.4-8 errata983 (Blumenthal)
same traceback as Comment #1
Comment 8 Maximilian Janßen univentionstaff 2022-03-09 15:17:52 CET
reported again: 2022030721000508
Version: 4.4-8 errata992 (Blumenthal)
Remark: This keeps happening when we login even after updates
same traceback as Comment #3 (description)
Comment 9 Mika Westphal univentionstaff 2022-10-27 17:48:37 CEST
Reported again: 2022101721000717
Version: 4.4-9 errata1280 (Blumenthal)

Error:
Error contacting the update server. Please check your proxy or firewall settings, if any. Or it may be a problem with your configured DNS server. This is the error message: Network
is unreachable
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 449, in status
    blocking_apps = update_check.get_blocking_apps(ucs_version=str(result['release_update_available']))
  File "%PY2.7%/univention/appcenter/actions/update_check.py", line 114, in get_blocking_apps
    update.call()
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call
    return obj.call_with_namespace(namespace)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "%PY2.7%/univention/appcenter/actions/update.py", line 87, in main
    if self._download_apps(app_cache):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 180, in _download_apps
    if self._download_files(app_cache, filenames):
  File "%PY2.7%/univention/appcenter/actions/update.py", line 159, in _download_files
    new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version)
  File "%PY2.7%/univention/appcenter/actions/__init__.py", line 60, in _func
    raise NetworkError(verbose_http_error(exc))
NetworkError: Network is unreachable

Role: domaincontroller_master
Comment 10 Mika Westphal univentionstaff 2022-10-28 09:29:41 CEST
Reported again: 2022102821000189
Version: 4.4-9 errata1325 (Blumenthal)
Role: domaincontroller_backup
Comment 11 Mika Westphal univentionstaff 2022-11-04 10:56:19 CET
Reported again: 2022103121000182
Version: 4.4-9 errata1250 (Blumenthal)
Role: domaincontroller_backup
Comment 12 Mika Westphal univentionstaff 2022-11-09 14:16:27 CET
Reported again: 2022110821000429
Version: 4.4-9 errata1332 (Blumenthal)
Role: domaincontroller_master