FACT_core icon indicating copy to clipboard operation
FACT_core copied to clipboard

IN WSL2 KALI "ConnectionRefusedError: [Errno 111] Connection refused"

Open star-star-87 opened this issue 2 years ago • 2 comments

I install FACT in WSL2 KALI .when run ./start_fact.py it return as bellow show " [2022-12-12 19:23:42][comparison_scheduler][INFO]: Comparison Scheduler online... Traceback ConnectionRefusedError: [Errno 111] Connection refused(most recent call last): File "/usr/lib/python3/dist-packages/redis/connection.py", line 611, in connect sock = self.retry.call_with_retry( File "/usr/lib/python3/dist-packages/redis/retry.py", line 46, in call_with_retry return do() File "/usr/lib/python3/dist-packages/redis/connection.py", line 612, in lambda: self._connect(), lambda error: self.disconnect(error) File "/usr/lib/python3/dist-packages/redis/connection.py", line 677, in _connect raise err File "/usr/lib/python3/dist-packages/redis/connection.py", line 665, in _connect sock.connect(socket_address) ConnectionRefusedError: [Errno 111] Connection refused "

star-star-87 avatar Dec 12 '22 11:12 star-star-87

It seems Redis cannot be reached. Is it installed? If yes, what does service redis status return? If is does not say "active (running)", you could try restarting it with sudo service redis restart. If you cannot get it to run, you could also try running it as a docker container (you may need to update the address/port in main.cfg then).

jstucke avatar Dec 13 '22 09:12 jstucke

Hi star-star-87,

I'd be interested if you made any progress here. WSL(2) was always interesting to us as far as support, but we never made it work. If you were able to get FACT to run on any WSL (Kali or other), it would be useful to document the necessary environmental adaptations (if any).

dorpvom avatar Dec 20 '22 09:12 dorpvom