Skip to content

After yq formatted the sing-box configuration file, it could not be started #203

@LQ2002

Description

@LQ2002

If the configuration rule in the configuration file has a local rule source, it will cause the sing-box self-check to fail after yq formatting.

"rule_set": [ { "type": "local", "tag": "MyRule-Proxy", "path": "/data/adb/box/sing-box/My/MyRule-Proxy.json" } ]

03:55 pm [Error]: �[31mFATAL�[0m[0000] marshal object: json: error calling MarshalJSON for type option.RuleSet: expected json object start, but starts with nil
03:55 pm [Error]: Configuration failed. Please check the /data/adb/box/run/sing-box.log file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions