• Resolved Jay

    (@jhupanen)


    I’ve been using Quic Cloud just fine for years, but after the latest update it has been disabled and I can’t enable it.

    I get these two errors:
    “Failed to communicate with QUIC.cloud server: Unknown error: unknown [server] https://wpapi.quic.cloud [service] tool/wp_rest_echo”
    and
    “Your WP REST API seems blocked our QUIC.cloud server calls.”

    What changed in the latest update and how can I fix this issue? I’m assuming rollbacking the version is not an optimal solution as I’m assuming it will stay broken in all future versions.

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

    (@qtwrk)

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter Jay

    (@jhupanen)

    Report number: STYDIRBD

    Plugin Support qtwrk

    (@qtwrk)

    please do this :

    go to toolbox -> debug setting , set debug log to ON , debug level to advance, debug include URI, add /litespeed/v3/ping

    then go to toolbox -> log view -> clean up existing log if any

    then let me know once you have done this , I will send a test request

    Thread Starter Jay

    (@jhupanen)

    I’ve done those steps now.

    Plugin Support qtwrk

    (@qtwrk)

    okay , now go to toolbox -> log view -> debug log , copy paste content share via https://pastebin.ubuntu.com/

    Thread Starter Jay

    (@jhupanen)

    Plugin Support qtwrk

    (@qtwrk)

    03/31/25 14:08:41.849 [13.217.207.199:34602 1 cVr] ❄️ ❌ Not our cloud IP

    this is the issue , I send a request from 163.182.174.161 , but your server only sees IP 13.217.207.199 which is incorrect and therefore failed to pass IP verification

    is this your own server? or a shared hosting ?

    Thread Starter Jay

    (@jhupanen)

    It’s a cloud VPS from Hetzner. Haven’t changed any settings or accessed it in ages.

    Plugin Support qtwrk

    (@qtwrk)

    okay , I assume you have root access to your server

    then please try this:

    go to webadmin console -> server conf -> general -> use client IP in header , set it to Yes or better trusted IP only

    if you set to trusted IP only , then also go to Security -> Allowed List      , add all ezoic CDN IPs into the trusted list

    then the PHP will recognise the client IP properly and pass the IP verification.

    Thread Starter Jay

    (@jhupanen)

    I do have root access, but not sure where to do what you mentioned above (not sure what exactly is webadmin console), I’m currently using CyberPanel. I’ve never installed any separate consoles etc. so I’m wondering why this issue has started now? Was something changed in the way Quic Cloud works which requires all these extra steps?

    Plugin Support qtwrk

    (@qtwrk)

    in cyberpanel it comes with webadmin console as well

    you can access it as https://your_server_ip:7080

    set user/pass by command /usr/local/lsws/admin/misc/admpass.sh

    it was supposed to be this way , we introduced IP verification in plugin long time ago to prevent unauthorised access

    Thread Starter Jay

    (@jhupanen)

    I’ve now done that, set it to Trusted only and added the Ezoic IP range and did a graceful restart of Litespeed, however I’m still getting the same errors.

    Wouldn’t this screenshot indicate that it has been working fine previously without any of these requested IP whitelisting changes? https://i.imgur.com/JMWNSlK.png or is this not relevant?

    • This reply was modified 1 year ago by Jay.
    Plugin Support qtwrk

    (@qtwrk)

    the screenshot is not working , please verify

    and also please add this to your theme’s functions.php

    function ip_check_callback() {
    $data = array(
    'remote_ip' => $_SERVER['REMOTE_ADDR'] ?? 'Null',
    'x_forwarded_for' => $_SERVER['HTTP_X_FORWARDED_FOR'] ?? 'Null',
    'proxy_remote_addr' => $_SERVER['PROXY_REMOTE_ADDR'] ?? 'Null'
    );

    return rest_ensure_response($data);
    }

    function register_ip_check_route() {
    register_rest_route('lscwp', '/ip-check', array(
    'methods' => 'GET',
    'callback' => 'ip_check_callback'
    ));
    }

    add_action('rest_api_init', 'register_ip_check_route');

    this will help me to do some test

    Thread Starter Jay

    (@jhupanen)

    I added those to the functions now, hopefully they work.

    Also not sure why the image is not working, I can see it on my end. Probably because I’m signed into my Imgur account. Maybe this host works better https://bashify.io/i/Hl1ljq

    Plugin Support qtwrk

    (@qtwrk)

    root@v220241244927302570:~# curl -XGET https://idleon.guide/?rest_route=/lscwp/ip-check -4
    {"remote_ip":"18.157.105.182","x_forwarded_for":"2a03:xxx:38:5f:xxx:1fff:feed:aa13, 2a03:xxx:38:5f:xxx:1fff:feed:aa13","proxy_remote_addr":"Null"}

    my server IP is 93.177.xx.xx but the PHP is only seeing 18.157.105.182

    and you probably need to add ezoic ipv6 range into the trusted IP list as well

Viewing 15 replies - 1 through 15 (of 20 total)

The topic ‘Failed to communicate with QUIC.cloud server: Unknown error’ is closed to new replies.