• Resolved garfhuk

    (@garfhuk)


    Since the last release, we have been experiencing issues with any Purge command – i.e. it isnt working. We get the following:

    Error http_request_failed
    – cURL error 28: Connection timed out after 5000 milliseconds
    Trying to purge URL :https://10.123.456.78/.* => 401 Unauthorized
    Unauthorized
    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required.

    I think the issue is to do with this line of code (Line 393):

    $schema?=?apply_filters('vcaching_schema',?is_ssl()???'https://'?:?'https://');

    Now our SITE uses SSL/HTTPS (which is correct), but the internal IPs we have set in the Varnish Cache IPs Settings tab DO NOT. This means when you make the call to purse, you are prefixing HTTPS incorrectly.

    My suggestion: A Varnish Cache Settings checkbox called “IPs use HTTPS” and check for that when doing the purge – basically an override.

    Impact: We have 50 odd active sites currently that cannot use Varnish Cache because of this.

    Other than that, a beautiful day ??

    • This topic was modified 7 years, 1 month ago by garfhuk.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘401 Unauthorized Errors’ is closed to new replies.