# Error downloading remote site when syncing

**URL:** <https://community.kinsta.com/t/error-downloading-remote-site-when-syncing/2030>\
**Category:** Application Support\
**Created:** [January 25, 2023, 11:05pm UTC](https://community.kinsta.com/t/error-downloading-remote-site-when-syncing/2030 "2023-01-25T23:05:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryanb](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/ryanb/32/611_2.png) [@ryanb](https://community.kinsta.com/u/ryanb)\
**Post date:** [January 25, 2023, 11:05pm UTC](https://community.kinsta.com/t/error-downloading-remote-site-when-syncing/2030/1 "2023-01-25T23:05:23Z")

</div>

I keep getting the same error while syncing my local site to mirror my live site.

 ![Screenshot 2023-01-25 at 4.54.30 PM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/b/bad1c2737f87b9223217a8b2894904691ae35907.png)

It happens at around 5GB out of ~6GB. I’ve tried 5 times and always get the same result.

I found similar topics on here and they say to look in main.log but I don’t see any main.log in my logs directory. Can you help me find the log file and troubleshoot?

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [January 26, 2023, 3:09am UTC](https://community.kinsta.com/t/error-downloading-remote-site-when-syncing/2030/2 "2023-01-26T03:09:07Z")

</div>

Hi again Ryan 🙂

You may want to check this knowledge base: [DevKinsta Error Codes - Kinsta®](https://kinsta.com/knowledgebase/devkinsta/error-codes/#viewing-the-application-log-file) (on how to access the main.log file ).

Once you found it, you may open it with any text editor and see if you can find anything about `timeout` or `rsync` . If you’re experiencing any issues with it, you can send (DM to me) your `main.log` file .

I’ve seen similar case like this (_Something bad happened_) when processing to download the files from the server to local computer and failed/timed out. This step uses rsync as a tool to share files, so anything that can cause rsync to fail can be the root cause of this issue (rsync can have issues with slower or unstable connections).

Please also check your site’s folders and see if there is/are single large file(s) on the server that are not really necessary for your site to run (or to be transferred to your local computer), and see if you may want to delete those large single files (that will also help to reduce the site size). Sometimes sites have leftover large .zip , .sql files or backups that don’t necessarily need to be transferred. After that, please try to sync again and see if the site’s files can be transferred completely.

Cheers,  
Agus

---

<div class="post-metadata">

**Author:** ![ryanb](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/ryanb/32/611_2.png) [@ryanb](https://community.kinsta.com/u/ryanb)\
**Post date:** [January 27, 2023, 4:35am UTC](https://community.kinsta.com/t/error-downloading-remote-site-when-syncing/2030/3 "2023-01-27T04:35:14Z")

</div>

I see, main.log is in /Users/\<username\>/Library/Logs/DevKinsta on OSX.

Yes, I do see the rsync timeout errors. I ended up deleting the local site and re-importing it from Kinsta which works fine. It’s odd that there is no rsync timeout when doing that but there is when syncing an existing local site. Oh well, it’s faster to delete and re-import anyway because then it doesn’t waste time unnecessarily backing up the old local site I’m trying to replace.

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [January 27, 2023, 5:47am UTC](https://community.kinsta.com/t/error-downloading-remote-site-when-syncing/2030/4 "2023-01-27T05:47:38Z")

</div>

Yup, glad that you found the main.log file inside that subfolder on your Mac 👍

Thank you for your update Ryan!  
Yeah, it’s indeed odd and I’m not sure either why the `rsync` worked just fine when you just deleted the local site and re-imported the site. Right, that seems to be a faster way to achieve it (and I’m happy that method worked for you)! 😃

Cheers,  
Agus

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)\
**Post date:** [January 30, 2023, 5:47am UTC](https://community.kinsta.com/t/error-downloading-remote-site-when-syncing/2030/5 "2023-01-30T05:47:59Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
