Archived topic
Download demo site from China
4 replies · Started by superk on March 22, 2022
Got the GP Premium.
I would like to import the following demo site called Service.
However, it seems that the Site Library can't fetch in the WP backend.
I think it's because the server is in China. So the HTTP API Calls are not happening: https://docs.generatepress.com/article/site-library-unavailable/
Do you have another solution to install this specific demo?
thx.
Hi Superk,
Thank you for reaching out to us here.
You would need to contact your hosting and make sure your server is able to talk to generatepress.com and gpsites.co.
Otherwise, technically, the other solution would be to import it in another site, then manually export everything that is added by “Service”.
Specifically, export Posts/Pages, and customizer settings. You may also access your database to get the customizer settings.
Hope this clarifies. :)
hey Fernando -
thx for the clarification.
I did this : If that doesn’t work, install the Query Monitor plugin. Once installed and activated, head back to “Appearance > GeneratePress > Site Library” and click the Refresh Sites button again.
When I refresh, in the Query Monitor console, I get : No HTTP API calls.
What is the solution?
when I go to the plugin list.
I get the cURL error 28: Resolving timed out after 5000 milliseconds
My server is in China.
I see. As mentioned in the attached article, https://docs.generatepress.com/article/site-library-unavailable/, “This typically means your server isn’t able to communicate with gpsites.co (where the API for our Site Library lives).”
“You can check with your hosting support, as they will be able to tell why the error is happening.”
“If there isn’t a block in place, it’s possible that ModSecurity is enabled on your server. Ask your hosting to disable it while you use the Site Library. It can be turned back on once you’re done using the importer.”
For this, you’ll definitely need to reach out to your hosting provider and see what they can do.
Hope this clarifies. :)