kabapy
kabapy
same Problem here ... connection timeout on my windows 10 dev machine
i think it may be related to redis configuration in the protected Mode in redis conf try disabling protected mode ` protected-mode no `
on further investigation i tried binding to all interfaces instead of loopback, leaving protected mode on ... this is working so far ` bind * -::* ` ` protected-mode yes...
Unfortunately i couldn't resolve this issue I ended up using "ioredis" package instead!!
> @kabapy @maximilize The ConnectionTimeout error is thrown by the underlying node.js socket API, (both packages call `net.connect` under the hood, which throws this error). I'm pretty sure that you...
@leibale that is correct, but I couldn't catch this error in my try...catch block. I end up with a hanging process or a crashed one if my app is dependant...
@leibale I did try that and even tried wrapping it in async function and use try catch block. it do sometime catch the error and I have to terminate the...
quick fix ` result = torj.tokenizer.batch_decode(target, skip_special_tokens=True) `