-
Type:
Bug
-
Resolution: Done
-
Priority:
Medium
-
Affects Version/s: Discovery 3.1.9, Discovery 3.1.10
-
Component/s: Assets Discovery
-
3
-
Severity 3 - Minor
-
3
Issue Summary
The Jira Asset Discovery Agent v3.1.10 has been configured for an SFTP export, but the agent logs are currently displaying a recurring error message: "[Error] Could not load settings, settings are reset to default." Despite this issue, I have thoroughly reviewed the logs and confirmed that the file is being transferred correctly to the SFTP server. The final entry for each scan indicates that the file was successfully sent to the server before it was deleted locally. The bug intends to investigate why this error message is appearing in agent logs even though everything appears to be functioning properly.
Steps to Reproduce
- Set up Discovery Agent and add SFTP transfer configuration.
Expected Results
If Agent transfers the result data as an.xml file to the chosen target path, no error warning should be displayed.
Actual Results
The below exception is thrown in the discovery_agent.log file:
7/20/2023 6:57:33 AM: [Normal] pattern executed in 4.9347231 seconds 7/20/2023 6:57:33 AM: [Normal] Discovery Agent local scan finished in 26 seconds. 7/20/2023 6:57:33 AM: [Normal] saving file: abc.xml to folder C:\Program Files\Atlassian\Discovery Agent\scans | binary = False 7/20/2023 6:57:33 AM: [Normal] Export Path or File is not available. 7/20/2023 6:57:35 AM: [Normal] Transferring file abc.xml to export path <SFTP> 7/20/2023 6:57:36 AM: [Normal] deleting file: C:\Program Files\Atlassian\Discovery Agent\scans\abc.xml 7/20/2023 6:59:36 AM: [Error] Could not load settings, settings are reseted to default. 7/20/2023 6:59:36 AM: [Normal] Next Scan Date: 7/21/2023 6:57:33 AM | Minutes = 1438 7/20/2023 7:01:36 AM: [Error] Could not load settings, settings are reseted to default. 7/20/2023 7:01:36 AM: [Normal] Next Scan Date: 7/21/2023 6:57:33 AM | Minutes = 1436 7/20/2023 7:03:36 AM: [Error] Could not load settings, settings are reseted to default. 7/20/2023 7:03:36 AM: [Normal] Next Scan Date: 7/21/2023 6:57:33 AM | Minutes = 1434 7/20/2023 7:05:36 AM: [Error] Could not load settings, settings are reseted to default. 7/20/2023 7:05:36 AM: [Normal] Next Scan Date: 7/21/2023 6:57:33 AM | Minutes = 1432 7/20/2023 7:07:36 AM: [Error] Could not load settings, settings are reseted to default
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- relates to
-
JSMDC-17897 Loading...