Node HandbookNODE HANDBOOK
Core startup

Hiddify: failed to start sing-box

Hiddify is a front-end. The message means the child process exited before it could serve, and the reason is in the core's own output, which the app collects but rarely surfaces prominently.

Last updated: 2026-11-24 · Every error string on this page was reproduced on a real client.

What the message actually reports

The app generated a configuration, launched the sing-box binary with it, and the process terminated. The wrapper can only report that the child is gone. Every specific reason — a bad field, a port in use, a missing capability — is written by the core itself before it exits.

So the first action is not to change a setting. It is to read the core log. Hiddify keeps one per session; open it and find the last lines before termination. The pattern below maps what you find to what to change.

Core log saysCauseFix direction
decode config / unmarshalGenerated config is invalid for this core versionVersion skew between app and core
bind: address already in usePort held by a previous instanceKill the stale process
operation not permittedTUN creation deniedPrivilege or driver
no such file on a rule set or geo fileAsset download failedRe-fetch assets
Nothing at all in the logBinary never launchedMissing or blocked executable

Version skew between the app and the core

sing-box changes its configuration schema between minor versions, and it is strict: unknown fields are errors, not warnings. When the app is newer than the bundled core, or the core was replaced by hand with a different build, the generated configuration can contain a field the core does not recognise. The core refuses to start and says so on the decode line.

Check both versions before editing anything:

sing-box version
ls -l /path/to/hiddify/core/

If the app writes route.default_domain_resolver and the core predates that key, no amount of reconfiguring in the UI will help — the mismatch is between two binaries, not between you and the settings. Restore the bundled core or update both together.

The stale process holding a port

When the app closes without terminating its child — a crash, a forced quit, a suspended system — the core keeps running and keeps its listeners. The next launch generates a configuration with the same ports, the new core tries to bind, fails, and exits. The app reports that the core did not start.

This is why restarting the app does not help and rebooting does. Find the orphan before relaunching:

ps aux | grep -i sing-box
ss -ltnp | grep -E '2080|9090|7890'

On Windows the equivalent is Task Manager for the process and netstat -ano | findstr :2080 for the port. Terminate the process, then start the app. If the same port is held by a different proxy client, the choice is to close that one or to let Hiddify pick another port — but only one of them can hold it.

Assets that were never downloaded

Hiddify fetches rule sets and geo databases on first run. If the machine is behind a network that blocks those hosts, or the first run happened while offline, the configuration references files that do not exist. The core treats a missing rule set as fatal at load time rather than at first use.

The log names the path. Delete the partial asset directory and let the app re-fetch it with the tunnel already working, or supply the file manually at the path the log names. Do not create an empty placeholder — an empty rule set parses as valid and silently matches nothing, which is a different and more confusing failure.

The privilege case, briefly

If the log shows operation not permitted rather than a decode or bind error, the problem is not the configuration at all — the core is running but cannot create its TUN device. That is a separate diagnosis with a different fix per platform, and it is covered in the companion page on TUN privileges.

Reporting it usefully

Most bug reports for this message contain only the message. The maintainers cannot act on it. What they need is the block from the core log between launch and exit, plus the app version and the core version. Those three lines usually identify the fault without any further questioning:

hiddify --version
sing-box version | head -2
tail -40 ~/.local/share/hiddify/core.log

Frequently asked

Where is the core log?

In the app's data directory, under a name containing core. The application log viewer shows the same content; the file is easier to search and to attach to a report.

Why does restarting the app not fix it?

Because the orphaned core survives the restart and keeps its ports. Without terminating that process, every relaunch collides with it in the same way.

Can I point Hiddify at a different core build?

Yes on desktop, but do it deliberately. A core from a different release can reject the configuration the app generates, which produces a decode error that looks like a settings problem.

The log is empty. What does that mean?

The binary never produced output, so it either failed to launch or was blocked before it could write. Check that the file exists and is executable, and that security software is not quarantining it.

Does this message mean my subscription is broken?

Only if the core log shows a fetch or decode error involving profile content. A bind or permission error has nothing to do with the subscription.

If the core log stops at geo data

A core that exits while loading geo assets looks identical in the app to one that exits for a missing inbound, because the wrapper only reports that the child process is gone. Read the last line of the core log: when it names a geo file, the fix is in the data directory, not in the inbound settings. The sing-box side of that failure is written up in geosite.dat not found, including the format change from .dat to .srs.