Problems with images
-
Hi,
I’m not sure my cdn is configured ok.
If I check: Point file URLs to DreamSpeed/DNS Alias for files that have been copied to S3, images won’t show (and I think the bucket is configured ok, I don’t use an alias because I use ssl and it’s on public).
If I uncheck the box, the images will show. But if I check the link from the picture it’s just the one with my website name, not the dream.io.
On this page is a picture that is supposed to be coming through cdn.Is it configured ok? Or did I do something wrong?
Thanks in advance,
Yves
-
You’re using https which … can be odd.
https://www.seriesgids.com/wp-content/uploads/2014/10/Hitch-620×264-1414330247.jpg
Can you provide a link to what the URL is on DreamSpeed and does THAT work directly?
https://objects.dreamhost.com:443/seriesgids/wp-content/uploads/2014/10/Hitch-620×264.jpg is a link to the picture directly.
And with this link it shows with no problems.
That isn’t the dream.io URL. Does that one work?
(Sorry, I’m on my phone right now running around)
Oh yes, my mistake.
But it seems to be the only link I can find. When I right click where the image is supposed to be I get this link. No dream.io link. Where could I could find this one then?
Here is the link I always get: https://objects.dreamhost.com/seriesgids/wp-content/uploads/2014/10/Hitch-620×264-1414330247.jpgAnd it’s not showing an image this time. It’s an XML file with an error in it.
Okay so the fact that https://objects.dreamhost.com/seriesgids/wp-content/uploads/2014/10/Hitch-620×264-1414330247.jpg isn’t working is why the plugin isn’t.
See how the one that DOES work has a :443 in the URL?
https://objects.dreamhost.com:443/seriesgids/wp-content/uploads/2014/10/Hitch-620×264.jpg
https://objects.dreamhost.com/seriesgids/wp-content/uploads/2014/10/Hitch-620×264-1414330247.jpgNow the question is why…
Can you open a ticket with DreamHost about setting up SSL for DreamSpeed CDN?
I will do that first thing in the morning. Anything special I should mention? Or just tell them that CDN isn’t working with SSL? And give them the two links?
Tell them that CDN isn’t working without specifying the port 443, and you need it to work on SSL without that.
(<del>Also the dream.io code won’t work with SSL I think so ask them if it will?</del> Sorry, I mean ask them if the dream.io alias has any SSL specific requirements.)
So I have been in contact with Dreamhost.
This is what I sent them:
I’m trying to set up a CDN in a wordpress website with SSL and with
Dreamobjects and Dreamspeed CDN plugin.
I have already be in contact with the plugin creator.
When I activate the plugin my pictures won’t show.
When I click where the image is supposed to be it gives me this link:
https://objects.dreamhost.com/seriesgids/wp-content/uploads/2014/10/Hitch-620×26
4-1414330247.jpg which brings me to an xml file with an error in it.
The link I take straight from Dreamobjects:
https://objects.dreamhost.com:443/seriesgids/wp-content/uploads/2014/10/Hitch-62
0x264.jpg works fine.
The plugin creator told me to tell you: CDN isn’t working without
specifying the port 443, and I need it to work on SSL without that.
Also had to ask you: ask them if the dream.io alias has any SSL specific
requirements.And this is their answer:
SSL with an alias is not currently configured to work with Dreamobjects.
I’m afraid you’d need to use the standard file link to use SSL. Also, SSL
works over port 443 so that’s needed to even allow SSL.Ugh. Well that’s novel. I’ll see what I can fix in the plugin. Dream.io won’t work, can’t fix that, but I should be able to fix the 443
Well just tried to be as detailed as possible. Anything I have to do for now?
Wait till I’m not in an airport? 🙂 should be able to get this done to,or row.
FWIW I made the change in 0.5.1 but it won’t go back and fix images… which is a problem, I know.
To change the URLs, there are two ways. Grab this – https://wordpress.org/plugins/velvet-blues-update-urls/ – and search for https://objects.dreamhost.com/seriesgids/ – and replace with https://objects.dreamhost.com:443/seriesgids/ on all posts and post meta
That should be it.
(If you’re super command line savvy, we have wp-cli on all servers at DreamHost, so you can do this:
wp search-replace https://objects.dreamhost.com/seriesgids/ https://objects.dreamhost.com:443/seriesgids/ –dry-run
Run it again without –dry-run if it looked good.
Potential typo:
https://objects.dreamhost.com:433/stuff/wp-content/uploads/2014/10/nyc-skyline-night-dl.jpg
is an example link created after the update. “:433” should be “:443”
*SIGH* Yeah, 0.5.2
I shoudl not code on DayQuil!
Hi again,
When I try to use the Velvet plugin, I get this error:
ERROR: Something may have gone wrong.
Your URLs have not been updated.
Results
0 Content Items (Posts, Pages, Custom Post Types, Revisions)
Why do the results show 0 URLs updated?
This happens if a URL is incorrect OR if it is not found in the content. Check your URLs and try again.It also seems that the dreamobjects links only work for the original images, not the ones that are changed in size:
This one is original file and works fine: https://objects.dreamhost.com/seriesgids/wp-content/uploads/2014/10/Hitch.jpg
This is a size changed image of the original:
https://objects.dreamhost.com/seriesgids/wp-content/uploads/2014/10/Hitch-620×264-1414330247.jpg
The topic ‘Problems with images’ is closed to new replies.