• Resolved westbard

    (@westbard)


    When I click on an image to download it, the status circle just spins and spins. Latest version (6.1.1).

    Why? How do I fix this? Thanks.

    • This topic was modified 8 months, 3 weeks ago by westbard.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    @westbard Can you check your browser console to see if there is a JavaScript error being reported?

    Thread Starter westbard

    (@westbard)

    Yes, it’s this:

    instant-images.js?ver=6.1.1:1

    1. D {message: ‘Request failed with status code 503’, name: ‘AxiosError’, code: ‘ERR_BAD_RESPONSE’, config: {…}, request: XMLHttpRequest, …}
      1. code: “ERR_BAD_RESPONSE”
      2. config: {transitional: {…}, adapter: Array(2), transformRequest: Array(1), transformResponse: Array(1), timeout: 0, …}
      3. message: “Request failed with status code 503”
      4. name: “AxiosError”
      5. request: XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
      6. response: {data: ‘<!DOCTYPE html>\n<html style=”height:100%”>\n<head>\n… try again later!</p>\n</div></div></body></html>\n’, status: 503, statusText: ”, headers: ft, config: {…}, …}
      7. stack: “AxiosError: Request failed with status code 503\n at https://<domain>/wp-content/plugins/instant-images/build/instant-images.js?ver=6.1.1:1:18690\n at XMLHttpRequest.u (https://<domain>/wp-content/plugins/instant-images/build/instant-images.js?ver=6.1.1:1:18835)”
      8. Prototype: Error
    Plugin Author Darren Cooney

    (@dcooney)

    Could be your server blocking the Rest API request.

    Running security plugin that could be blocking the endpoints?

    Thread Starter westbard

    (@westbard)

    According to the host, there is nothing blocking the Rest API request. I even disabled WordFence to be sure. Here’s what KnownHost reports:

    “I am not seeing any Server side errors or blocking that could be preventing the images to download, and some of the images are downloading fine, where some of the images are having trouble while downloading, so would it be possible that some of the images were protected by the provider or the limitations at the Images provider end?”

    Thread Starter westbard

    (@westbard)

    I verified what the host said. About 1 in 10 images downloads. The others just spin and spin. This happens on sites with and without a WordPress firewall, so it doesn’t seem to be related to that.

    Any other ideas?

    By the way, an old version of your plugin worked flawlessly. I should have kept that.

    • This reply was modified 8 months, 3 weeks ago by westbard.
    Plugin Author Darren Cooney

    (@dcooney)

    Seems to be isolated to your environments as no other reports of issues and I can’t replicate in any of my environments.

    You can download previous versions here.
    https://www.ads-software.com/plugins/instant-images/advanced/

    Scroll down to Advanced Options

    Thread Starter westbard

    (@westbard)

    Thanks. Which version started using the Rest API? That’s when I started having issues with your plugin.

    Plugin Author Darren Cooney

    (@dcooney)

    Im not sure what the issue would be as there are no other reports and I can’t replicate on my environments.

    Something must be throttling the requests at the host environment unfortunately.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Instant Images – Spins and spins – won’t download’ is closed to new replies.