Troubleshooting

Startup Time

Problem: After starting the Sandbox, it takes a long time to load the first page.

Solution: This is normally the result of a configured database that is inaccessible. Depending on how you’ve configured the database, if retry_count, and retry_delay is set but the database is inaccessible, the Sandbox will appear to hang for the duration of retry_count * retry_delay during the startup.

Embedding Rate Limits

Problem: During embedding, especially when using trial keys, you may experience a failure due to rate limits. For example:

Operation Failed: Unexpected error: status_code: 429, body:  
data=None message='trial token rate limit exceeded, limit is 100000 tokens per minute'.

Solution: Set a rate limit based on the API Key restrictions.

Test Framework Evaluation

Problem: During the Evaluation in the test framework, a database error occurs: DPY-4011: the database or network closed the connection

Solution: Increase the memory of the vector_memory_size. If this is an Oracle Autonomous Database, scale up the CPU.