Polyv Help Center

Help Center

Common Program Exceptions

Updated: 2022-07-19 09:38:38

Exception – Input parameter [net.polyv.vod.v1.entity.chat.VodBadWordRequest] object validation failed, failed field [attribute appId cannot be empty]

Solution: The Polyv VOD 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 VOD Java SDK uses an HTTP thread pool design, the thread pool default 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 VOD Java SDK uses an HTTP thread pool design, the thread pool default initial size is 100, with a timeout of 20s. If your network conditions are poor, please adjust your network. Ensure stable network connectivity with the Polyv server domain [api.polyv.net], or you can adjust the timeout to a maximum of 30s. For details, refer to: Quick Integration - System Initialization

联系客服,在线咨询