1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 XF Image Proxy 500 error on invalid formatted URLs

Discussion in 'Troubleshooting and Problems' started by Jake B., Sep 1, 2016.

  1. Jake B.

    Jake B. Well-Known Member

    For example,
    and fairly similar links are showing up in hundreds crawl errors on Google Webmaster Tools, but from what I can see they're all being linked from other websites. Will all of these crawl errors showing up hurt SEO? If so, would it be a better idea to have some sort of 'default' image that will show instead of a 500 server error?
  2. Mike

    Mike XenForo Developer Staff Member

    The crawl errors are generally informational.

    That URL is so malformed that we can't even identify it as an image proxy request (though it's clear as a human). As such, a 500 (or some other non-2xx level response) is absolutely correct. I have no idea how that URL got so mangled (there's multiple levels and types of URL encoding in there).
  3. Jake B.

    Jake B. Well-Known Member

    From what he was saying there are a lot of sites that attempt to scrape his site for images and use them on his site, as to how they got mangled that is a mystery to us as well as none of these images appear anywhere on his site from what I can tell. I did try to extend
    XenForo_ProxyOutput::eek:utput() to make all non-image and non-link proxy requests to return a 1x1px transparent gif, but my extension doesn't appear to be running, is that one of the classes that are not extendable with XFCP? If not I'll give it another shot to see if there was just something going on with my xf dev install
  4. Heffalump

    Heffalump Member

    I think I stay on the same error. Many proxy pictures are not shown in the post.
    Picture URL is the following:
    By editing the post all pictures were shown correctly. After saving the urls are mangled.

    This picture is shown correctly:

    Last edited: Sep 16, 2016
  5. Mike

    Mike XenForo Developer Staff Member

    There's nothing mangled with that URL -- it just isn't able to fetch the image. The direct image URL doesn't work for me directly in my browser either.

    If you have any issues with the image proxy, you should use the tester in the control panel. It'll tell you the specific error.
  6. Heffalump

    Heffalump Member



    Works fine here.
    The image proxy tester said, that all images were upload successfully.

    Is it possible to clear all proxy cache to load all images again?
  7. Heffalump

    Heffalump Member

  8. Mike

    Mike XenForo Developer Staff Member

    Not directly, but you can reduce the "Image Cache Lifetime (Days)" to 1. However, I will say that failures have their own retry delay based on the number of failures. You can trigger a retry in the image proxy log in the control panel though.

Share This Page