• Resolved evgenydev

    (@evgenydev)


    Hello! Please help with webhook\API issue.

    I use cloudflare pro plan for one of two domains. But on pro plan WC dont fire webhooks and i can’t authorize on WC API.

    but when I checked webhooks firing and WC API connection on free cloudflare domain plan – they work fine.

    I checked this on full copy of site (I restored VM on Azure from backup for second domain).

    If I understand correctly, I can add custom Page Rules on cloudflare Pro plan account for fix it, right?
    If yes, what urls I need add?

    p.s. for check webhook fires i use https://webhook.site , and when I created new webhook on woocommerce settings dashboard I see on this took new empty webhook with body []. but if I create order\update order new webhooks don’t send to this tool.

    I install plugin – WP-Cron Events, and i see many lines like –

    woocommerce_deliver_webhook_async	
    [
        1,
        19184
    ]
    wc_deliver_webhook_async()
    2018-08-24 09:41:02 (now)	Non-repeating

    and warning – “There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron events on your site may not work. The problem was:
    cURL error 28: Connection timed out after 3001 milliseconds”, and if understand correctly, this is DNS issue.

    because i try check ‘curl -V’ on server console and they is work –

    curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets

    ===========================================

    ### WordPress Environment ###

    WC Version: 3.3.5
    Log Directory Writable: ?
    WP Version: 4.9.5
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: sv_SE

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.0.28
    PHP Post Max Size: 40 MB
    PHP Time Limit: 0
    PHP Max Input Vars: 1000
    cURL Version: 7.45.0
    OpenSSL/1.0.2o

    SUHOSIN Installed: –
    MySQL Version: 5.7.21
    Max Upload Size: 40 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 3.3.5

  • The topic ‘Please help with cloudflare Page rules and WC API’ is closed to new replies.