We are currently encountering persistent connectivity issues within our AppFoundry partner application, which utilizes a Bring Your Own Container (BYOC) architecture to process high-volume interaction data across multiple Genesys Cloud organizations. Our deployment strategy involves hosting custom containerized services in AWS, which communicate with the Genesys Cloud Edge infrastructure via the standard REST API endpoints.
Specifically, we are observing intermittent 504 Gateway Timeout errors when our BYOC containers attempt to query the /api/v2/architect/flows/{flowId} endpoint to retrieve updated flow definitions. This issue predominantly occurs during peak operational hours, typically between 09:00 and 11:00 PST, coinciding with our clients’ highest call volumes. The timeout latency averages approximately 30 seconds before the connection drops, despite our internal network diagnostics showing stable egress connectivity from the AWS VPC to the Genesys Cloud Edge IP ranges.
Our implementation uses the Python SDK version 3.1.0 and includes standard retry logic with exponential backoff. However, the errors persist even after implementing these mitigations. We have verified that the OAuth tokens remain valid and that the Edge configuration allows inbound traffic from our registered container IP addresses. The issue appears isolated to the Architect API calls, as other endpoints such as /api/v2/analytics/interactions/query continue to function without interruption.
We are seeking guidance on potential Edge-side throttling mechanisms or specific configuration requirements for BYOC containers that might be contributing to these timeouts. Has anyone encountered similar latency issues when accessing Architect resources from a BYOC environment at scale? Any insights into best practices for optimizing API calls in this multi-tenant context would be greatly appreciated.