Appearance
Troubleshooting
Start with the service log. Most problems are explained by a warning or error near the time of the failure. See Interrogating the Logs.
The service ignores my configuration
Symptom: the service starts, but uses default hosts, ports, or AE titles.
Check the log for Configuration file not found or Error loading configuration file.
- File not found — the file must be named
config.yamland be in%ProgramData%\Flux Inc\DICOM7\<SERVICE>\, or in the folder passed with--path. Check that Windows did not save it asconfig.yaml.txt. - Error loading — the YAML could not be read. Every DICOM7 service except HL72HL7 then ignores the whole file and runs on built-in defaults. Common causes:
- a misspelled or unknown setting name (names are case-sensitive and use PascalCase, for example
ListenPort), - a setting placed in the wrong section,
- tabs instead of spaces for indentation,
- a value with
:or#that is not quoted.
- a misspelled or unknown setting name (names are case-sensitive and use PascalCase, for example
The exception logged after Error loading configuration file names the line and column of the problem. Fix it, then restart the service.
HL72HL7 does not fall back to defaults. With an invalid configuration it logs the reason and exits. Run HL72HL7.exe --validate-config to see the error. See Command-Line Options.
Port already in use
Symptom: the log reports that the listener could not start, or the service stops shortly after starting.
ORM2DICOM, ORU2DICOM, and HL72HL7 all listen for HL7 on port 7777 by default, and DICOM2ORU listens for DICOM on port 104. Only one process can listen on a port. Give each service its own port in its config.yaml and restart it.
To see which process holds a port:
cmd
netstat -ano | findstr :7777
tasklist /fi "pid eq <PID>"Also check that Windows Firewall allows inbound connections to the ports the services listen on.
The HL7 receiver does not get messages (DICOM2ORM, DICOM2ORU)
Look for
Failed to connect to HL7 receiverin the log. If present, checkHL7.ReceiverHostandHL7.ReceiverPort, and test the connection from the DICOM7 host:powershellTest-NetConnection hl7.example.org -Port 7777If the connection works, check what the receiver answered.
HL7 server rejected messageis followed by the receiver's response.DICOM2ORM treats an ACK read timeout or an empty response as success. DICOM2ORU also treats an empty response as success, but has no ACK read timeout: it can wait indefinitely for a receiver that keeps the connection open. Neither sender strictly validates application acceptance, so check the receiving application before deciding whether to resend. See the HL7 Conformance Statement.
A study or instance that was already sent is not sent again. See Cache and Retention for how to force a resend.
The modality does not see worklist entries (ORM2DICOM)
- Confirm the ORM arrived: look for the message in the log and in
cache\active\. - Check the order has not expired (
Order.ExpiryHours). - Check the modality's query. The called AE title must equal
Dicom.AETitle, and the destination port must equalDicom.ListenPort. The service does not enforce a calling-AE allowlist. - Check the matching keys the modality sends against the worklist entry. See ORM2DICOM for which keys are matched.
Images do not reach the PACS (ORU2DICOM)
- Check the log for association or C-STORE errors.
- Confirm the destination host, port, and both AE titles in the configuration, and that the PACS accepts associations from the calling AE title.
- Look in
cache\error\for messages that failed permanently; the.metafile next to each gives the reason.
Reports are not produced (ORU2REPORT)
- Check the log for browser errors. ORU2REPORT records the browser's error output in its log.
- Confirm that Edge or Chrome is installed, or set
Report.BrowserExecutablePath. - If rendering fails only when running as a service, run the service under a dedicated user account. See Installation.
- Look in
cache\error\for messages that exceededRetry.MaxAttempts.
See ORU2REPORT.
HL72HL7 messages are not forwarded
- Check the mode. In
CaptureOnlymode messages are stored but not forwarded, and the log saysCapture-only mode is active. - Check the routing rules. A message that matches no destination stays in
active\and is logged as unrouted. - Check the delivery log entries for the destination; they include the acknowledgement received.
See HL72HL7.
Getting help
When you contact Flux support, include:
- the DICOM7 version (shown in Installed apps),
- the services involved,
- the
config.yamlof each, with passwords removed, - the relevant log files.
Do not send patient data by email. Ask Flux support for a secure transfer method.