Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Be more graceful on service startupΒ #21

@ehrenfeu

Description

@ehrenfeu

During system boot πŸš€ it seems to be quite common that the target location cannot be reached yet, resulting in a service startup failure πŸ’₯ with log entries like this:

2025-11-26 09:18:04 [Debug] Loading common configuration XML file: [C:\ProgramData\AutoTx\conf\config.common.xml]
2025-11-26 09:18:04 [Debug] Trying to parse combined XML...
2025-11-26 09:18:04 [Debug] Validating configuration...
2025-11-26 09:18:04 [Error] Configuration issues detected:
can't find (or reach) destination: \\fileserver.vdi.example.xy\share$\
can't find (or reach) temporary transfer dir: \\fileserver.vdi.example.xy\share$\atx-target

2025-11-26 09:18:04 [Error] Validating configuration failed: Configuration issues detected:
can't find (or reach) destination: \\fileserver.vdi.example.xy\share$\
can't find (or reach) temporary transfer dir: \\fileserver.vdi.example.xy\share$\atx-target

2025-11-26 09:18:04 [Error] LoadSettings() failed: Error validating configuration.
   at ATxService.AutoTx.LoadConfig()
   at ATxService.AutoTx.LoadSettings()

➑️ In case any of destination or temp transfer dir cannot be reached during startup, enter a sleep state for some time and try again later.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions