Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare will cause one click demo import Error (0) #296

Open
Jerrynh770 opened this issue Jul 3, 2024 · 2 comments
Open

Cloudflare will cause one click demo import Error (0) #296

Jerrynh770 opened this issue Jul 3, 2024 · 2 comments

Comments

@Jerrynh770
Copy link

Jerrynh770 commented Jul 3, 2024

If i set SSL/TLS encryption mode to off and always use https to false in cloudflare it will work, but if not it will always show Error (0).

Edit : If i use SSL/TLS encryption mode to Full it also works ! but not working with Flexible mode,also I need to set Opportunistic Encryption to false too.

@capuderg
Copy link
Contributor

capuderg commented Jul 3, 2024

Hey @Jerrynh770 thanks for the report.

Were you able to see the reasoning why the import fails, any specific response from Cloudflare, or do you maybe have any reports in the Cloudflare dashboard as to why the requests were blocked?

Also, are you maybe importing content from a site that is not using HTTPS in its URLs? For example images and other media files... do those use HTTP in their URLs in the XML import file?

Any details would be very helpful.

@Jerrynh770
Copy link
Author

It didn't show any log in WordPress (wp-content/uploads/yyyy/mm).
But the WordPress site_url and home is set as http://mydomain.com since https will cause ERR_TOO_MANY_REDIRECTS with cloudflare SSL/TLS Encryption flexible mode. I think that may be the reason why OCDI always run failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants