502 Request Error, I'm not able to access my site

I’m working on wordpress multisite
I’m always Facing this error 502 Request Error

when i restart the local this error goes and I think this is because my Multisite option is not set to Subdomains. when i restart my website i always not to updated the urls of multsite in my host file, and this domians are not sync with local I think so
image

please can anyone assists so that this error should not appear again

Hi @rohitbalecfc

A 502 could be a timeout or resource issue. So you could check for some performance culprits in our guide here:

We also have a guide for building multisites in Local here if you haven’t looked at that already:

Hello @Nick-B this problem i facing it daliy not able to solve by given suggestions. please assist to solve the follow proble asap.

Are you dealing with this with your multisite or with any site you have in Local?

For example if you create a new, blank site in Local can you access that or does it give you a 502 error?

If I create a new blank site, it doesn’t give this error, it gives error for the multisite which I have import into WP Local, WP Local doesn’t recognize that the upload WordPress is a WordPress Multisite, and I can access the website but if i use the multisite for more that 1 hour it gets crashed, or if i install any new plugin it gets crashed but when i restart i see that the plugin is installed and i active the plugin again it gets crashed and when i restart it plugin is active across the network. can you explain me why this is happening?

Hi @rohitbalecfc

How did you import your multisite into Local? Since Local’s Connect feature and native import don’t support multisite you have to create a new multisite in Local first and then manually import your content and database. The instructions are including in our help article here:

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