HttpRafa / modflared

Automatically connects you to a Cloudflare tunnel without having to install cloudflared separately.
MIT License
39 stars 6 forks source link

Modflared not activating when trying to access servers #47

Open BryceGraves opened 1 month ago

BryceGraves commented 1 month ago

Description

When using modflared with ATM9 in game version 1.20.1 modflared isn't attempting to run cloudflared at all. (no logs are seen)

Versions

Steps to Reproduce

  1. Start game
  2. Navigate to multiplayer
  3. Fails to connect to server
  4. No logs are generated
  5. Exit game
  6. Add forced_tunnels.json with domain
  7. Start game and navigate to multiplayer
  8. Fails to connect to server
  9. No logs are generated

Expected Behavior

I expect to see attempts to connect to the cloudflared tunnel in the server logs

Additional Context

I was able to connect to a different modded server running on the same machine with a different domain, but it required setting forced_tunnels.json so I at least we know it's not a different configuration problem. The versions for context:

tiimk commented 1 month ago

@BryceGraves You say no logs are generated. No client logs either? When launching the modpack does it show in the client logs the mod was loaded? That should be the first thing to verify. Just saying it doesn't work and no logs isn't very descriptive.

I spun up ATM 9 and was able to verify it working. You'll see something like this in your log when you load the server list as well if it has been setup correctly on the domain side.

[pool-7-thread-1/INFO] [cloudflared-windows-amd64.exe access tcp --hostname atm9.domain.net --url 127.0.0.1:33782]