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

Validator: wrong publish error log #5140

Closed
twoeths opened this issue Feb 13, 2023 · 1 comment · Fixed by #5188
Closed

Validator: wrong publish error log #5140

twoeths opened this issue Feb 13, 2023 · 1 comment · Fixed by #5188
Assignees
Milestone

Comments

@twoeths
Copy link
Contributor

twoeths commented Feb 13, 2023

Describe the bug

Found this in the log

validator-2023-02-09.log:39664:Feb-09 09:04:14.522[]                error: Error proposing block slot=5759119, validator=0x810e…7963  - Internal Server Error: PublishError.Duplicate - Failed to publish block
validator-2023-02-10.log:8356:Feb-10 01:56:27.419[]                error: Error proposing block slot=5764180, validator=0xa8dc…7536  - Internal Server Error: PublishError.Duplicate - Failed to publish block

However as we can see those 2 blocks are all success

Expected behavior

  • No error

Screenshots

Screen Shot 2023-02-13 at 15 28 32

Desktop (please complete the following information):

  • Version: v1.4.2
  • Network: mainnet
@twoeths
Copy link
Contributor Author

twoeths commented Feb 13, 2023

more log:

Feb-10 01:56:25.663[]                ^[[34mdebug^[[39m: Request error, retrying  Internal Server Error: PublishError.Duplicate
Error: Internal Server Error: PublishError.Duplicate
    at HttpClient.requestWithBody (file:///usr/app/packages/api/src/utils/client/httpClient.ts:285:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Feb-10 01:56:25.663[]                ^[[34mdebug^[[39m: Requesting fallback URL routeId=publishBlindedBlock, baseUrl=http://***:9596, score=2
Feb-10 01:56:25.663[]                ^[[34mdebug^[[39m: HttpClient request routeId=publishBlindedBlock
Feb-10 01:56:27.419[]                ^[[31merror^[[39m: Error proposing block slot=5764180, validator=0xa8dc…7536  - Internal Server Error: PublishError.Duplicate - Failed to publish block
Error:  - Internal Server Error: PublishError.Duplicate - Failed to publish block
    at Function.assert (file:///usr/app/packages/api/src/utils/client/httpClient.ts:44:13)
    at BlockProposingService.publishBlockWrapper (file:///usr/app/packages/validator/src/services/block.ts:107:14)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at BlockProposingService.createAndPublishBlock (file:///usr/app/packages/validator/src/services/block.ts:95:7)
    at async Promise.all (index 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant