Invalid Route /host-login

What issue or error are you experiencing?

Cannot push/pull. When i do i get an alert invalid route /host-login


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

I am getting this error when trying to push / pull a site to and from WPEngine. I have no issues logging in with my profile, that all works fine up until the point of trying to sync


System Details

  • Local Version: 10.0.0

  • Operating System (OS) and OS version: MacOS 14.4


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log) - No longer have them,

local-lightning.log (208.8 KB)


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.

I’m seeing some connection type errors in the logs @jmtattoo but I’ve never seen those lead to that type of prompt in your screenshot. It sounds like this is just happening for a specific install correct? Are you able to push and pull other sites just fine?

Does that /host-login reference anything you’re aware of on the site such as a hidden admin or member login?

For us to be able to troubleshoot a little deeper, could you please click the Download Local Logs button from the Support tab in Local? That will be the Question Mark on the left hand side of your Local app. Once you click on that you can scroll down a little bit and see that Download Local Log button. This will generate a zip archive that contains the Local log along with some other diagnostic information to help us.

@Nick-B , no I cannot push/pull to any site, unfortunately. I’ve uninstalled, reinstalled, cleared everything i can think of at the moment. I have client legacy sites that I use other apps like MAMP & HERD, depending on need. I never had any issues as long as i’m not running them all at the same time to avoid having to set multiple routes/ports.

local-logs.zip (85.0 KB)

We will take a look at your log and account and try to investigate further, but for now if you need workarounds you should be able to download a backup and directly import any site you can’t pull.

As far as pushing, the free WPE Migration plugin will do as a workaround:

Did this issue just arise suddenly then? How long has it been since you were able to push and pull normally?

Yes, i’m doing all manual backups, downloads, etc…

It started off and on when i forgot to shutdown Herd Monday when i opened Local. I then stopped all Herd services, rebooted and then opened Local. That fixed it. Then all of the sudden on Wed this week i started getting this error, then i discovered Herd added items to my startup during an upgrade. Even though i removed that and dumped Herd, this issue has since been permanent.

I’m able to replicate the error in your screenshot @jmtattoo, but it happens as a result of logging out of the WP Engine Connected accounts and then trying to pull/push. So are you saying even after you sign back in you still get the error when trying to connect? Or is some other error happening?

Can you double check that you’re signed back into WPE under your Connected Accounts in Preferences or from the Connect tab?

Yes, i was signed in ( exatly what you mention ) with the connected accounts for WPE. It was showing my initials after signing ( see attached image ) in instead of the normal generic icon when not signed-in. That was main thing throwing me off. The fact it was signing me in, showing me as signed in, but yet getting that error when trying to push/pull - I assumed it was something with Herd doing something to a proxy, even after removing both apps, essentially nuking ā€˜em and reinstalling ā€˜em it was still squirrely.

A few hrs ago, i trying anything and everything, again, except this time i added a few of the extensions and used the backup connector to dropbox - now all of the sudden i can push/pull!

Super strange!

If you are all are able. I might recomend installing Herd, setup a few dummy Laravel apps and try and run Local app with it, see if you can replicate it that way?

Screenshot 2026-04-10 at 5.56.37 PM

Hey @jmtattoo! To clarify, logging into the Profile icon is only necessary for Local Hub, which allows you to use Live Links and our Legacy Cloud Backups add-on. It is not necessary to use Local Connect or push/pull with WP Engine. So that may have been part of the confusion. You’re not the first user to be caught by this. We’re planning some changes down the road to make this a bit more streamlined.

To quickly check your Local Connect accounts, you can click on the connect icon on the left-hand side of your Local app, and then toggle to Hosting platforms as seen here:

Hi, @Nick-B - No, i was in here as well. So i had tried connecting everyway possible i know of.

I installed a few of your extensions and configured the backup storage to our dropbox, after that it just started working again - is it possible that a config option got mangled which one of these extensions corrects? I’m at a loss as to what happened.

Thanks for the extra feedback, @jmtattoo. It sounds like your WP Engine login was disconnected, either due to logging out, corrupt settings, or a time out.

By logging in to WPE again, that allowed push/pull to work again. (The ā€œinvalid routeā€ issue you saw can only appear if you’re logged out or if your session has timed out.)

We have some work planned to remove the ā€œinvalid routeā€ issue and make it more obvious when you’re not logged in to WPE or Flywheel.

For now, if you happen to see it again, visit Settings → Connected Accounts, and log into WP Engine again or log out and log in again.