# Cannot finish the last stage (handshake fails for each peer)

**URL:** <https://forum.codecrafters.io/t/cannot-finish-the-last-stage-handshake-fails-for-each-peer/1274>\
**Category:** Challenges\
**Tags:** challenge:bittorrent\
**Created:** [August 4, 2024, 8:04am UTC](https://forum.codecrafters.io/t/cannot-finish-the-last-stage-handshake-fails-for-each-peer/1274 "2024-08-04T08:04:35Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [October 9, 2024, 9:58pm UTC](https://forum.codecrafters.io/t/cannot-finish-the-last-stage-handshake-fails-for-each-peer/1274/22 "2024-10-09T21:58:38Z")

</div>

Hey everyone! We’ve pushed [an update](https://github.com/codecrafters-io/rain/pull/1) that should remove the IP-based rate-limiting. Thanks to @sarp for making this change!

I’ve also changed our [E2E tests](https://github.com/codecrafters-io/bittorrent-test-tracker/actions) to specifically test for this - earlier they weren’t trying to download the same file in parallel, so we weren’t hitting this failure case.

If you were running into issues previously, could you try this out again, and please let us know if things are any better? If you’re still running into issues, please do share a link to your code and the error you’re seeing so that we can help debug this better. Here’s how you can publish your code to github: [Publish to GitHub - CodeCrafters](https://docs.codecrafters.io/features/publish-to-github#publish-to-github).

---

_[View the full topic](https://forum.codecrafters.io/t/cannot-finish-the-last-stage-handshake-fails-for-each-peer/1274)._
