Anyone else doing the Protohackers challenges?

What is everyone using to deploy their solution(s)? I’ve been using Fly.io with mixed success. Running Fly.io Apps On UDP and TCP · Fly Docs got me started, but I still haven’t got the smoke test passing.

[Tue Jan 24 20:47:53 2023 UTC] [multiclient.test] NOTE:passed connection 0
[Tue Jan 24 20:47:53 2023 UTC] [multiclient.test] NOTE:passed connection 1
[Tue Jan 24 20:47:53 2023 UTC] [multiclient.test] NOTE:passed connection 2
[Tue Jan 24 20:47:53 2023 UTC] [multiclient.test] FAIL:failed connection 3 (sent 1056 bytes, received 0 bytes)

From Fly.io server logs:

[error] could not proxy TCP data to/from instance:
failed to copy (
direction=server->client, error=Connection reset by peer
(os error 104)
)

Andrea Leopardi is doing the challenges on YouTube and also deploys on Fly.io. He shows the configuration at the end of the first Video

1 Like