Hi dear team, would like to ask something. I notic...
# general
y
Hi dear team, would like to ask something. I noticed that recently whenever the access is changed for a user (roles assigned or removed), the delay between it and until it reflected in the PDP takes more than 10-15 minutes now. Previously it was less than 5 seconds. For example, when I added more roles, when i do get user api call (https://api.permit.io/v2/redoc#tag/Users/operation/get_user), i can already see the role being assigned. But permit.getUserPermissions via the SDK still doesn't render the allowed resources (unlike previously it should have been reflected less than 5 seconds). Also permit.check sdk call also return false for that result. This 2 only return correct result after 10 minutes.
o
1. Please ask questions in #C02RTML2WNN 2. let's let @Ask Inkeep suggest 3. This is likely a networking, configuration, or resource allocation issue on the PDP 4. Please examine the PDP logs 5. Please be sure you are using the latest version of the PDP 6. Try restarting your PDP and check for the issue 7. When you approach us with an issue report please provide logs, your workspace/project/environment and other details so we can investigate
a
Thanks for tagging me @Or Weis. I'll look through relevant sources and get back to you shortly.
Based on the symptoms you're describing—where role changes appear immediately in the API but take 10-15 minutes to reflect in
permit.check()
and ` permit.getUserPermissions() `—this points to a PDP sync issue. To help investigate, I'll need: 1. ​*Which Workspace / Project / Environment*​ you're using 2. ​*What calls are you performing*​ (SDK code or CURL examples) 3. ​*Which PDP version*​ you're running 4. ​*Relevant logs from your PDP*​ (especially around the time of role changes) Immediate troubleshooting steps: ​*Check your PDP logs*​ for sync errors or delays. Look for messages about policy/data updates from OPAL. ​*Verify your PDP version*​ and update to the latest if needed. Older versions may have sync performance issues. ​*Restart your PDP*​ to force a fresh sync and see if the delay persists. ​*Review PDP resources*​ (CPU, memory, network) . Resource constraints can slow down real-time updates. The fact that the API reflects changes immediately but the PDP lags suggests the PDP isn't receiving or processing OPAL updates promptly. This could be due to networking iss
Feel free to tag me with additional questions. I also appreciate feedback, it helps me improve. 👍 button 👎 button
y
I will move this query to saas channel