[GH-ISSUE #2636] ECONNREFUSED to artifact service on WSL2 with mirrored networking #1196

Open
opened 2026-03-01 21:49:36 +03:00 by kerem · 3 comments
Owner

Originally created by @matt-carr on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/2636

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

Originally created by @matt-carr on GitHub (Jan 28, 2025). Original GitHub issue: https://github.com/nektos/act/issues/2636 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
Author
Owner

@silky1313 commented on GitHub (Feb 10, 2025):

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

<!-- gh-comment-id:2647427955 --> @silky1313 commented on GitHub (Feb 10, 2025): Are you using the localhost? Maybe you can try using a different ip than localhost
Author
Owner

@matt-carr commented on GitHub (Feb 24, 2025):

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

<!-- gh-comment-id:2679236136 --> @matt-carr commented on GitHub (Feb 24, 2025): I've tried the provided IP, localhost, and 127.0.0.1
Author
Owner

@IsaacInsoll commented on GitHub (Jan 5, 2026):

I'm having the same problem. I added networkingMode=mirrored which enables me to build Expo apps from within WSL2 and access them from the devices on the lan, but it has broken actions/upload-artifact@v4

<!-- gh-comment-id:3710048108 --> @IsaacInsoll commented on GitHub (Jan 5, 2026): I'm having the same problem. I added `networkingMode=mirrored` which enables me to build Expo apps from within WSL2 and access them from the devices on the lan, but it has broken `actions/upload-artifact@v4`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1196
No description provided.