JedisConnectionException: Could not get a resource from the pool

JedisConnectionException: Could not get a resource from the pooljava

ERR Client sent AUTH, but no password is setredis

註釋掉配置裏的password後,運行,出現新bug瀏覽器

java.net.SocketTimeoutException.net

個人redis配置get

發現第一次訪問時會出現那個異常,以後再次刷新瀏覽器異常消失,並且增長poolMaxWait的時間仍是同樣出現這種異常,發現增長timeout時間後正常it

總而言之,redis鏈接不上的話,多考慮下配置問題io

相關文章
相關標籤/搜索