Hi there,
I've encountered a pretty frustrating hiccup when testing a Drupal install that I copied from a live and functional version on a regular EC2 intance to a new test Amazon VPC setup. I'm not sure if the server infrastructure has anything to do with this. On the test version I've update the Video module from 7.x-2.7 to the newest Dev version through all the proper increments. The post back ID, keys, etc. are correct for the install. The libraries are all in place. The video is getting to Zencoder and encoding there no problem. It's posting back successfully and even getting into the amazon_s3 database table (and S3 Bucket) with the correct uri, but the filesize is 0 in both the DB and S3 Bucket. The error log message is:
Warning: copy(https://zencoder-.../xxxxxx.....mp4): failed to open stream: "DrupalRemoteStreamWrapper::stream_open" call failed in TranscoderAbstractionFactoryZencoder->moveFile() (line 808 of /xxx..../sites/all/modules/video/transcoders/TranscoderAbstractionFactoryZencoder.inc).
This provokes a further error 'While processing Zencoder postback, failed to copy...'
I know that previously I'd encountered an issue with the file wrapper system where I had to set something in the AmazonS3StreamWrapper.inc to private where it wanted to default to public. Unfortunately Github isn't cooperating to show me exactly what I did so I can't undo this quickly to test, but everything is running through pre-signed URLs so I don't know why this would make a difference unless the video module made a change to catch this issue. My best guess is that it has to do with the copy to a new server and something not switching over possibly in the DB. That said, this is a pretty massive install and there are no other errors on the site, so if it is something in the copied and updated (accounting for video module update) DB , it's not obvious.
Thanks for your suggestions!
-Branson
Comments
Comment #1
jorrit commentedIf you disable the Remote stream wrapper URL, is it fixed for you?
Comment #2
hypertext200