• Resolved TheRealMikeD

    (@therealmiked)


    When trying to use the image compression on a site hosted on my local dev computer, I get the error message:
    “cURL error 28: Operation timed out after 10014 milliseconds with 0 bytes received.
    There was an error connecting to the image compression server. This could mean either the server is temporarily unavailable or there are connectivity issues with your internet connection. Please try later.”

    It works pretty well on a site that is hosted on a publicly accessible machine, but not on my local machine. Is there any way to work around this issue (while still working on my local machine)?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @therealmiked The curl 28 error usually occurs if your website is blocking the request to third party API, please check with your host if your website is behind firewall, if yes please temporary disable the firewall and check if the image compression works?

    Thread Starter TheRealMikeD

    (@therealmiked)

    As I mentioned in my original post, the site is on my local computer. So I am the host. I typically use a VPN, but I tried turning the VPN off, and I still get the same error.

    Are curl calls being made into the host machine? Or only out from the host machine? Calls to the host machine from outside the local network are obviously going to fail, as the machine is behind a router and has no ports exposed to the internet to receive incoming connections.

    @therealmiked The calls are made on host machine, could you please try to downgrade WP-Optimize to 3.2.3 version and check if it helps to fix the issue?

    Thread Starter TheRealMikeD

    (@therealmiked)

    What does “The calls are made on host machine” mean? Are calls being made TO the host machine from an external server? Or are calls only being made FROM the host machine?

    Also, how am I meant to downgrade? Where would I get the older version?

    @therealmiked I’ve checked the issue with our development team and at the moment there’s issue with reSmush server, they will have to fix the issue on their end.

    We are in touch with them to get the issue resolved.

    As soon as the issue is fixed we will update you.

    Thank you for your time and patience.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘cURL Error 28 On Locally Hosted Site’ is closed to new replies.