- This topic has 9 replies, 4 voices, and was last updated 4 years, 5 months ago by David.
-
AuthorPosts
-
August 20, 2019 at 2:21 am #988640Anonymous
Hi there,
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 DeveloperHi there,
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 #989109AnonymousHi Tom,
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 DeveloperIt 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 #989379AnonymousThanks Tom.
- 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?
- Can the theme be updated to reduce the size of the import?
August 21, 2019 at 8:15 am #989836TomLead DeveloperLead DeveloperAre you using Cloudflare by chance?: https://support.cloudflare.com/hc/en-us/articles/115003011431#524error
August 21, 2019 at 11:46 pm #990284AnonymousHi Tom,
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 DeveloperCan 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 #1047688AndreHi Tom
I am having the same import trouble with Bold theme.
October 29, 2019 at 9:12 am #1047952DavidStaffCustomer SupportHi there,
have you run through the debugging checks for 500 errors here:
https://docs.generatepress.com/article/error-codes-importing/#server-error-500
-
AuthorPosts
- You must be logged in to reply to this topic.