ruby on rails 3 - Hostname was not match with the server certificate while opening pdf with prawn -


i'm using prawn build pdfs. i'm having trouble opening existing pdf uploaded amazon s3. i've got model called format has file_name attribute has associated uploader.

when try open existing pdf template:

pdf.start_new_page(:template => open(@format.file_name_url)) 

the following error occurs:

hostname not match server certificate 

when go @format.file_name_url myself, don't have issues, means url correct. going on? thanks!


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -