cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

cloudflared access rdp process stops working after network changes unless it is restarted

Open AlexTech01 opened this issue 1 year ago • 0 comments

Describe the bug The cloudflared access rdp process stops working after any network changes are made (e.g. disconnecting from Wi-Fi or changing to another network) on macOS.

To Reproduce Steps to reproduce the behavior:

  1. Establish a connection with the cloudflared access rdp command on macOS.
  2. Disconnect and reconnect to Wi-Fi.
  3. Notice that Microsoft Remote Desktop will no longer be able to connect until the cloudflared access rdp process is quit and restarted.

Expected behavior Cloudflared automatically reconnects once the network connection is restored.

Environment and versions

  • OS: macOS 15
  • Architecture: ARM/Apple Silicon
  • Version: 2024.6.1

Additional context I was running cloudflared access rdp on a Mac running macOS 15 beta 4, with the cloudflared.exe tunnel installed on a Windows computer running the latest version of Windows 11. The same version of cloudflared (2024.6.1) was used on both machines. There is a workaround to this problem, which involves making a bash script to constantly check for network changes and restart cloudflared in the event of a change.

AlexTech01 avatar Jul 27 '24 20:07 AlexTech01