All Products
Search
Document Center

Enterprise Distributed Application Service:Error code: HSF-0023

Last Updated:Mar 11, 2026

HSF (High-speed Service Framework) returns this error when a weight rule cannot be parsed or applied.

Error message

An error occurs when configuring the weight rule.

Cause

The weight rule could not be parsed, or the parsed rule could not be applied to the target service. Common scenarios include:

  • Invalid rule syntax -- The weight rule contains formatting errors such as missing delimiters, incorrect key-value pairs, or unsupported characters.

  • Parse failure -- The rule content does not match the expected format for the current HSF version.

  • Application failure -- The rule parsed successfully, but the target service identified by uniqueName is not registered or is unavailable.

Solution

Check the weight rule configuration entries in Hsf-config.log to determine whether the rule was parsed and applied.

Step 1: Open the log file

Open Hsf-config.log in your application's log directory and search for [Weighting Component].

Step 2: Check the parsing result

A successful parse produces the following log entry:

[Weighting Component] Weighting rule for service: [$ {uniqueName}] parsed OK: ${weightingRule}
VariableDescription
${uniqueName}The unique identifier of the target service
${weightingRule}The parsed weight rule content

If this entry is missing or replaced by a parsing error, the rule syntax is invalid. Review the rule content for formatting issues.

Step 3: Fix the rule

If the log shows a parsing error:

  1. Compare the weight rule against the expected format for your HSF version.

  2. Verify that all service names referenced in the rule match registered services.

  3. Confirm that weight values are within the valid range.

If the log shows a successful parse but the rule is not applied:

  1. Confirm that the target service identified by uniqueName is running and registered.

  2. Check for conflicting rules on the same service.

Step 4: Reapply and verify

After you correct the rule, reapply it and check Hsf-config.log for the parsed OK confirmation.