• Resolved SEOintheUK

    (@alxmiller)


    Hi,

    We have installed the Web Stories plugin but whenever we try to “save draft” for a new story, we get the following error message: “Failed to save the story”

    What can we do to fix this error?

    Our current WordPress install is 5.4.2 and web stories version is 1.0.0-rc.1

    We use Cloudflare as well.

    Thank you

    • This topic was modified 4 years, 1 month ago by SEOintheUK.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Hi there,

    Thanks for your report!

    We’re still looking into conflicts with Cloudflare’s web application firewall and hope to have an update on that soon.

    In the meantime, as a workaround, you could add a custom Firewall rule to disable the WAF for any Web Stories-related REST API requests, like so:

    Thread Starter SEOintheUK

    (@alxmiller)

    Thank you for this. Will it have ANY other effect on the site by adding this custom firewall rule?

    Plugin Support Luckyna San

    (@luckynasan)

    @alxmiller You can refer to this CloudFlare documentation to learn more on how the “Bypass the WAF with a Firewall Rule” can help with cases like these.

    Hi team,
    we have the same issue here and confirmed the workaround (add a custom Firewall rule in Cloudfalre) provided by Pascal Birchler worked.

    Since the workaround potentially may cause issues from security perspective, just want to check that do you have the plan to fix the conflicts with Cloudflare’s web application firewall in further release of the plugin?

    Plugin Support Luckyna San

    (@luckynasan)

    @leo2003 Thanks for the post. We working towards a solution for the firewall issues reported and these efforts are currently tracked in this GitHub issue. We do have a development version of the plugin that includes the fix which will allow users to use templates and publish stories as expected when behind a WAF. Feel free to monitor the GitHub ticket above for updates!

    Plugin Author Pascal Birchler

    (@swissspidy)

    Hi all,

    As already mentioned in other threads:

    In the new version 1.1.0 of the plugin we’ve included an experimental solution for this issue that allows you to keep using the plugin while still being fully protected by Cloudflare.

    Because it’s still experimental, it takes a couple of steps to enable this:

    1. Add define( 'WEBSTORIES_DEV_MODE', true ); to your **wp-config.php** file
    (somewhere before the /* That's all, stop editing! Happy publishing. */) line)
    2. In your WordPress admin, go to **Stories** -> **Experiments**
    3. Toggle the **WAF Compatibility** checkbox and save the changes.
    4. Create a new story!

    Could you try this and let us know if this works for you?

    Meanwhile, we’re working hard on stabilizing this feature in time for our 1.2.0 release so you don’t have to do these steps anymore.

    Thanks for your cooperation and patience!

    Nikita

    (@joydumply)

    I did this four steps, but I have the same error. I can’t create a web story.
    And on the main screen I have a message

    Unable to fetch media

    Plugin Support Luckyna San

    (@luckynasan)

    @alxmiller Hi there! We’ve recently released version 1.2.0 of Web Stories which includes the work to stabilize WAF compatibility. Could you please update to the latest version and let us know if there are any issues? Thank you.

    Plugin Support Luckyna San

    (@luckynasan)

    @alxmiller Closing this topic as resolved since we haven’t received a response. Please feel free to open a new support topic if you continue to experience any issues. Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘“Failed to save the story” – error’ is closed to new replies.