This error just started appearing in my log.

While processing Zencoder postback, failed to copy http://s3.amazonaws.com/xxx/videos/converted/6577/preview_tortur_1_mp4_1... to s3://videos/converted/6577/preview_tortur_1_mp4_1367258986.mp4.

Can't make any sense of it. Everything was working fine.... and we haven't updated any modules or changed the config.

Videos are transcoding fine, and they end up on s3 - but now for some reason,we are getting this error and transcode job fails? File_managed, file_usage, and video_output all look ok. Video_queue is on '20' obviously.

Other smaller test files are still working ok...which makes it even more confusing.

We rolled a new core a few weeks back (7.21) which may have some bearing...

Any help?

Comments

Jorrit’s picture

You're still on video module version 2.8?

Tsubo’s picture

On this particular Production environment....yup. We can upgrade if that solves it.... but I'm not convinced that's the issue. We had quite a few files uploaded just a few days ago which worked ok. And we rolled the core 4 weeks ago...

Further investigation seems to point at an issue with permissions on s3. Zencoder does not appear to be setting any permissions when writing the file back.....

Tsubo’s picture

Have upgraded to Video 2.10.... still getting the same error.

The files is returned from Zencoder and does arrive at s3 intact - but with no permissions. Postback is received, then the error follows shortly in the log.

I just tested with a small file (10Meg) and no error. Tried again with a larger file (400Meg) and the error returns.... seems that filesize has something to do with it?

Tsubo’s picture

Version: 7.x-2.8 » 7.x-2.10

Amending Version num.

Tsubo’s picture

Priority: Major » Minor
Status: Active » Closed (cannot reproduce)

This issue solved itself.... must have been a glitch with Zencoder or S3.