Troubleshooting
This guide is intended for KOR Trade Repository clients. Product-specific installation steps, configuration names, error codes, log locations, and support channels were not provided, so the guidance below uses safe, generally applicable procedures. Confirm any environment-specific instructions with KOR documentation or Support before making production changes.
1. Common issues
Client cannot connect to the Trade Repository
Possible causes include:
- Incorrect endpoint, port, or environment selection.
- Network firewall or proxy restrictions.
- Expired client certificate or unavailable private key.
- DNS resolution problems.
- Temporary service unavailability.
- Incorrect credentials or insufficient permissions.
Recommended checks:
- Confirm whether the client is configured for the correct environment, such as test or production.
- Verify the endpoint and port against the connection details provided by KOR.
- Check whether the host resolves correctly from the client server.
- Confirm that outbound traffic is permitted through the firewall and proxy.
- Check certificate validity, certificate chain, and private-key availability.
- Retry the connection after confirming the service status.
- Record the exact timestamp, endpoint, and error message if the problem persists.
Trade submissions remain pending or are not acknowledged
Possible causes include:
- The submission was rejected before processing.
- Required fields are missing or invalid.
- The submission format or schema is outdated.
- The client is not polling for acknowledgements.
- A processing delay exists in the target environment.
- The submission identifier is being queried incorrectly.
Recommended checks:
- Locate the original submission identifier.
- Check the client’s outbound queue and acknowledgement queue.
- Review the response or acknowledgement file, if available.
- Validate the payload against the currently approved schema.
- Confirm that the client is checking the correct environment.
- Avoid repeatedly resubmitting the same transaction until the original status is known.
- Contact KOR Support with the submission identifier and timestamps if the status remains unresolved.
2. Installation problems
Installation fails or stops unexpectedly
Before retrying:
- Confirm that the server meets the required operating system, runtime, storage, and memory requirements.
- Verify that the installer was downloaded completely and from an approved source.
- Check that the installation account has the required privileges.
- Ensure that endpoint security software is not blocking installation files.
- Confirm that required dependencies are installed and supported.
- Review the installer output for the first failure, not only the final summary message.
- Remove only incomplete installation artifacts that are safe to delete, then retry using the documented installation procedure.
If no KOR-specific installer requirements are available, use the requirements supplied with the client package. Do not install unapproved versions of dependencies in a production environment.
The client starts after installation but cannot access required files
This is commonly caused by file ownership or service-account permissions.
Check:
- The account running the client service.
- Read and write access to inbound, outbound, archive, temporary, and log directories.
- Access to certificate and key files.
- Access to network-mounted storage.
- File and directory paths containing unsupported characters or incorrect separators.
- Security policies that prevent service accounts from reading private keys.
Use the least-privilege permissions required by the application. Do not make certificate directories or application directories globally writable.
3. Configuration errors
Invalid endpoint, environment, or connection settings
Verify each connection setting against the KOR-provided configuration:
- Hostname or URL.
- Port.
- Protocol.
- Proxy settings.
- Timeout values.
- Environment name.
- Authentication method.
- Certificate and key references.
- Trust-store or certificate-authority settings.
Common mistakes include copying production settings into a test environment, including an extra space in a URL, using the wrong port, or referencing a certificate file that exists on a different server.
After changing configuration:
- Save a backup of the current configuration.
- Change one setting at a time.
- Restart or reload the client according to its operating procedure.
- Perform a non-production connectivity test where possible.
- Record the change and its result.
Authentication or certificate configuration fails
For certificate-based connections, check:
- The certificate is within its validity period.
- The certificate subject or subject alternative name matches the expected service identity.
- The complete certificate chain is installed.
- The private key is present and readable by the client process.
- The certificate and private key belong together.
- The system clock is accurate.
- The certificate has not been revoked or replaced.
- The configured alias or certificate identifier is correct.
For username and password authentication, confirm that:
- The account is active.
- The password has not expired.
- The account is authorized for the selected environment.
- Credentials were not altered by escaping, quoting, or environment-variable expansion.
- The client is not using stale credentials from a cache.
Never include passwords or private keys in support tickets or log attachments.
Schema or validation configuration errors
If a payload fails validation:
- Confirm the message type and version.
- Use the schema version approved for the target environment.
- Check required fields, data types, enumeration values, date formats, and decimal precision.
- Confirm that identifiers use the required format and length.
- Check whether conditional fields are required for the selected transaction type.
- Validate the message before submitting it.
- Compare the rejected message with a known valid example, removing confidential data first.
Do not resolve schema errors by disabling validation unless KOR explicitly instructs you to do so.
4. Runtime issues
The client service stops or repeatedly restarts
Collect the following information before restarting repeatedly:
- Service start and stop times.
- Operating system events.
- Application logs surrounding the first failure.
- Recent configuration, certificate, dependency, or operating-system changes.
- Available disk space and memory.
- The account used to run the service.
- Whether the failure affects all transactions or only a specific message type.
Common causes include invalid configuration, unavailable dependencies, expired credentials, inaccessible directories, insufficient resources, and unhandled malformed input.
If the client is processing a queue, preserve the queue and transaction state before deleting files or reinstalling the application. Removing queued files can make recovery and reconciliation more difficult.
Submissions fail intermittently
Intermittent failures often indicate a network, timeout, resource, or rate-related problem.
Check:
- Whether failures occur at a particular time or volume.
- Whether all requests use the same endpoint and credentials.
- Connection and read timeout values.
- Proxy and firewall idle-connection behavior.
- CPU, memory, disk, and network utilization.
- Whether retries create duplicate submissions.
- Correlation or transaction identifiers for both successful and failed attempts.
Use controlled retries only if the client or KOR protocol defines them as safe. For transactions with unknown final status, query the status before submitting again.
5. Diagnostic procedures
Use the following sequence for most incidents:
- Define the symptom Record what failed, when it started, the affected environment, and whether all users or only one client are affected.
- Identify the scope Determine whether the issue affects connectivity, authentication, message validation, submission processing, acknowledgements, or reporting.
- Check recent changes Review configuration edits, certificate renewals, software updates, firewall changes, schema changes, and operating-system maintenance.
- Test the simplest dependency first Check DNS, network reachability, endpoint access, certificate availability, and local file permissions.
- Run a controlled test Use a non-production test transaction or approved health-check procedure. Do not alter production data solely for troubleshooting.
- Compare with a known-good case Compare a failed transaction with a recent successful transaction, while protecting confidential information.
- Review logs and identifiers Correlate client logs, server responses, transaction IDs, and timestamps.
- Apply one corrective change Make a single reversible change, then repeat the controlled test.
- Validate recovery Confirm both successful submission and correct acknowledgement or status retrieval.
- Document the outcome Record the cause, fix, affected transactions, and any follow-up action.
6. Log analysis
What to look for
When reviewing logs, focus on:
- Timestamp, including timezone.
- Severity level.
- Component or module name.
- Transaction, submission, or correlation identifier.
- Endpoint and environment.
- Authentication or certificate details, without exposing secrets.
- Request and response status.
- Retry count.
- Exception type and the first underlying cause.
- File path or queue name.
- Processing duration.
The first error in a sequence is often more useful than later errors such as “operation failed” or “connection closed.”
How to collect useful logs
- Reproduce the issue once, if safe.
- Note the exact start and end time.
- Export only the relevant log window.
- Include the associated transaction or correlation identifier.
- Preserve the original log file before filtering or rotating it.
- Remove passwords, private keys, tokens, personal data, and confidential transaction content.
- Include the client version and environment with the report.
Do not enable verbose or debug logging in production unless authorized. Debug logs may contain sensitive message content.
Interpreting common log messages
- Connection refused: The host was reachable, but the target port or service did not accept the connection. Check service availability, port configuration, and firewall rules.
- Connection timed out: The client did not receive a response within the configured period. Check routing, firewall, proxy, service load, and timeout values.
- DNS resolution failed: The configured hostname could not be resolved. Check DNS configuration, hostname spelling, and network access.
- Certificate validation failed: The certificate chain, hostname, validity period, trust store, or system clock may be incorrect.
- Unauthorized or forbidden: Credentials may be invalid, expired, or insufficiently authorized.
- Validation failed: The payload does not meet the required schema or business rules.
- Duplicate submission: The same transaction or identifier may have been submitted previously. Query its status before resubmitting.
- Disk full or access denied: The client cannot create, read, or write a required file.
7. Step-by-step troubleshooting scenario
A transaction cannot be submitted
- Confirm that the client service is running.
- Confirm that the transaction is present in the outbound queue.
- Check the message format and required fields.
- Confirm the target environment and endpoint.
- Test network connectivity.
- Validate the certificate or authentication settings.
- Review the submission log using the transaction identifier.
- Check for a response, rejection, or duplicate status.
- If no final status exists, do not immediately resubmit.
- Escalate with the transaction identifier, timestamp, sanitized payload metadata, and relevant logs.
A submission was sent but no acknowledgement was received
- Confirm the submission timestamp and identifier.
- Check whether the client has a separate acknowledgement or response queue.
- Verify that polling or retrieval is enabled.
- Check for rejected, quarantined, or archived response files.
- Confirm that the response endpoint and credentials are correct.
- Review logs for timeout, certificate, or permission errors.
- Query the transaction status using the approved KOR procedure.
- Reconcile the client queue with the Trade Repository status.
- Avoid duplicate submission until the final status is known.
- Escalate if the repository status and client status disagree.
8. Error codes and meanings
No KOR-specific error-code catalog was provided. Not enough data to map individual KOR error codes to authoritative meanings.
For any error code, record:
- The complete code, including prefixes and leading zeroes.
- The exact message text.
- The affected transaction or correlation identifier.
- The timestamp and timezone.
- The client and environment version.
- Whether the error is temporary or consistently reproducible.
- The related request and response status.
Use the official KOR error-code reference as the source of truth. Do not infer that an unfamiliar code is safe to retry, especially for submissions that may have been accepted but whose response was lost.
9. FAQs and community solutions
Should I restart the client?
A restart may clear a temporary connection or process problem, but it does not fix invalid configuration, expired certificates, rejected messages, or authorization failures. Before restarting, preserve relevant logs and queue state.
Can I resubmit a failed transaction?
Only after confirming that the original transaction was not accepted or processed. If the final status is unknown, query the Trade Repository first to avoid duplicate submissions.
Can I delete old queue or temporary files?
Do not delete queue, archive, or response files until their business and operational impact is understood. Follow KOR’s retention and recovery procedures.
Can I disable certificate or schema validation temporarily?
No. Disabling security or message validation can create rejected, unsafe, or non-compliant submissions. Obtain explicit approval from KOR before changing such controls.
Where can I find community-provided fixes?
No verified KOR community forum, knowledge base, or public solution repository was provided. Not enough data to identify an official community channel. Use only solutions from KOR-approved documentation or support channels, and validate them in a non-production environment first.
10. Contact and support
No KOR Support contact details, service-status page, escalation policy, or support portal were provided. Not enough data to provide an authoritative contact path.
When contacting KOR Support, include:
- Organization and authorized contact details.
- Environment affected.
- Client and operating-system version.
- Date and time of the incident, including timezone.
- Exact error message and code.
- Transaction, submission, or correlation identifiers.
- Scope and business impact.
- Steps already performed.
- Relevant sanitized log excerpts.
- Certificate expiration information, without sending private keys.
- Whether the issue is ongoing, intermittent, or resolved.
Do not send passwords, private keys, access tokens, or unredacted confidential transaction data. For production-impacting incidents, follow your organization’s incident-management and escalation procedures while contacting KOR through its approved support channel.