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]: NintendoClients (still) hangs sometimes when doing friend actions on Pretendo #28

Open
1 task done
Preloading opened this issue Oct 20, 2024 · 0 comments
Open
1 task done
Labels
awaiting-approval Topic has not been approved or denied bug Something isn't working

Comments

@Preloading
Copy link

Checked Existing

  • I have checked the repository for duplicate issues.

What happened?

I was told in here that is this issue persisted, to make a bug report. So here we are.

When connected through NintendoClients, it hangs (iirc due to never receiving a response back from the server). It seemingly does this at random, but less frequently than before

What did you expect to happen?

For NintendoClients to not hang after sending requests for a while.

Steps to reproduce?

I've written a handy little python script to trigger the bug by repeatedly sending get_all_friends.
bug-tester.zip

To set it up (i assume you have some idea as to python in this)

  1. download the zip and extract it
  2. setup a python venv
  3. run pip install nintendoclients (this totally isn't because i forgot to add a requirements.txt)
  4. make a copy of template.private.py, and name it private.py
  5. fill in the spots with a 3DS you are willing to use for this in private.py. there should be instructions as to how to get some of the values
  6. run main.py by typing python main.py

It may take a couple of minutes to hang, but it will eventually, it will. it should print some debug info to maybe make troubleshooting easier. (yes i did cobble this together in a few hours)

Other relevant information. (OPTIONAL)

This problem can still be worked around with
s["prudp.ping_timeout"] = 100000000000 (in the demo project, this goes between L26 & L27

Is essentially a reopening of #16 (might have more details), and also PretendoNetwork/nex-go#54

@Preloading Preloading added awaiting-approval Topic has not been approved or denied bug Something isn't working labels Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-approval Topic has not been approved or denied bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant