Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a server which provides images to a facebook application. Works fine over HTTP but not over HTTPS. Update: that is, facebook downloads and displays the image over HTTP but not over HTTPS.

Access logs:

HTTPS request from facebook
66.220.146.249 - - [17/Jul/2011:16:00:54 +0000] "GET /xxxx/logo.png HTTP/1.1" 206 4509 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"

HTTP request from facebook
66.220.146.245 - - [17/Jul/2011:16:02:26 +0000] "GET /xxxx/logo.png HTTP/1.0" 206 4509 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"

The above links to facebook lint with an URL to a remote image, Yahoo's is not displayed while the one from Amazon is.

I'm actually clueless how I could "debug" this. Thankful for any pointers/suggestions.

share|improve this question
1  
A 206 is partial success - is it really a problem ?Is there anything related in your error log ? –  Iain Jul 17 '11 at 16:37
    
Is it really a problem? :) yes, the image does not show. I get 206 both in HTTP and HTTPS. Partial content success - I suppose FB asks for a part of it and also gets it (it behaves this way regardless of the protocol used). Try the "does work" link and see that FB will display the image from the HTTPS url. Try the "does not work" link and see that FB will not display from the HTTPS url. (but it will if you change the protocol to HTTP). –  j-a Jul 17 '11 at 17:28
    
No errors in the error log. Also regarding the 206, the size delivered is the same for both (4509) which is also the size of the image. –  j-a Jul 17 '11 at 17:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.