Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH key is not OK in VD E2E tests #5770

Closed
1 task
joaquinsgi opened this issue Sep 24, 2024 · 1 comment
Closed
1 task

SSH key is not OK in VD E2E tests #5770

joaquinsgi opened this issue Sep 24, 2024 · 1 comment
Labels

Comments

@joaquinsgi
Copy link
Member

Target version Related issue Related PR/dev branch
4.9.1 wazuh/wazuh#25899

Description

During the VD E2E tests: wazuh/wazuh#25899, an error was found in the managers in the report. The issue appears to be related to the indexer-connector, where the SSH key is either incorrect or not found. It was also found in: wazuh/wazuh#25845 (comment)

Report:
Test_e2e_system_387_test_vulnerability_detector.zip

Log from error_level_message:

{
    "manager1": {
        "ERROR": [
            "2024/09/23 17:12:50 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:12:50 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:12:50 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:12:50 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:43:00 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:43:27 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:43:34 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:43:51 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1."
        ],
        "CRITICAL": []
    },
    "manager2": {
        "ERROR": [
            "2024/09/23 17:13:22 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:13:24 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:43:30 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1.",
            "2024/09/23 17:43:54 indexer-connector: ERROR: SSL peer certificate or SSH remote key was not OK, status code: -1."
        ],
        "CRITICAL": []
    },
    "agent1": {
        "ERROR": [],
        "CRITICAL": []
    },
    "agent3": {
        "ERROR": [],
        "CRITICAL": []
    },
    "agent4": {
        "ERROR": [],
        "CRITICAL": []
    },
    "agent5": {
        "ERROR": [],
        "CRITICAL": []
    },
    "agent6": {
        "ERROR": [],
        "CRITICAL": []
    },
    "agent2": {
        "ERROR": [],
        "CRITICAL": []
    }
}

Proposed checks

  • Investigate why the SSH key is not OK
@joaquinsgi
Copy link
Member Author

Close has not planned. This is for CppServer team.

@joaquinsgi joaquinsgi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
@wazuhci wazuhci moved this to Done in Release 4.9.1 Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant