# Bittorrent stage (#AH1) portability issue?

**URL:** <https://forum.codecrafters.io/t/bittorrent-stage-ah1-portability-issue/317>\
**Category:** Challenges\
**Tags:** challenge:bittorrent\
**Created:** [May 8, 2024, 5:08pm UTC](https://forum.codecrafters.io/t/bittorrent-stage-ah1-portability-issue/317 "2024-05-08T17:08:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sinmi-hub](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/sinmi-hub/32/274_2.png) [@sinmi-hub](https://forum.codecrafters.io/u/sinmi-hub)\
**Post date:** [May 8, 2024, 5:08pm UTC](https://forum.codecrafters.io/t/bittorrent-stage-ah1-portability-issue/317/1 "2024-05-08T17:08:25Z")

</div>

I’m stuck on stage 3.

I’ve tried to turn debug mode on, but this isnt helpful. I test locally first, and it seems to work. I am able to print a decoded list propely… However in order to proceed to next stage for submission, the tests seems to fail whenever I test remotely

Here are my logs:

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/1X/14c68bb81ac1b9eed7856cb0ddce3027b813f56f.png)

---

<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:** [May 8, 2024, 6:12pm UTC](https://forum.codecrafters.io/t/bittorrent-stage-ah1-portability-issue/317/2 "2024-05-08T18:12:45Z")

</div>

@sinmi-hub can you share a snippet of your code please? Hard to tell what’s going on here without that.

---

<div class="post-metadata">

**Author:** ![sinmi-hub](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/sinmi-hub/32/274_2.png) [@sinmi-hub](https://forum.codecrafters.io/u/sinmi-hub)\
**Post date:** [May 9, 2024, 3:06am UTC](https://forum.codecrafters.io/t/bittorrent-stage-ah1-portability-issue/317/3 "2024-05-09T03:06:41Z")

</div>

Hi there. This has been resolved as I reached out to Codecrafters. Turns out it is a matter of difference in machines as I suspected. I need to code from a portable perspective. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [May 14, 2024, 3:07am UTC](https://forum.codecrafters.io/t/bittorrent-stage-ah1-portability-issue/317/4 "2024-05-14T03:07:17Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [June 4, 2024, 2:31am UTC](https://forum.codecrafters.io/t/bittorrent-stage-ah1-portability-issue/317/5 "2024-06-04T02:31:51Z")

</div>

Note: I’ve updated the title of this post to include the stage ID (#AH1). You can learn about the stages rename here: [Upcoming change: Stages overhaul](https://forum.codecrafters.io/t/upcoming-change-stages-overhaul/375).
