# Local Pull sites from WPEngine

**URL:** <https://community.localwp.com/t/local-pull-sites-from-wpengine/43930>\
**Category:** Support\
**Tags:** mac\
**Created:** [July 29, 2024, 11:29am UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930 "2024-07-29T11:29:29Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![amichell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/amichell/32/22332_2.png) [@amichell](https://community.localwp.com/u/amichell)\
**Post date:** [July 29, 2024, 11:29am UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/1 "2024-07-29T11:29:29Z")

</div>

### What issue or error are you experiencing?

## I was wondering if there is an issue with the way Local connects via SSH to WPEngine.

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

## Try and pull a website from WPEngine to Local; either by just pulling to an existing connection or by login in to WPEngine from Local and then pulling a website once the connection between Local and WPEngine is successful.

### System Details

- **Local Version:**  
Version 9.0.5+6706
- **Operating System (OS) and OS version:**  
MacOS: 14.5 (23F79)

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [July 29, 2024, 4:01pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/2 "2024-07-29T16:01:27Z")

</div>

Hey @amichell – welcome to the Local community forums!

It’s hard to know for sure what might be going on.

Can provide the Local Logs? You can get a zip of those logs by clicking the “Download Local Log” button from the “Support” tab of Local. See this help doc for more information:

> **[Retrieve Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)**
>
> A big part of troubleshooting errors, on any website or application, is the log file. This file contains a record of actions or errors that have occurred when a process is done. When reaching out for…

---

<div class="post-metadata">

**Author:** ![amichell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/amichell/32/22332_2.png) [@amichell](https://community.localwp.com/u/amichell)\
**Post date:** [July 30, 2024, 8:11am UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/3 "2024-07-30T08:11:55Z")

</div>

Thank you @ben.turner following are the logs -I think these are the relevant ones. It looks like the rsync operation failed due to an SSH connection timeout to the WP Engine server.  
[local-lightning-verbose0.log](https://community.localwp.com/uploads/short-url/1NZI5JU2V9wZBqo8tRX3R4AI0fs.log) (288.5 KB)

---

<div class="post-metadata">

**Author:** ![amichell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/amichell/32/22332_2.png) [@amichell](https://community.localwp.com/u/amichell)\
**Post date:** [July 30, 2024, 8:27am UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/4 "2024-07-30T08:27:08Z")

</div>

I also looked at the router error logs and they have the same narrative (in this case I was trying to access a different site I manage the day before and could not connect Local to WPEngine):

Warning Logs: (Consistent pattern) all warning logs share a common pattern:

- An upstream response is being buffered to a temporary file.
- The client is accessing a specific website (amplifykc2021.local, amplify.local, or i2fjune.local).
- The requested resource is a media file (image or video).
- The upstream server is a local server (127.0.0.1) on a specific port.

Error Logs: (Connection refused) the two error logs indicate that Nginx was unable to connect to the upstream server (127.0.0.1:10023).  
[error.log](https://community.localwp.com/uploads/short-url/h6RUjoD1vZLURa4j7Ne1ZPVfUX.log) (98.6 KB)

---

<div class="post-metadata">

**Author:** ![amichell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/amichell/32/22332_2.png) [@amichell](https://community.localwp.com/u/amichell)\
**Post date:** [July 30, 2024, 8:34am UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/5 "2024-07-30T08:34:28Z")

</div>

And the latest verobose logs (July 30) describe the same connection issue to WPEngine.  
[local-lightning-verbose0.log](https://community.localwp.com/uploads/short-url/1NZI5JU2V9wZBqo8tRX3R4AI0fs.log) (288.5 KB)

Entry 1 & 2 (Warn level):\*\* These entries indicate the core issue.  
Entry 1: The SSH connection to the `prddwplpsite.ssh.wpengine.net` server timed out.  
Entry 2: Rsync encountered an unexpected connection closure and unexplained error (code 255).  
Entry 3 (Error level):\*\* This entry summarizes the error, stating “Error in WP Engine connect” and referencing the rsync process exit code (255) from entry 2.  
Entry 4 & 5 (Debug level):\*\* These entries seem unrelated and likely represent successful pings to a database within the application after the rsync failure.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [July 30, 2024, 1:46pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/6 "2024-07-30T13:46:59Z")

</div>

Hey @amichell

I looked for some of the sites mentioned in your earlier logs but looks like they’ve been removed?

Is there anything unique about your connection? For example are you using a VPN or connecting via a work/office network?

As a workaround and a test, does direct importing a backup into Local work?

- Create and Download a Backup from WPE: [Backup and Restore - Support Center](https://wpengine.com/support/restore/#Download_a_Backup)

- Import into Local: [Import/Export a WordPress Site - Local](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/)

---

<div class="post-metadata">

**Author:** ![amichell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/amichell/32/22332_2.png) [@amichell](https://community.localwp.com/u/amichell)\
**Post date:** [July 31, 2024, 4:21pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/7 "2024-07-31T16:21:14Z")

</div>

Thank you @Nick-B ; yeah I did remove the sites from my account. I downsized my WPEngine hosting account. And about your workaround, that is what I have been doing, download the backup and restore using Local. I wish I could go back to just using Local directly.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [July 31, 2024, 5:27pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/8 "2024-07-31T17:27:32Z")

</div>

Did you start having issues with Local Connect after a specific update of your app, machine or change in your WPE account?

Something else you could try for a quick troubleshooting workflow would be this:

- Disable API access in your WPE dashboard
- Log out of your WPE account in Local
- Quit Local
- Enable API access again on WPE side
- Restart Local
- Log back into WPE in your app and try again

---

<div class="post-metadata">

**Author:** ![amichell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/amichell/32/22332_2.png) [@amichell](https://community.localwp.com/u/amichell)\
**Post date:** [August 6, 2024, 8:28pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/9 "2024-08-06T20:28:33Z")

</div>

Hi @Nick-B Thanks for the suggestion; I try it, followed the steps you listed and it did not work. However there seems to be an issue with SSH at WPEngine. Here is the announcement: [Loading...](https://wpenginestatus.com/incidents/624733)

 ![WPEngine SSH Issue](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/e/fe24e2fda34146ba11740401af667ebfe5768eb6.png)

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [August 6, 2024, 8:30pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/10 "2024-08-06T20:30:53Z")

</div>

Hi @amichell! You’re correct and I just shared that with some other WPE users as well. As a test you could try connecting to your site via SSH and if that doesn’t work then your install might be impacted. You could also try reaching out to WPE directly to see if they are able to determine if you’re specific install is included or wait until that issue shows resolved.

---

<div class="post-metadata">

**Author:** ![amichell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/amichell/32/22332_2.png) [@amichell](https://community.localwp.com/u/amichell)\
**Post date:** [August 6, 2024, 8:43pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/11 "2024-08-06T20:43:27Z")

</div>

Thank you @Nick-B; it seems my install is impacted. I opened a ticket with WPEngine.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [August 6, 2024, 9:19pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/12 "2024-08-06T21:19:48Z")

</div>

Okay thank you for letting us know @amichell 💚

I know you’ve already been downloading and importing backups as workaround. You can also use the WPE migration plugin as a workaround for pushing as well if needed:

> **[WP Engine Site Migration Plugin - Support Center](https://wpengine.com/support/wp-engine-site-migration/)**
>
> Learn how to use the WP Engine Site Migration plugin to migrate WordPress sites from almost any host to the WP Engine or Flywheel platforms.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [November 4, 2024, 9:20pm UTC](https://community.localwp.com/t/local-pull-sites-from-wpengine/43930/13 "2024-11-04T21:20:18Z")

</div>

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