- This topic has 9 replies, 4 voices, and was last updated 1 year, 7 months ago by David.
August 20, 2019 at 2:21 am #988640Anonymous
When attempting to install the Niche theme, the message 503 service unavailable is display when importing the content. A screenshot of the image can be found at https://imgur.com/a/duk0QWZ.
It doesn’t appear to timeout to run the import process again so that the debug code can be included.
When the process is interrupted by attempting to import the content it produces the message 524 Origin Time-out. A screenshot of the image can be found at https://imgur.com/a/ztCHLNe
Although the code below is embedded in the wp-config file, no debug file is generated.
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true );
What options are there to resolve the error?August 20, 2019 at 8:42 am #989022TomLead DeveloperLead Developer
Can you make sure your server is set up to have these values (at least)?: https://docs.generatepress.com/article/error-codes-importing/#server-error-500
How long are approximately waiting before the timeout happens?August 20, 2019 at 10:53 am #989109Anonymous
The server is setup with the values in the documentation and it results in the error. The tiemout error occurs approximately within 1 minute of the import process beginning.
In testing a few of the themes e.g. Catalyst, it appears to be only affecting the Niche theme when importing.August 20, 2019 at 4:55 pm #989287TomLead DeveloperLead Developer
It should be able to run longer than 1 minute. Niche is a big import, as it uses WooCommerce and has lots of products, so it needs more time than something like Catalyst.
Something on your server is stopping it before it’s able to complete. It might be worth mentioning the issue to your host, as they might know of a safeguard they have in place to prevent long requests like this.August 20, 2019 at 11:04 pm #989379Anonymous
- Would you have an idea of the possible restrictions that may be resulting in the error?
Are there additional attributes that can be updated to support the import?
August 21, 2019 at 8:15 am #989836TomLead DeveloperLead Developer
- Can the theme be updated to reduce the size of the import?
Are you using Cloudflare by chance?: https://support.cloudflare.com/hc/en-us/articles/115003011431#524errorAugust 21, 2019 at 11:46 pm #990284Anonymous
Yes, Cloudflare is in use. It isn’t clear as to whether Cloudflare would be the result of the issue since there are sites that have a higher demand on resources.
Additionally, the error code displayed isn’t the same as per the Cloudflare documentation.August 22, 2019 at 7:26 am #990586TomLead DeveloperLead Developer
Can you try pausing Cloudflare while you do the import?: https://support.cloudflare.com/hc/en-us/articles/200169176-How-do-I-temporarily-pause-Cloudflare-October 29, 2019 at 6:41 am #1047688Andre
I am having the same import trouble with Bold theme.October 29, 2019 at 9:12 am #1047952DavidStaffCustomer Support
have you run through the debugging checks for 500 errors here:
- You must be logged in to reply to this topic.