-
Notifications
You must be signed in to change notification settings - Fork 245
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
Rapid log file growth and repeated Waku errors when DNS encryption is not set #5679
Comments
cc @fryorcraken would you mind having somebody look at it? |
can i get full logs for this? interesting that without peers filter was trying to subscribe. Without any peers node should be in |
mass-repeat-error-geth.log.zip |
yup, was about to ask for DEBUG because i want to know what went wrong with setting node state. Do provide the debug. |
increased max log file size to 10 GB, so now get the full log without rotating: debug-geth.log.zip |
Reopen this as this problem is encountered again on latest branch |
would help if i can get logs to look into it. |
|
would it be possible to share debug logs? also what is the peer-count do you see in the UI? |
maybe we could just search the usages on
5 |
i know where this log is coming from, but this should not get triggered at all since the node is not able to reach any peers. But odd that you have a peer-count of 5. maybe the node was able to connect to 5 peers that are not using hostnames. Will take a look at logs and see. |
ah, from the logs it looks like somehow connection to storenodes is successfull eventhough they are configured with DNS name. But for some reason node is unable to connect to other peers. i think we need to add add some backoff to filter subscribe in case of subsequent failures especially for specific errors such as "no suitable peers found" . This would prevent such situation from occuring. Will start working on a PR for this. |
#5909 is being dogfooded in status-mobile which includes a simple backoff in case of certain errors. mobile PR is status-im/status-mobile#21386 @qfrank please test this in the same env and confirm the resolution of the issue. |
thank you for your effort, it works ❤️ @chaitanyaprem |
Issue Description
When running the Status app without setting encrypted DNS (e.g., https://9.9.9.9/dns-query), the geth.log file grows rapidly within seconds of opening the app. The log is filled with repetitive error messages, primarily related to Waku and peer selection.
Observed Behavior
Log Analysis
The log shows multiple recurring errors:
Example log snippet:
Potential Causes
Workaround
Setting encrypted DNS (e.g., https://9.9.9.9/dns-query) appears to resolve or mitigate the issue. This suggests that the problem might be related to DNS resolution or network restrictions.
Additional Context
Questions for Investigation
Environment
develop
, commit id:3b4cbfa4bca1b76cf3e9675e2e6b99d14c09b9e1
Steps to Reproduce
relate screenshots and comments:
The text was updated successfully, but these errors were encountered: