awaddell
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2011
11:20 AM
problem loading facebook photos
One of the features of our channel allows users to create slideshows with the photos sourced from a variety of services. One of my customer is having trouble with facebook photos and I've debugged it down to some HTTP issue from the Roku to the server where facebook is hosting the actual image.
I ran into an issue once before with photos from Shutterfly, and it turned out they didn't support range requests, but that has since been resolved (it was only a problem in 3.0 beta, never a production build as far as I know). I suspect this has something to do with HTTPS vs. HTTP
Output from 3.0, build 2227
9870 ( +10):Event: roSlideShowEvent.RequestFailed, index: -3 (-3), data: 5, message:
9880 ( +10):Waiting for event ... (forever)
10272 ( +392):LogEvent:Status:unknownerror, LogType:http.error, TargetIp:, HttpCode:-1, Datetime:Wednesday October 26, 2011, OrigUrl:https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc6/227241_10150598175525790_580805789_18652777_7558957_n.jpg, Url:https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc6/227241_10150598175525790_580805789_18652777_7558957_n.jpg, Method:GET,
I ran into an issue once before with photos from Shutterfly, and it turned out they didn't support range requests, but that has since been resolved (it was only a problem in 3.0 beta, never a production build as far as I know). I suspect this has something to do with HTTPS vs. HTTP
Output from 3.0, build 2227
9870 ( +10):Event: roSlideShowEvent.RequestFailed, index: -3 (-3), data: 5, message:
9880 ( +10):Waiting for event ... (forever)
10272 ( +392):LogEvent:Status:unknownerror, LogType:http.error, TargetIp:, HttpCode:-1, Datetime:Wednesday October 26, 2011, OrigUrl:https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc6/227241_10150598175525790_580805789_18652777_7558957_n.jpg, Url:https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc6/227241_10150598175525790_580805789_18652777_7558957_n.jpg, Method:GET,
2 REPLIES 2
awaddell
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2011
11:49 AM
Re: problem loading facebook photos
Update.
I fixed it in most places by adding SetCertificatesFile("common:/certs/ca-bundle.crt") in several places, but a problem still exists on roGridScreen where the poster URL's are images fetched over HTTPS (even though I added the SetCertificatesFile call)
I fixed it in most places by adding SetCertificatesFile("common:/certs/ca-bundle.crt") in several places, but a problem still exists on roGridScreen where the poster URL's are images fetched over HTTPS (even though I added the SetCertificatesFile call)
awaddell
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2011
04:32 PM
Re: problem loading facebook photos
I found that the ca-bundle.crt only fixed things some (most) of the time. On some images I still get an error, but it's more of an "untrustedcert" error.
All URL's work fine in a browser. I have to admit, I don't know SSL all that well. Maybe someone can help.
All URL's work fine in a browser. I have to admit, I don't know SSL all that well. Maybe someone can help.