Ferry

Troubleshooting

Almost every routing surprise is answered by the trace. Start there, then check this list.

View Markdown

Start with the trace

Paste the link into Settings › Rules › Test a link, or run:

ferry explain "<the link>" --from <bundle id of the app you clicked in>

The trace shows which rule fired, what was removed, and what the intent resolved to. Most of the answers below are a specific step in it.

Ferry isn’t your default browser. Open Settings; a callout at the top of every tab says so and has the button. You can also check System Settings › Desktop & Dock › Default web browser.

Links you click inside a browser never reach Ferry. Browsers handle their own clicks.

The picker opened when I expected a rule to match

Read the trace’s ending.

Trace ends with Cause Fix
no rule matched (0 of N) → ask Nothing matched Check the rule’s host and other matchers in Test a link
× Chrome has no profile "Profile 1" The intent names a profile that doesn’t exist Pick a real profile in Settings › Intents, or run ferry browsers
× Chrome is not installed The intent’s browser is gone Rebind the intent
? @meeting has no binding on this Mac The intent isn’t set up on this machine Bind it in Settings › Intents
! rule 3 invalid: unknown intent @wrok A rule names an intent that doesn’t exist Fix the name in the rule

You may also have held the picker modifier (fn by default) while clicking.

An earlier rule caught it. Rules run top to bottom and the first match wins; the trace names the rule. Move the narrower rule above the broader one in Settings › Rules.

My regex rule never matches

A regex has to match the whole link. ^https://github\\.com/acme/ matches only that exact text. Add .* to the end, or use prefix, which is made for this.

The source app is wrong

  • A link opened from Terminal with open reports Terminal. That is the app that sent it.
  • A link sent by a launcher or automation tool reports that tool.
  • unknown app means the system didn’t say where the link came from.

Private window or profile wasn’t used

Ferry never downgrades. If it can’t open the private window or profile you asked for, it shows the picker with the reason instead of opening something else. Safari, in particular, can’t be asked to open a private window by another app.

“ferry.toml has an error”

Ferry is still routing with the last version that worked. The message names the line. Fix it and save; Ferry reloads within a second. ferry check gives the same report from a terminal.

ferry open says the app isn’t running

ferry open starts the app and waits up to 3 seconds. If that fails (exit code 4), open Ferry yourself and try again. The other commands don’t need the app.

The picker shows Ferry stopped a loop

The same link arrived three times within five seconds, which usually means something is sending links back to Ferry. Ferry stops and asks rather than bouncing forever. Check that no intent points at an app that hands links back to the default browser.

  • Settings › Agents › Agents can open links may be off.
  • The link isn’t http or https.
  • More than 10 links in 10 seconds trips the rate limit; it clears itself.

Still stuck

Collect the trace as JSON. It is the complete record of the decision:

ferry explain "<the link>" --json