• Getting two weird issues when trying to submit the form .

    /wp-json/contact-form-7/v1/contact-forms/212/feedback?_locale=user:1 Failed to load resource: the server responded with a status of 403 ()
    /wp-admin/admin-ajax.php?action=rest-nonce:1 Failed to load resource: the server responded with a status of 400 ()

    Form here https://relltek.com/contact/

    any ideas what might be wrong?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter Wayne

    (@waynep16)

    I have tried with all plugins disabled.

    The other poster has also tried to help but seems comments removed ?

    @jasonabmw

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    We removed some replies so YOU an get the help you need.

    Folks, we do get it. You have the problem and want to jump in and say “me too and!” But the reality here is that while everyone may be manifesting the same error, the rout to get there may NOT be the same. In fact, most of the time it’s not. So while a ‘me too!’ seems like it helps the developer understand the criticality, it also means people like poor Wayne get shouted down to oblivion and maybe won’t get helped at all!

    So. If this is happening to you? Keep an eye on this post. Or make your own with a list of your plugins/themes, and what you’ve done to try and debug. That way, you won’t get spammed with a bunch of emails that say “Me too!” and don’t give you false hope ??

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @waynep16 The other replies were archived as they talked to the other user’s problems. Please focus on your site and provide the info the the plugin developer asked of you.

    Thread Starter Wayne

    (@waynep16)

    Understood. Here is the live page with the issue

    https://relltek.com/contact/

    Thread Starter Wayne

    (@waynep16)

    Hi @takayukister – I am still getting this error. What can do?

    Thread Starter Wayne

    (@waynep16)

    Is anyone able to help us at all ? @takayukister

    same problem, I’m using varnish cache who ignore cache in that situations:

    // Do not cache AJAX requests.
    if (req.http.X-Requested-With == "XMLHttpRequest") {
    return(pass);
    }
    
    // Post requests will not be cached
    if (req.http.Authorization || req.method == "POST") {
    return (pass);
    }
    
    // Only cache GET or HEAD requests. This makes sure the POST requests are always passed.
    if (req.method != "GET" && req.method != "HEAD") {
    return (pass);
    }
    
    // Dont Cache WordPress post pages and edit pages
    if (req.url ~ "(wp-admin|post\.php|edit\.php|wp-login|et_fb=)") {
    return(pass);
    }
    if (req.url ~ "/wp-cron.php" || req.url ~ "preview=true") {
    return (pass);
    }
    
    // Woocommerce
    if (req.url ~ "(cart|my-account|checkout|addons)") {
    return (pass);
    }
    if ( req.url ~ "\?add-to-cart=" ) {
    return (pass);
    }
    
    // Paid memberships Pro PMP
    if ( req.url ~ "(membership-account|membership-checkout)" ) {
    return (pass);
    }
    
    // WordPress Social Login Plugin. Note: Need to develop this. Please share if you have an example.
    if (req.url ~ "(wordpress-social-login|wp-social-login)") {
    return (pass);
    }
    // Remove the "has_js" cookie
    set req.http.Cookie = regsuball(req.http.Cookie, "has_js=[^;]+(; )?", "");
    
    // Remove any Google Analytics based cookies
    set req.http.Cookie = regsuball(req.http.Cookie, "__utm.=[^;]+(; )?", "");
    set req.http.Cookie = regsuball(req.http.Cookie, "_ga=[^;]+(; )?", "");
    set req.http.Cookie = regsuball(req.http.Cookie, "utmctr=[^;]+(; )?", "");
    set req.http.Cookie = regsuball(req.http.Cookie, "utmcmd.=[^;]+(; )?", "");
    set req.http.Cookie = regsuball(req.http.Cookie, "utmccn.=[^;]+(; )?", "");
    
    // Remove the Quant Capital cookies (added by some plugin, all __qca)
    set req.http.Cookie = regsuball(req.http.Cookie, "__qc.=[^;]+(; )?", "");
    
    // Remove the wp-settings-1 cookie
    set req.http.Cookie = regsuball(req.http.Cookie, "wp-settings-1=[^;]+(; )?", "");
    
    // Remove the wp-settings-time-1 cookie
    set req.http.Cookie = regsuball(req.http.Cookie, "wp-settings-time-1=[^;]+(; )?", "");
    
    // Remove the wp test cookie
    set req.http.Cookie = regsuball(req.http.Cookie, "wordpress_test_cookie=[^;]+(; )?", "");
    
    // Remove the phpBB cookie. This will help us cache bots and anonymous users.
    set req.http.Cookie = regsuball(req.http.Cookie, "style_cookie=[^;]+(; )?", "");
    set req.http.Cookie = regsuball(req.http.Cookie, "phpbb3_psyfx_track=[^;]+(; )?", "");
    
    // Remove the cloudflare cookie
    set req.http.Cookie = regsuball(req.http.Cookie, "__cfduid=[^;]+(; )?", "");
    
    // Remove the PHPSESSID in members area cookie
    set req.http.Cookie = regsuball(req.http.Cookie, "PHPSESSID=[^;]+(; )?", "");
    
    // Are there cookies left with only spaces or that are empty?
    if (req.http.cookie ~ "^\s*$") {
    unset req.http.cookie;
    }
    
    // MEGA DROP. Drop ALL cookies sent to WordPress, except those originating from the URLs defined.
    // This increases HITs significantly, but be careful it can also break plugins that need cookies.
    // Note: The /members/ directory had problems with PMP login and social login plugin.
    // Adding it to the exclude list here (and including it below in the "Retain cookies" list) fixed login.
    // This works better than than other cookie removal examples found on varnish's website.
    // Note phpBB directory (forumPM) also passes cookies here.
    if (!(req.url ~ "(wp-login|wp-admin|cart|my-account|checkout|addons|wordpress-social-login|wp-login\.php|forumPM|members)")) {
    unset req.http.cookie;
    }
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘server responded with a status of 403 feedback?_locale=user’ is closed to new replies.