Bug 53848 - 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: Name or service not known. This is probably due to the DNS settings of your server
Error contacting the update server. Please check your proxy or firewall setti...
Status: NEEDMOREINFO
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-28 16:20 CEST by Riya Bhattacharjee
Modified: 2023-07-07 17:16 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
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: 2021082121000261, 2023050821000233
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Riya Bhattacharjee univentionstaff 2021-09-28 16:20:59 CEST

    
Comment 1 Riya Bhattacharjee univentionstaff 2021-09-28 16:22:57 CEST
UCS Version: 4.4-8 errata1019 (Blumenthal)

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: Name or service not known. This is probably due to the DNS settings of your server. You may find help at https://docs.software-univention.de/manual-4.4.html#networks:dns.
Request: status

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/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 "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update_check.py", line 114, in get_blocking_apps
    update.call()
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 220, in call
    return obj.call_with_namespace(namespace)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 78, in main
    if self._download_supra_files(appcenter_cache):
  File "/usr/lib/python2.7/dist-packages/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 "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 159, in _download_files
    new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 60, in _func
    raise NetworkError(verbose_http_error(exc))
NetworkError: Name or service not known. This is probably due to the DNS settings of your server. You may find help at https://docs.software-univention.de/manual-4.4.html#networks:dns.
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: Name or service not known. This is probably due to the DNS settings of your server. You may find help at https://docs.software-univention.de/manual-4.4.html#networks:dns.
Comment 2 Philipp Hahn univentionstaff 2021-09-28 19:08:18 CEST
This is just one of the tickets opened via the UCS feedback mechanism shown in UMC when an error occurs.

Without any details on the exact network setting we cannot do anything and can only close this bug.

We could/should improve the error handling and only show the high-level error to the user, but include the low-level details only when submitting the feedback. Currently it's too easy for users to annoy as with these traceback reports, which currently provides little value.