caddyserver / cache-handler

Distributed HTTP caching module for Caddy
Apache License 2.0
235 stars 17 forks source link

Impossible to set value into Redis, invalid expire time in 'set' command #85

Open daflyinbed opened 2 weeks ago

daflyinbed commented 2 weeks ago

caddy 2.8.4 cache-handler v0.13.0

DBG | ts=1718029982.576744 logger=http.handlers.cache msg=Response cache-control &{MustRevalidate:false NoCache:map[] NoCachePresent:false NoStore:false NoTransform:false Public:true Private:map[] PrivatePresent:false ProxyRevalidate:false MaxAge:2592000 SMaxAge:2592000 Immutable:false StaleIfError:-1 StaleWhileRevalidate:-1 Extensions:[]} 
DBG | ts=1718029982.5769842 logger=http.handlers.cache msg=Store the response for GET-http-test.prts.wiki-/load.php?lang=zh-cn&modules=jquery&skin=vector&version=3ozn9{-VARY-}Accept-Encoding:gzip with duration 719h59m59.423201069s 
DBG | ts=1718029982.5798037 logger=http.handlers.cache msg=Stored the key GET-http-test.prts.wiki-/load.php?lang=zh-cn&modules=jquery&skin=vector&version=3ozn9{-VARY-}Accept-Encoding:gzip in the REDIS provider 
DBG | ts=1718029982.5802252 logger=http.handlers.cache msg=Store the tag  
ERR | ts=1718029982.5804055 logger=http.handlers.cache msg=Impossible to set value into Redis, invalid expire time in 'set' command 
DBG | ts=1718029982.5805147 logger=http.handlers.cache msg=Store the tag  
ERR | ts=1718029982.580624 logger=http.handlers.cache msg=Impossible to set value into Redis, invalid expire time in 'set' command 
DBG | ts=1718029982.5807114 logger=http.handlers.cache msg=Store the tag  
ERR | ts=1718029982.5808413 logger=http.handlers.cache msg=Impossible to set value into Redis, invalid expire time in 'set' command 
darkweak commented 2 weeks ago

Hey @daflyinbed maybe that's related to https://github.com/darkweak/souin/issues/523 (on the development repository).