-
Notifications
You must be signed in to change notification settings - Fork 53
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
bug: nwaku randomly fails to start #1866
Comments
@mfw78 I don't think this is "random". I was not able to reproduce it by simply running your docker run command, but then I thought that since it is using host network, if you try to start 2 containers, it should crash on trying to bind to port 8545 twice - and it does crash, but with your error - is it possible that you had another container running there already? Anyway, it should have just cleanly error out with the "Address already in use" error, so thanks for catching this! I believe I was able to find the issue and fix it in #1869 |
I'm pretty sure that I didn't have anything else bound to local port Nonetheless, I can't guarantee that I didn't have a second container running. If I observe this fail condition again, I'll re-open this issue. |
Well, to be fair, there could be other unchecked calls, so it could also be a different reason for the same error, but I ran the container many times and it never failed until running a second one, so that was the only way I could replicate the same error |
@mfw78 You can try to use this container image (built from the commit containing the fix) to see if you encounter the error again: |
Problem
When running
nwaku
v0.0.18
viadocker
,nwaku
randomly fails to start. When retrying a couple of times, thenwaku
node starts as expected.Impact
This bug has significant impact as it directly affects the reliability of running
wakunode
.To reproduce
docker
commands to reproduce.Expected behavior
The node starts consistently, or provides sane error messages indicating where the failure is.
Additional context
Potentially related to #1826 ?
The text was updated successfully, but these errors were encountered: