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

Don't send prune alert when host failed the handshake. #1230

Merged
merged 2 commits into from
May 16, 2024

Conversation

peterjan
Copy link
Member

This PR adds errInvalidHandshake to the list of prune alert exception cases.

{
  "id": "h:010f0c2e5180fce43e054aab2d3479bcd860f5da960c1277ebfb97999e858ec5",
  "severity": "warning",
  "message": "Contract pruning failed",
  "data": {
    "contractID": "fcid:5f69293916b6a5ddecef0d60347b3ef198ca623d8453d14e949becb2b15f884d",
    "error": "failed to prune contract fcid:5f69293916b6a5ddecef0d60347b3ef198ca623d8453d14e949becb2b15f884d; NewRenterTransport: couldn't read host's handshake: EOF\n",
    "hostKey": "ed25519:0220dabd125931d000c48ada38fb39082e0c7e241a1a469f2527a0846f692d32",
    "hostVersion": "1.6.0",
    "origin": "autopilot.autopilot"
  },
  "timestamp": "2024-05-15T11:09:34.766139268Z"
}

@peterjan peterjan self-assigned this May 15, 2024
@ChrisSchinnerl ChrisSchinnerl merged commit 3b5f8f7 into dev May 16, 2024
7 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/prune-alert-exception branch May 16, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants