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

Add peer address in consensus logs if another node has bad network response #738

Open
oleksandrSydorenkoJ opened this issue Feb 20, 2023 · 0 comments
Assignees
Milestone

Comments

@oleksandrSydorenkoJ
Copy link

After load tests socket may be closed. Need to add more detailed logs to know what exactly peer has been closed - ID or IP

Version:
schain:3.16.0-stable.1

Preconditions:
Active schain with MTM

Steps to reproduce:

  1. Turn-off UnDDOS protection
  2. Run load tests with data
  3. Check skaled logs

Expected state:
Skaled and consensus should work without any errors or handle the exceptions. In a case closed remote socket need to add the detailed information about this node

Actual state:
Some sockets on the other nodes are closed under load.

[2023-02-17 20:16:12.728] [9:main] [error] 477802:!Exception: std:Could not read partial hashes
[2023-02-17 20:16:12.729] [9:main] [error] 477802: !Caused by: AbstractServerAgent:Could not read partial hashes
[2023-02-17 20:16:12.729] [9:main] [error] 477802:  !Caused by: IO:The peer shut down the socket, bytes to read:1360
[2023-02-17 20:16:12.733] [9:main] [error] 477802:!Exception: std:Could not read partial hashes
[2023-02-17 20:16:12.733] [9:main] [error] 477802: !Caused by: AbstractServerAgent:Could not read partial hashes
[2023-02-17 20:16:12.733] [9:main] [error] 477802:  !Caused by: IO:The peer shut down the socket, bytes to read:1144
[2023-02-17 20:16:12.739] [9:main] [error] 477802:!Exception: std:Could not read partial hashes
[2023-02-17 20:16:12.739] [9:main] [error] 477802: !Caused by: AbstractServerAgent:Could not read partial hashes
[2023-02-17 20:16:12.739] [9:main] [error] 477802:  !Caused by: IO:The peer shut down the socket, bytes to read:1160
@oleksandrSydorenkoJ oleksandrSydorenkoJ added the bug Something isn't working label Feb 20, 2023
@PolinaKiporenko PolinaKiporenko added this to the 2.3 milestone Jul 27, 2023
@DmytroNazarenko DmytroNazarenko modified the milestones: 2.3, SKALE 2.3 Jul 27, 2023
@DmytroNazarenko DmytroNazarenko removed the bug Something isn't working label Aug 2, 2023
@DmytroNazarenko DmytroNazarenko modified the milestones: SKALE 2.3, SKALE 2.4 Jan 19, 2024
@PolinaKiporenko PolinaKiporenko modified the milestones: SKALE 2.4, SKALE 2.5 Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready For Pickup
Development

No branches or pull requests

4 participants