• Resolved outdoorsdev1

    (@outdoorsdev1)


    I’m trying to send a Report in Toolbox > Report and getting the error:

    Failed to request via WordPress: [server] https://api.quic.cloud [service] wp/report

    The error i’m trying to report is that I’m getting a Cloudflare 523 error when trying to refresh PageSpeed Score.

    I’m also getting the “WordPress gave an unexpected response when notified with CCSS results from node 79.172.239.249. Check WP API is properly configured.” error in quic.cloud.

    I’ve followed the guide in https://wordpress.org/support/topic/troubleshooting-guide-wpapi-echo-data-failure/ as I do see different IPs in the snippet response.

    However, I have tried to set up “Use client IP in Header” by adding

    useIpInProxyHeader 2

    plus the accessControl list with all Cloudflare IPs, and added logging.

    But the snippet json response still shows the wrong IP (looks like CF ips).

    I do have security on my REST APIs, but its not set for litespeeds endpoints. I even disabled the security and have the same issues.

    I’m not sure where to go from here apart from going back to NGINX because of the issues this plugin causes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support qtwrk

    (@qtwrk)

    However, I have tried to set up “Use client IP in Header” by adding

    useIpInProxyHeader 2

    how exactly did you add that ? the location in the conf file also matters or you were enabling it through webadmin console ?

    the CCSS result notify failed seems to be a known issue we figured out last week and we are working on fix it from our side

    Thread Starter outdoorsdev1

    (@outdoorsdev1)

    I’ve added it to httpd_config.conf under the line autoLoadHtaccess

    The accessControl list is also in that file, under accessDenyDir

    Bearing in mind I am using runcloud’s deployment. I followed this guide and everything looks correct: https://runcloud.io/docs/real-ip-openlitespeed-behind-cloudflare

    https://imgur.com/a/yotaZ23

    Plugin Support qtwrk

    (@qtwrk)

    huh ?

    could you please share the full content of httpd_config.conf ? mask the sensitive info if needed

    Thread Starter outdoorsdev1

    (@outdoorsdev1)

    #

    # PLAIN TEXT CONFIGURATION FILE - SANITIZED FOR SUPPORT

    #

    #It not set, will use host name as serverName

    serverName                

    httpdWorkers              2

    user                      [CENSORED]

    group                     [CENSORED]

    priority                  0

    autoRestart               1

    chrootPath                /

    enableChroot              0

    inMemBufSize              60M

    swappingDir               /tmp/lsws-rc/swap

    autoFix503                1

    gracefulRestartTimeout    300

    mime                      conf/mime.properties

    showVersionNumber         0

    adminEmails               [CENSORED]

    indexFiles                index.html, index.php

    disableWebAdmin           0

    enableLVE                 0

    autoLoadHtaccess          1

    useIpInProxyHeader        2

    listener http {

      address                 *:80

      secure                  0

      map                     default *

    }

    listener http6 {

      address                 [ANY]:80

      secure                  0

      map                     default *

    }

    listener https {

      address                 *:443

      secure                  1

      keyFile                 [CENSORED - SSL KEY PATH]

      certFile                [CENSORED - SSL CERT PATH]

      certChain               1

      sslProtocol             30

      map                     default *

    }

    listener https6 {

      address                 [ANY]:443

      secure                  1

      keyFile                 [CENSORED - SSL KEY PATH]

      certFile                [CENSORED - SSL CERT PATH]

      certChain               1

      sslProtocol             30

      map                     default *

    }

    errorlog logs/error.log {

      logLevel                DEBUG

      debugLevel              0

      rollingSize             10M

      enableStderrLog         1

    }

    accesslog logs/access.log {

      logReferer              1

      logUserAgent            1

      logFormat               %a %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i"

      logHeaders              5

      rollingSize             10M

      keepDays                30

      compressArchive         0

    }

    expires  {

      enableExpires           1

      expiresByType           image/*=A604800,text/css=A604800,application/x-javascript=A604800,text/javascript=A604800,font/*=A604800,application/x-font-ttf=A604800

    }

    tuning  {

      maxConnections          10000

      maxSSLConnections       10000

      connTimeout             300

      maxKeepAliveReq         10000

      keepAliveTimeout        5

      sndBufSize              0

      rcvBufSize              0

      maxReqURLLen            32768

      maxReqHeaderSize        65536

      maxReqBodySize          2047M

      maxDynRespHeaderSize    32768

      maxDynRespSize          2047M

      maxCachedFileSize       4096

      totalInMemCacheSize     20M

      maxMMapFileSize         256K

      totalMMapCacheSize      40M

      useSendfile             1

      fileETag                28

      enableGzipCompress      1

      compressibleTypes       default

      enableDynGzipCompress   1

      gzipCompressLevel       6

      gzipAutoUpdateStatic    1

      gzipStaticCompressLevel 6

      brStaticCompressLevel   6

      gzipMaxFileSize         10M

      gzipMinFileSize         300

      quicEnable              1

      quicShmDir              /dev/shm

    }

    fileAccessControl  {

      followSymbolLink        1

      checkSymbolLink         0

      requiredPermissionMask  000

      restrictedPermissionMask 000

    }

    perClientConnLimit  {

      staticReqPerSec         0

      dynReqPerSec            0

      outBandwidth            0

      inBandwidth             0

      softLimit               10000

      hardLimit               10000

      gracePeriod             15

      banPeriod               300

    }

    CGIRLimit  {

      maxCGIInstances         20

      minUID                  11

      minGID                  10

      priority                0

      CPUSoftLimit            10

      CPUHardLimit            50

      memSoftLimit            1460M

      memHardLimit            1470M

      procSoftLimit           400

      procHardLimit           450

    }

    accessDenyDir  {

      dir                     /

      dir                     /etc/*

      dir                     /dev/*

      dir                     conf/*

      dir                     admin/conf/*

    }

    accessControl  {

      allow                   ALL, 173.245.48.0/20T, 103.21.244.0/22T, 103.22.200.0/22T, 103.31.4.0/22T, 141.101.64.0/18T, 108.162.192.0/18T, 190.93.240.0/20T, 188.114.96.0/20T, 197.234.240.0/22T, 198.41.128.0/17T, 162.158.0.0/15T, 104.16.0.0/13T, 104.24.0.0/14T, 172.64.0.0/13T, 131.0.72.0/22T, 2400:cb00::/32T, 2606:4700::/32T, 2803:f800::/32T, 2405:b500::/32T, 2405:8100::/32T, 2a06:98c0::/29T, 2c0f:f248::/32T

    }

    module cache {

      ls_enabled              1

      checkPrivateCache       1

      checkPublicCache        1

      maxCacheObjSize         10000000

      maxStaleAge             200

      qsCache                 1

      reqCookieCache          1

      respCookieCache         1

      ignoreReqCacheCtrl      1

      ignoreRespCacheCtrl     0

      enableCache             0

      expireInSeconds         3600

      enablePrivateCache      0

      privateExpireInSeconds  3600

    }

    include /etc/lsws-rc/default.d/*.conf

    include /etc/lsws-rc/conf.d/*.conf
    Plugin Support qtwrk

    (@qtwrk)

    I don’t see anything out of ordinary for instance, could you please create me a phpinfo page?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error sending report’ is closed to new replies.