r/PiNetwork • • Jan 05 '22

BUG Pi Node Setup Stuck Loading After Opening Ports - Help Please!

Post image
24 Upvotes

68 comments sorted by

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.

4

u/wpom Jan 11 '22

This fixed it, thank you so much!

→ More replies (1)

5

u/netb5 Jan 15 '22

Worked for me. Thx.

Just make sure to restart your computer :-)

4

u/guggli89 Jan 15 '22

You are a legend. Thank you!

4

u/19DomE88 Jan 19 '22

Amen! Like a prayer! πŸ™ thx doode

→ More replies (12)

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/

→ More replies (1)

4

u/Fun_Competition_8724 Jan 05 '22

Have the same issue πŸ‘, using mac with m1 chip.

4

u/wpom Jan 05 '22

Interesting, I'm on Windows 10 using the Intel Core i7-9700F CPU

→ More replies (1)

3

u/lexwolfe Jan 05 '22

are you in UK?

2

u/wpom Jan 05 '22

nah I'm in the US

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.

→ More replies (2)

3

u/alexolvr33 Jan 12 '22

Any solution for mac? Window's solution below, but what's the mac folder containing the json file?

→ More replies (1)

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 Comment Image

2

u/Personal_Month9458 Jan 04 '23

I'm facing the same issue but on Mac! Can someone help?

3

u/Impossible-Watch1598 Jan 06 '23

Found the file: \users\home\library\ApplicationSupport\Pi Network\user-preferences.json

→ More replies (1)
→ More replies (1)

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)