-
Notifications
You must be signed in to change notification settings - Fork 1
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
Nwaku maximum connections reached for wss clients #23
Comments
Here are some action items for js-waku: waku-org/js-waku#1326 We are also working on using WebRTC for relay that should also decrease reliance on bootstrap nodes: waku-org/js-waku#1181 |
Few notes:
|
We have deployed a number of improvements:
We have improved peer management in nwaku in general (specifically by introducing scoring and pruning on IP colocation max). We're also working on a strategy for service-only peer connection slots. Looking at the number of peers, we can see drastic changes on the 19 June 2023. This could be because of a number of a factors, but the gossipsub scoring and disincentivising IP colocation plays at least a role. |
Would the IP colocation limitation affect those behind NAT / CGNAT? |
@mfw78 Not really. The waku network aims to have a huge amount of nodes, so if one node drops your connection because of IP colocation (let say you run 10 devices under the same IP) thats fine, because there are many other nodes that you can connect to. In any case, forcing disconnection due to this it not only prevents attacks but also tries to enforce some diversity in the nodes that you are connected to. |
New issue logged: waku-org/nwaku#1831 |
@jm-clius can this be closed? I have checked the grafana several times in the past few weeks and it seems much better. |
Yes, we still have work planned for peer management, but the main issue has been addressed. |
Problem
The nwaku-based
wakuv2.prod
andwakuv2.test
fleet are currently reaching maximum connection capacity very soon after every restart. This seems to be due to scripted js-waku based clients connecting to the secure websocket connections available on those nodes and not releasing those connections. This means that other clients interested in connecting to the fleet nodes for any services are unable to do so as we've reached service capacity. The connections seem to be used forrelay
protocol.This presents at least two problems:
store
,filter
,lightpush
or even justwss
listening ports).Steps being taken
The text was updated successfully, but these errors were encountered: