Giter Site home page Giter Site logo

Comments (11)

ablotny avatar ablotny commented on June 5, 2024

The problem was a misconfiguration of the buckets. One bucket was in the wrong zone and therefore the content could not be reached. I found this using wireshark, which showed the requests getting a 301 http answer.

from pageflow.

tyranni avatar tyranni commented on June 5, 2024

Hi Alex,
what do you mean with "bucket was in the wrong zone"?
My "problem" is quite similar to yours. My video encoding stucks at 98% ;).

Thank you!

from pageflow.

kioopi avatar kioopi commented on June 5, 2024

@tyranni Have you updated the Pageflow gem to version 0.2.1?
There is a problem with Zencoder's SSL certificate: http://status.zencoder.com/events/84

from pageflow.

kioopi avatar kioopi commented on June 5, 2024

@ablotny Happy that you found a solution. I've never used wireshark. Is it simple enough to create a gist or wiki-page to help others debugging similar problems? That would be awesome.

from pageflow.

tyranni avatar tyranni commented on June 5, 2024

@kioopi oh yes, I did! Didn't help.
I tested uploading and encoding for all kinds of files. Audio files worked, images had some kind of problem with missing imageMagick (trying to solve that later) and video files stuck at 98%.
My Zencoder status page tells me that all encodings are completed and the encoded files are stored at the right bucket.

from pageflow.

kioopi avatar kioopi commented on June 5, 2024

98% is strange. If it is stuck at 100% it's usually something like the above problem: Mistake in the output_bucket configuration or wrong s3_host_alias in config/initializers/pageflow.rb. Is it just one video file that stopped at 98% or all of them?

from pageflow.

tyranni avatar tyranni commented on June 5, 2024

ok, I tested 2 other video files. One stucks at 92%, the other at 100%.
It is very strange! I dont really think that it is a bucket misconfiguration because the uploading and encoding of the audio files is working properly. The audio files are taking the same way through the buckets and Zencoder like the video files should do.
I think its somehow a kind of communication problem either between pageflow and s3 or pageflow and zencoder.
Thank you for your help!!!

from pageflow.

kioopi avatar kioopi commented on June 5, 2024

Would you mind to open a new issue for this problem?

Because it seems we're trying to solve a different problem. This way it will be easier for others to search through issues and we're not spamming this solved issue.

from pageflow.

ablotny avatar ablotny commented on June 5, 2024

@kioopi
I think it is a complex tool but easy to use for that use case. It shows your http traffic. So it helped me to see that there are http requests answered with 301 Moved Permanently, which helped me to find out that my bucket was in the wrong zone. Should also help if some other S3 calls or Zencoder API calls go wrong if there is no helpful log information.

from pageflow.

CleverMobile2811 avatar CleverMobile2811 commented on June 5, 2024

Video/Audio stuck in 0% Encoding in progress.
I can see the encoding finished in Zencoder and also get the video from out-bucket in AWS3 encoded by Zencoder.
But still 0% Encoding in progress, As a result, can't publish the story.

from pageflow.

CleverMobile2811 avatar CleverMobile2811 commented on June 5, 2024

untitled

from pageflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.