Syncing Problems on Windows

Photo by Pixabay on

The Chia network is developed by Bram Cohen, the inventor of BitTorrent. As such, the Chia Client uses a peer-to-peer network to download the blockchain. Recently however, there has been an explosion of new people wanting to farm Chia. This means that the synchronization times of the blockchain is going through the roof. We’re talking hours here. To help mitigate this, there are a few things you can do to ensure that you have no roadblocks in the way.

I will be a bit high-level on this subject because there are so many configurations out there that I can’t possibly cover them all. Hopefully this will point you in the right direction. If you are having synchronization issues, perform the following:

  1. Windows Firewall – Make sure that the chia client is allowed through the firewall. A no brainer, but doesn’t hurt to check.
  2. Router update – Install the latest update to your router. This isn’t required, but it has helped some people fix their sync issue.
  3. UPNP errors – Check the Chia Client log and make sure you don’t have any UPNP errors. If you don’t know what I’m talking about, follow this and come back. Just search the log for “UPNP”. If you do have UPNP errors, this means your router does not have it enabled (which is good security-wise) but bad for the Chia Client. Essentially, only you can connect out to peers but no one can connect to you. Plus you will be limited to 10 peers instead of 50. To fix this, and keep UPNP disabled on the router, you must Forward port 8444 in your router. Then you must change the config file to disable UPNP by changing the following value:
enable_upnp = false

Restart the Chia Client when this is complete.

4. Timezone Settings – Make sure that your time is correct. On Windows, if you have “Set Time Zone Automatically” selected, it may cause sync issues due to incorrect time. Turn off “Automatic Timezone” but keep “Automatic Time”. Manually Select your Timezone to the correct one. Then Synchronize the time with the Windows Time Server.

5. Router on Router? – Some people have a modem/router combo from their ISP for their internet service. Then, they piggy back their own router off this one. If this is you, remember that if you forward port 8444 on your router you also have to forward it on the ISP modem/router.

6. Port Check – Once port 8444 has been forwarded, you need to check if the port is actually open from the outside. Go to this website and enter port 8444 to check. It should fill out your Public IP address automatically:

Edit: Thank you to Anees in the comment section for making me realize I was missing step 6.

7. Add A Chia Introducer – This is a Last Resort. If you are still having sync issues and not connecting to peers, add one of the following IP address in your Chia Client. These are listed on the Chia Teams GitHub page. Don’t add all of them (Thanks willphule!) Just click the “Connect to other Peers” button in the Chia Client and add the IP/port:

North Asia:
South Asia:
Western North America:
Eastern North America:

These are the things you can do and check to ensure that there are no roadblocks preventing the syncing of the block chain. As I come across more solutions, I will add them to this page.

21 thoughts on “Syncing Problems on Windows

  1. Please note that you should only use ONE introducer, the one in your location – please do not add all three. Also be aware that the introducers are scheduled to be removed later this year.

  2. I found that releasing and renewing my ipconfig from command prompt worked even when UPNP was enabled on my router and with no firewall or antivirus.

  3. Hi Alex, great blog.

    I’ve disabled UPNP on my router and set it to false in the config file. I’ve restarted Chia, and currently at 4 peers. Port 8444 is open. Do I understand correctly that we should be having 50 connected peers? Thanks, Anees

      1. Four days straight. I was stuck at 10 peers. Came across your blog -> disabled UPNP on the router, changed the config to false, restarted and now back up to 10….seems to be stuck at 10. Shall I use one of the introducers?

      2. Alex – in my case after making the changes restarting the router was what made it work

  4. One point worth mentioning is that you need to add a rule to your firewall to allow traffic in from ANY port to 8444.

    I’m using Comodo firewall and I added a global rule to allow traffic in from 8444 to 8444, as I thought that was all it needed and the port forward rule on my router would just be forwarding traffic from/to that port. I had about 16 peers connected, so I thought it was fine but then I had a problem with the Last Attempted Proofs only updating occasionally and the dates/times being out of order and it was only whilst researching this that I realised I needed to change the firewall rule.

    1. from ANY port (1-65535) to 8444? That can’t be right…
      – Giant security risk
      – You can’t have any other port forwards if everything goes to your Chia farmer.
      – I’m sure there’s an official port range? I can hardly believe the designer of the Chia network intended to use ALL ports.

    2. On second read i see you’ve mixed up 2 things in your first line, being firewall rules and port forwarding. You can allow the chia client through the firewall, that’s fine, also let the port(s) associated with it through the firewall.

      Your line: “..a rule to your firewall to allow traffic in from ANY port to 8444. ” mixes the 2 things up. Port forwarding from outside to inside your network (WAN to LAN) people should forward 8444 to your static internal IP address on the same port (8144).

      if i’m mistaken, please let me know.

      1. I don’t really see how “add a rule to your firewall” can be read as “add a port forward to your router”.

        The Chia GUI shows that peers are connecting from various ports to 8444, like 38724/8444. There’s the odd one that shows 8444/8444 but they’re very much in the minority and I think that’s all I saw before I changed the firewall rule. Certainly I saw far fewer peers than I do now.

        As I understand the port forward rule, it just tells the router to forward traffic that’s has a destination port 8444 to a specific IP address, regardless of what outgoing port the other end is using. Whereas the firewall looks at the traffic and sees both the source and destination port, so a rule only allowing traffic from port 8444 to port 8444 doesn’t allow through most of the peers that are using a different port as their outgoing port.

        Comodo Firewall has a section for Global Rules, which is where I’ve set the rule to allow incoming traffic from any port to port 8444 and a section for Application Rules, which is where I’ve allowed all incoming/outgoing traffic to/from the various Chia components.

  5. Thanks for making this list.

    I just added a post on the Reddit Chia forum to cover an important sync issue you do currently include in your list: If Chia crashes or does not shut down correctly ‘Zombie’ Chia process can continue to run alongside a restarted Chia GUI causing conflicts and sync issues. The fix is to completely blow away all Chia processes before restarting the GUI.

    More info here:

  6. Hi Alex

    may be a minor point – fwiw – after making changes to router -it needs to be restarted. That is what made it work me

  7. Hi, I had an issue where the status would be: Not Synced. Nothing was going on. For some reason, the system could no longer write to the the lock file(.__debug.lock) in my C:\Users\\.chia\mainnet\log directory. This was likely due to my not closing the app properly just beforehand.

    I discovered that this was the problem by launching it via Powershell. I had changed the logging settings, but the log file was not updating, which is what drove me to launch it via Powershell.

    I stopped the Powershell, then I renamed both the lock and log files something else (I probably could have deleted them too).
    I then started the GUI version and it started correctly. The sync process began right away.

  8. Do I have to turn off all my non harvester (port 8444) main farmer GUIs in order to not have them overtake the port 8444 harvester? How will the main 8444 computer know about all my plots on the other computers?

Comments are closed.

%d bloggers like this: