act icon indicating copy to clipboard operation
act copied to clipboard

ECONNREFUSED to artifact service on WSL2 with mirrored networking

Open matt-carr opened this issue 11 months ago • 2 comments

Been trying to use act (0.2.71) to test my workflow but I can't nail the communication between the act container and the artifact service container. I've tried default settings, plus a bunch of the suggestions in https://github.com/nektos/act/issues/329

I have networkingMode=mirrored set in my .wslconfig for compatibility with Cisco AnyConnect VPN, although it doesn't change at all if I'm on the vpn vs not. I'm able to curl the artifact service while act is running, both from within a WSL terminal and within a run step

matt-carr avatar Jan 28 '25 21:01 matt-carr

Are you using the localhost? Maybe you can try using a different ip than localhost

silky1313 avatar Feb 10 '25 09:02 silky1313

I've tried the provided IP, localhost, and 127.0.0.1

matt-carr avatar Feb 24 '25 17:02 matt-carr