Description
When attempting to connect or configure Tailscale Remote routes on Linux where the current user has not been granted Tailscale operator permissions (sudo tailscale set --operator=$USER), remote:tailscaleConnect throws an unhandled rejection:
Error occurred in handler for 'remote:tailscaleConnect': Error: tailscale_permission_denied
at AidenRemoteTailscaleController.applyExactRouteMutation (file:///home/sambit/projects/aiden-agent/build/main/index.js:57408:43)
at async file:///home/sambit/projects/aiden-agent/build/main/index.js:57425:41
at async withAidenTailscaleRouteLock (file:///home/sambit/projects/aiden-agent/build/main/index.js:57073:12)
at async file:///home/sambit/projects/aiden-agent/build/main/index.js:56694:11
Steps to Reproduce
- Start Aiden on Linux without granting Tailscale operator permissions (
sudo tailscale set --operator=$USER).
- In Settings -> Remote Access, attempt to connect Tailscale.
- Observe unhandled error logged in Electron process console.
Expected Behavior
remote:tailscaleConnect should handle tailscale_permission_denied gracefully, updating the connection status or returning a structured error outcome so the UI can guide the user to run sudo tailscale set --operator=$USER without throwing an unhandled IPC rejection.
Description
When attempting to connect or configure Tailscale Remote routes on Linux where the current user has not been granted Tailscale operator permissions (
sudo tailscale set --operator=$USER),remote:tailscaleConnectthrows an unhandled rejection:Steps to Reproduce
sudo tailscale set --operator=$USER).Expected Behavior
remote:tailscaleConnectshould handletailscale_permission_deniedgracefully, updating the connection status or returning a structured error outcome so the UI can guide the user to runsudo tailscale set --operator=$USERwithout throwing an unhandled IPC rejection.