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