-
Notifications
You must be signed in to change notification settings - Fork 9
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
3DS not connecting to pretendo-docker server #155
Comments
Can you provide the logs from the account server?
|
Now it generated a new friend code, and seems to connect to the server, but returns error code 002-0102 upon opening friends list. I also just had to move the current directory to the docker clone directory, here is what the logs returned to me:
(I am sorry in advance if I missed something and didn't remove it, I don't know what embedded data may or may not be safe to share. Please forgive me.) |
No worries, there are no issues with the logs there. The issue with your first post is that the 3DS sends some base64-encoded private/console-specific information like the MAC address, WiFi info, and fcdcert. The one that's particularly risky is the fcdcert: this is the certificate that Pretendo uses to enforce console bans. Be careful not to send that publicly in the future, as someone could potentially copy it and use it to evade bans on Pretendo's official servers while appearing to be your console.
That error will appear when the console attempts to log in with a NEX account (essentially, the internal account that the friend code is generated from) that doesn't exist on the server. For example, trying to log into your local server with a Pretendo NEX account or vice versa. I'd suggest that you make sure that Nimbus is set to Pretendo and then try re-running the reset friends test account app. |
Ah okay... now that I know what information is sensitive, I'll be sure to exclude it. Thank you.
That's what I had thought, although resetting the friends code environment once again, like you suggested below, did nothing before. I'll be sure to try that again here momentarily, and I'll report back when I recieve something in return.
I triple checked to make sure that was correctly set before I began troubleshooting. Thank you for your help, I greatly appreciate it. |
Tried resetting the friend code again, friend card has no code now and I get an error of 001-0502 when I open the friends list. Tried restarting it three or four times, nothing changed. |
Thanks for trying, and I'm sorry that didn't work. Error code 001-0502 is a common generic error code that unfortunately only says that the console failed to connect to the friends server. Let's try to narrow this down:
|
Not a problem, I really appreciate you helping... this continues to be an active problem for me.
I'm checking this ^ right now, and it seems that every time I make a PNID with my local server, it stays on the 3DS until I reboot it. Then it gets wiped. I noticed that both after I linked the ID made through the web interface, and after I rebooted the 3DS, it contained the
I'll be checking this momentarily ^ |
I have tried three different times to check the friends list logs, and each time returns basically nothing, and says that the execution has paused because the program is panicking. I'm finding it rather odd that linking my PNID to my 3DS resets after a reboot... it may be my problem, but I don't know what would be causing it to not save it. I do work a job, so typically I am quite busy, however I will respond as soon as I can. |
Sorry for the late response, I've been very busy with college work.
That is odd. I would guess that the fact that it can't successfully connect to the Friends server causes it to "forget" the PNID?
That does sound like a problem. Do you have any way to try connecting to the Go debugger? I have a launch configuration for vscode. |
I do appreciate the help, I also apologize for my late response, I have been busy with work. I am away from my computer for the weekend, but I should be able to report back with more information on Monday or Tuesday. |
I didn't have a whole lot of time at the moment to work on it, however I did get it to start running. It returned with an error though, so it did not debug. Here is the log:
I had replaced the paths given by the log with "[hidden]", but any path that was referenced to was the |
Something is definitely wrong there - why is the build process running on Windows? It should be running in the Linux-based Node.js Docker container. |
I had not realized there was a console/debugger through Docker... I am rather unfamiliar with Docker, please forgive me D:
|
Ah, thanks for clearing that up. I was worried that your containers might have been running on Windows (since there is an option to run Windows containers on Windows). Everything in those logs looks okay as far as I can tell. The only error I see for the |
Yeah I had thought you meant for me to use Visual Studio Code to launch the debugger, so that's what I was doing. Here are more logs: Initial connection:
After resetting friend code environment:
After linking PNID:
After linking the PNID and exiting system settings, I am greeted with a bunch of question marks on my friend card in the friends list, an error code of 001-0502, and the following log in the Docker console:
|
It looks like there are no longs from the friends server at all? What do |
Using the terminal provided within Docker (not the log console, the terminal. And it's Windows Powershell by the way, will provide a screenshot below), here is what I was returned with. Images provided below. Also, is there a better way to communicate with you, if I may ask? I don't mind exchanging on GitHub, I just don't wish to add unnecessary complication if it bothers you is all 😅 |
You do need to run the commands in the
Sorry for not responding to this before. That is what I meant by debugging the server, and VSCode is supposed to use the remote debugging feature to connect to the server that's running inside the container and debug it. It shouldn't require running anything on your host machine (besides the Go extension). I don't blame you though, it's a bit difficult to get set up. I did jump the gun a bit with that suggestion, and I hope we can resolve this without requiring you to set up the debugger.
I do prefer GitHub, since it lets me keep all of my project support-related stuff organized in one place, and everything's public in case anyone has the same issue in the future. |
Ah, okay... I have everything placed in the
Ah you're fine. I had tried running the
That's fair, I simply don't like displeasing people who help me, is all. |
To be more specific, it looks like the PowerShell terminal in your previous response was not in the right directory. |
That wasn't a good help. ;-;
And the command
|
Thank you for sending the logs! I think this confirms that the whole issue is likely caused by the friends server crashing, although I'm not entirely sure why. I apologize for my lack of experience with Go.
If that's not the issue, I'm afraid I'm not sure what else to check. |
I hadn't changed anything when I cloned your repo, so I'm unsure why it would fail like that... but yeah, I most certainly can check that. I also further apologize for any unneeded complications, and will fix any future ones as soon as I can :d |
Yes, both lines are set, with seemingly random strings of characters. Are they supposed to contain something specific, or am I supposed to leave it as it is? I can provide any images or files, if necessary. |
Hmm, it sounds like everything is as it's supposed to be, then. I'm sorry, but I'm not sure what to check at this point. Everything looks like it should be working fine, except for the crash... |
I suppose I can try to work the rest out myself... I still greatly appreciate all of your help, it has helped me get down to a lot of it. Thank you very much :) |
Potentially add Alerts if a server crashes? |
Update: I have gotten the debugger to attach with VSCode, although it seems nothing is really happening with it. I noticed the
I am unsure where this had come from or what it means. I am still looking into it further. |
I have pretendo-docker running on an AMD desktop computer (the one I'm using right now to complete this issue report), and I'm using an older wireless internet router to act as a LAN connection for all my stuff.
I have a 3DS and a Wii U that I'm using with the server... the Wii U seems to be doing just fine, however when using the FriendsAccountSwicther script on the 3DS, and the manual_override app to reset the Friends environment, it does not connect to the server. The newly created friend code is not displayed, but instead there are a bunch of question marks on my friend card, and when checking the logs in mitmproxy, I don't notice anything evident of an error. This is what the mitmproxy log is giving me:
I am given an error code of 001-0502 on my 3DS when I load the friends list, and even when I reboot the system nothing changes. I cannot find anything online about this, so it may be a unique issue, but even still I don't know how to fix it. I also noticed there was no image for my mii on the web interface, when creating a PNID. I can provide screenshots, logs, and images, if necessary.
Thank you in advance for any help you may give.
The text was updated successfully, but these errors were encountered: