This error is related to the user-preferences.json file, the Pi Node app can't connect to the Sync server, so it can't download the correct configuration content, this file is missing some parts, so it leads to error.
Find the file user-preferences.json at
C:\Users\{your user name folder}\AppData\Roaming\Pi Network\
It doesn't work, I typed these commands, saved the file, ran Pi Node and kept on doing the same.Additionally, after reopening the user-preferences.json file, what I added in it disappeared, even though I added these commands and saved the file
IT WORKS. If you are having problems. Make sure everything is the same to a T. Commas, hyphens, fuck all even the spaces. I am using docker version 4.18.0 because the port checker was giving me problems. I still set the "dockerImage":"pinetwork/pi-node-docker:latest" EXACTLY as it is written! No changes!
Also exit Pi Node from task manager. Clicking just the X doesn't fully close it. Then I did this and everything worked. Hope this helps!
For context: I wanted to use my computer to run a Pi Node, so I downloaded to Pi desktop app and began going through the Node setup. I installed Docker first, and once I did it had no issue going through the port check (though of course it said all were closed). Then I went and opened the relevant nodes and now instead of running the check it just gets stuck spinning on the screen shown. I tried rebooting and reinstalling, no luck. Any suggestions?
Worked for me last yr after old pc HD crashed. Still running well. I never bothered with the ports checker since I knew they were open. After setting up on new drive, got same issue and fed up after leaving it for a day or two with no activity starting. Actually found the fix on some Asian site. Glad to see it posted here for easier access. Meanwhile it’s most disappointing that the pi network developers have not fixed this themselves or even posted the fix in the app.
14
u/Crazier83 Jan 07 '22 edited Jan 04 '23
Fix: Pi Node app error can't access Node tab page
This error is related to the user-preferences.json file, the Pi Node app can't connect to the Sync server, so it can't download the correct configuration content, this file is missing some parts, so it leads to error.
Find the file user-preferences.json at
C:\Users\{your user name folder}\AppData\Roaming\Pi Network\The file usually has something like this:
{"windowWidth":800,"windowHeight":600,"uuid":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx","switchStatus":true,"dockerImage":"pinetwork/pi-node-docker:latest" ,"containerFlavor":"stellar","testnetResetCount":"2","portsCheckPassed":true,"stellarConfigVersion":"0.0.9","testnetResetLatestNodeUIVersion":"0.4.4"}It is a JSON data structure in the format <name>:<value>, if the file is missing part like
"containerFlavor":"stellar"then add it yourself.
Before editing the contents of the user-preferences.json file, exit the Pi Node application completely
Use Notepad or another similar application to open the file and edit the content, then Save, reopen the Pi Node application.
!!!Note: each <name:value> pair is separated by a comma.
5
u/wpom Jan 05 '22 edited Jan 11 '22
For context: I wanted to use my computer to run a Pi Node, so I downloaded to Pi desktop app and began going through the Node setup. I installed Docker first, and once I did it had no issue going through the port check (though of course it said all were closed). Then I went and opened the relevant nodes and now instead of running the check it just gets stuck spinning on the screen shown. I tried rebooting and reinstalling, no luck. Any suggestions?
*EDIT: u/Crazier83 with the solution below: https://www.reddit.com/r/PiNetwork/comments/rwr59y/pi_node_setup_stuck_loading_after_opening_ports/hrnv3fg/
4
u/Fun_Competition_8724 Jan 05 '22
Have the same issue 👍, using mac with m1 chip.
3
u/lexwolfe Pi Rebel Jan 05 '22
are you in UK?
4
u/ThingWeBreatheBender Jan 07 '22
I have had the exact same problem on 2 different computers on 2 different networks. No solution as of yet
3
u/Drathbun89 Jan 05 '22
I have ran into the same issue on my Mac.
3
u/alexolvr33 Jan 12 '22
Any solution for mac? Window's solution below, but what's the mac folder containing the json file?
3
u/JellyfishSalty1469 Mar 09 '23
Pls help mac users too.
2
u/[deleted] Jan 05 '22
Have you open the ports on your ISP router?
2
u/nichervanessa Jan 06 '22
Install docket then try to open port
2
u/Simple_Sandwich_9425 Nov 18 '22
A mi tambien me pasa lo mismo, antes me iba genial asta que formate el ordenador y ahora se me quedo asi
2
u/Rude-Scheme-5084 Nov 27 '22
Please solve the problem in activating the pi there is a problem and I can't solve it
2
u/Rude-Scheme-5084 Nov 27 '22
Can you make a video on how to make the steps and solve the problems of pi in activating the nude in the browser stuck
2
u/Personal_Month9458 Jan 04 '23
I'm facing the same issue but on Mac! Can someone help?
2
u/Open-Smoke2084 Mar 02 '23
I am having the same issue right now
2
u/Mad_Mike80 Mar 07 '23
WoW!! Finally a solution that worked!! Thanks so much!!
2
u/ChemE75 Mar 15 '23
Worked for me last yr after old pc HD crashed. Still running well. I never bothered with the ports checker since I knew they were open. After setting up on new drive, got same issue and fed up after leaving it for a day or two with no activity starting. Actually found the fix on some Asian site. Glad to see it posted here for easier access. Meanwhile it’s most disappointing that the pi network developers have not fixed this themselves or even posted the fix in the app.
2
u/LESHII413 Mar 20 '23
Can confirm 1 year later this still works
xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx"
when you copy and paste or retype it all in. (copy pasta was easier for me)
1
u/No_Performance4389 Jul 24 '23
It's a hidden file on windows...
1
u/[deleted] Oct 18 '22
Worked!!!
But can you please elaborate, why this error occurs in the first place? I mean why the .json file is incomplete?
1
u/Rude-Scheme-5084 Nov 27 '22
Pi عقدة الإعداد عالقة التحميل بعد فتح المنافذ - مساعدة من فضلك!
1
u/Dry_Introduction6453 Feb 11 '23
Anyone know who to fix this with Macos Ventura? I can't find the user-preferences.json on my Mac.
https://www.reddit.com/r/PiNetworkMining/comments/10z8tte/pi_node_almost_setup/
1
u/DlPlateTV May 25 '23
https://blog.naver.com/foodoflife/222917530003
There is batch file for modify json file , download it and just run it.
And exit node program and run again.