Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter swagatam1975

    (@swagatam1975)

    I have done everything as explained in the following article but still the images are broken…

    https://jetpack.com/support/getting-started-with-jetpack/what-do-these-error-messages-mean/blank-lines-xmlrpc/#troubleshooting

    The broken images happen only for 50% of the images…not all, that’s a bit confusing, why not all images?

    cs2

    (@cs2)

    Same for me

    • This reply was modified 1 year ago by cs2.
    Anthony Prof

    (@taubin-anthony)

    Same here

    Anthony Prof

    (@taubin-anthony)

    For example, one site that is impacted :

    https://blogtim.fr/

    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hey @swagatam1975 – I checked your site and currently the Jetpack connection for your site is not healthy, and we want it to work so that the CDN can work properly.

    Currently, the Jetpack is not connected because XML-RPC is not responding correctly. You can also see that this file is not loading correctly by loading it in your browser. It currently returns a “Forbidden” response.

    So what we need is for XML-RPC to be accessible so that Jetpack can communicate with the WordPress.com servers.

    As a first step, I’d recommend disabling any security plugins you might have installed. It might also be possible that your hosting provider blocks access to this file. If you don’t find any plugin that may block access to the file on your site, I would recommend that you get in touch with your host.

    Also, please find the IP ranges for the connection between your site and Jetpack/WordPress.com here, and whitelist them for HTTP and connections on your site.

    Once we are able to access your site’s xmlrpc.php file, you should be able to connect Jetpack to https://wordpress.com.

    Let me know how it goes!

    __________________________

    @cs2 and @taubin-anthony – could you please start your own thread, as per the forums welcome guide?

    Thank you!

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @swagatam1975

    Do you have updates about that? We usually close inactive threads after one week of no activity, but we want to make sure we’re all set before marking it as solved. Thanks!

    Thread Starter swagatam1975

    (@swagatam1975)

    Thank you @bizanimesh and @tamirat22,

    Sorry for the delayed reply.

    I had the following two codes in my .htaccess file.

    <Files xmlrpc.php>
    	order deny,allow
    	deny from all
    	allow from 123.123.123.123
    </Files>
    RewriteEngine On
    ErrorDocument 403 "Forbidden"
    RewriteCond %{THE_REQUEST} "^POST /xmlrpc.php"
    RewriteCond %{HTTP_USER_AGENT} "!^Jetpack by WordPress.com" [NC]
    RewriteRule .* - [R=403,L]

    However I have already tried deleting these codes but the results are the same. Many of the images were still broken.

    After removing the codes I could successfully test my URL by putting xmlrpc.php at the end, and I could see the the following message:

    XML?RPC server accepts POST requests only

    But still many of the images were not loading and were broken.

    I tried deleting the cache, still there was no improvement.

    The problem is that regardless of whether the above codes are present or not in my .htaccess, some of the images load fine while some images do not load at all.

    Strangely, the previous image link which I had submitted in the above comments is now loading correctly, even though I have placed the xmlrpc blocking codes back in my htaccess. You can check the image link bellow:

    https://i0.wp.com/www.homemade-circuits.com/wp-content/uploads/2022/04/simple-LED-flashlight.jpg?resize=665%2C230&ssl=1

    I have currently decided not to use jetpack boost plugin because the broken images affect user experience hugely.

    Kind Regards

    Swagatam

    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hello Swagatam – thank you for reaching out, and I appreciate your detailed explanation of the issue. I understand that you are experiencing problems with broken images on your site, even after removing certain codes from your .htaccess file.

    However, it appears that the Jetpack connection on your site has been disconnected, and the XML-RPC block is still in place. This could be affecting the proper functioning of Jetpack services.

    If you would like us to further troubleshoot and resolve the issue, please reply to this message. As long as the XML-RPC is blocked (which is right now on your site), Jetpack services may not function as expected.

    We are looking forward to assisting you further!

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @swagatam1975,

    Do you have updates about that? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Some of the images are broken after enabling image CDN’ is closed to new replies.