Bug 56281 - schoolimport/dry-run/progress: ucsschool.http_api.client.ServerError: Received status_code=502 with reason='Proxy Error'
schoolimport/dry-run/progress: ucsschool.http_api.client.ServerError: Receive...
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 5.0
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-06 18:49 CEST by Maximilian Janßen
Modified: 2023-07-06 18:49 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
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: 2023022021000706
Bug group (optional): 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 Maximilian Janßen univentionstaff 2023-07-06 18:49:49 CEST
Version: 5.0-3 errata576 - UCS@school 5.0 v3

Remark: Nach Dem Update des UCS mit der neun Version am 9.02.2023 funktioniert der Import nicht mehr. Selbst der Import mit der davor funktionierenden Datei wird bei der Prüfung
abgelehnt. Auch ist bei der Zuordnung Lehrer oder Schueler nun die englische Bezeichnung.

Error:
Interner Server-Fehler in "schoolimport/dry-run/progress".
Request: schoolimport/dry-run/progress

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 351, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 254, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 650, in _decorated
    return function(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 327, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 447, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 295, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/schoolimport/__init__.py", line 250, in poll_dry_run
    return progress.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 105, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 692, in reraise
    raise value.with_traceback(tb)
ucsschool.http_api.client.ServerError: Received status_code=502 with reason='Proxy Error' for requests.post(**url='https://***.***.**/api/v1/imports/users/',
data={'dryrun': True, 'school': 'https://***.***.**/api/v1/schools/***/', 'user_role': 'teacher'}, files={'input_file': '***.CSV'},
params=None, auth=('Administrator', '***'), headers={'Accept': 'application/json'}).

Role: domaincontroller_master