-
Bug
-
Resolution: Done
-
Medium
-
Istanbul Release
Logs from the Policy Sync Container running inside KPI-MS
File "/policysync/lib/python3.8/site-packages/policysync/clients.py", line 365, in get_config
data = await self._run_request(self.decision, request_data)
File "/policysync/lib/python3.8/site-packages/policysync/clients.py", line 72, in _run_request
async with session.post(
File "/policysync/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in aenter
self._resp = await self._coro
File "/policysync/lib/python3.8/site-packages/aiohttp/client.py", line 625, in _request
resp.raise_for_status()
File "/policysync/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1000, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url=URL('https://policy-xacml-pdp:6969/policy/pdpx/v1/decision')
Issue: 401 Unauthorized
Here is the Configuration
POLICY_SYNC_PDP_USER: <set to the key 'login' in secret 'policy-policy-xacml-pdp-api-creds'> Optional: false
POLICY_SYNC_PDP_PASS: <set to the key 'password' in secret 'policy-policy-xacml-pdp-api-creds'> Optional: false
Instead of
policy-policy-xacml-pdp-api-creds, it should use policy-policy-xacml-pdp-restserver-creds