allenkim67/allen-torrent

Not getting any peers

Opened this issue · 1 comments

So far following the tutorial I have completed till the part where we can get Peers.
For some reason in my getPeers function the program never goes inside socket.on("message" , (res) => {console.log("Connected")}
Here is my repo.
Any help is appreciated been stuck here for a while now.

OS: WSL Ubuntu
Node: 22.2.0
NPM: 10.7.0

When running
sudo tcpdump -i any udp -v
I am able to see that a response is coming from the tracker server

@Tanay-Verma Are you sure the tracker's announce URL is working? I'm using this list to see working ones: https://github.com/ngosang/trackerslist?tab=readme-ov-file