Common Program Exceptions
Exception Occurred -- Input parameter [net.polyv.vclass.v1.entity.lesson.VClassAddLessonRequest] object validation failed, failed field [Attribute appId cannot be empty]
Solution: The Polyv Interactive Classroom service platform system parameters were not initialized when the system started. For the solution, refer to: Quick Integration
Exception Occurred -- Timeout waiting for connection from pool
Solution: Since the Polyv Interactive Classroom Java SDK uses an HTTP thread pool design, the default thread pool size is 100, with a timeout of 20s. If your service has a high number of concurrent requests, you can adjust the thread pool parameter size, up to a maximum of 300. For details, refer to: Quick Integration - System Initialization
Exception Occurred -- java.net.SocketTimeoutException: Read timed out
Solution: Since the Polyv Interactive Classroom Java SDK uses an HTTP thread pool design, the default thread pool size is 100, with a timeout of 20s. If your network conditions are not ideal, please adjust your network. Ensure a stable network connection to the Polyv server domain [api.polyv.net], or you can adjust the timeout duration, up to a maximum of 30s. For details, refer to: Quick Integration - System Initialization
