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

bug: cannot reach my node running in my shard #2618

Closed
plopezlpz opened this issue Apr 23, 2024 · 7 comments · Fixed by #2633
Closed

bug: cannot reach my node running in my shard #2618

plopezlpz opened this issue Apr 23, 2024 · 7 comments · Fixed by #2633
Assignees
Labels
bug Something isn't working

Comments

@plopezlpz
Copy link

plopezlpz commented Apr 23, 2024

Problem

I run a nwaku node in the following shards: 32, 64, 128, 256 and 101.

This node connects to the fleet nodes fine. Shard 101 is not known by any other node in the fleet.

I run status-desktop with no changes, it connects fine to nodes in the fleet. I create a community to be in shard 101 and I don't see any connection to the nwaku node on 101.

My assumption is that my status-desktop would discover that nwaku node in shard 101 indirectly through other nodes connected to to that node.

Expected behavior

My assumption is that my status-desktop would discover that nwaku node in shard 101 indirectly through other nodes connected to to that node. Maybe this assumption is wrong.
I can make this work just updating the bootstrapt node to my status-desktop app

@plopezlpz plopezlpz added the bug Something isn't working label Apr 23, 2024
@plopezlpz
Copy link
Author

@chaitanyaprem FYI

@plopezlpz
Copy link
Author

This is the log of my nwaku node
my.log

@gabrielmer
Copy link
Contributor

If I understand correctly, status-desktop is connected to a node that doesn't support shard 101 and when trying to send a message in that shard it just rejects it instead of helping it find a node that does support shard 101. If that's the case, it seems to me that it's fine. But I might be missing something.

@plopezlpz
Copy link
Author

@gabrielmer yes, that's the case, I was unsure if that was fine or a bug.

@gabrielmer
Copy link
Contributor

I think it's fine but let's see what @chaitanyaprem says just to make sure :)

@plopezlpz
Copy link
Author

plopezlpz commented Apr 23, 2024

also this is the config of my nwaku node:

log-level = "DEBUG"
relay = true
filter = true
store = true
lightpush = true
keep-alive = true
max-connections = 150
peer-exchange = true
pubsub-topic = ["/waku/2/rs/16/32","/waku/2/rs/16/64", "/waku/2/rs/16/101", "/waku/2/rs/16/128", "/waku/2/rs/16/256"]
metrics-logging = false
cluster-id = 16
discv5-discovery = true
discv5-udp-port = 9000
discv5-bootstrap-node = ["enr:-QEOuEAuAK49evunDoidpHqcmeVqZz73wt4jwHnHJlmCVBFj6EdIbZ9uH5BnCYKOEPJTns2QJKUR2XLtWyzIspPAfJF9AYJpZIJ2NIJpcISnYxMvim11bHRpYWRkcnO4YAAtNihib290LTAxLmRvLWFtczMuc2hhcmRzLnRlc3Quc3RhdHVzaW0ubmV0BnZfAC82KGJvb3QtMDEuZG8tYW1zMy5zaGFyZHMudGVzdC5zdGF0dXNpbS5uZXQGAbveA4Jyc4sAEAQAIABAAIABAIlzZWNwMjU2azGhAt60bRUEoHNuLlnsM12sU2PIQwBwfLIJ8a_ZPEY2-Rnkg3RjcIJ2X4N1ZHCCIyiFd2FrdTIN"]
discv5-enr-auto-update = true
rest = true
rest-admin = true
rest-port = 8645

@chaitanyaprem
Copy link
Contributor

If I understand correctly, status-desktop is connected to a node that doesn't support shard 101 and when trying to send a message in that shard it just rejects it instead of helping it find a node that does support shard 101. If that's the case, it seems to me that it's fine. But I might be missing something.

This is not about node connections at libp2p level. This has to do more with discoveryv5 where-in status-desktop should have received the node with shard 101 from the bootstrap node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants