Retry notifications

Archived from the Transloadit support forum. Originally posted on May 24, 2011; details may be outdated, see our docs for current behavior. Original thread

Hi,

do you have plans to retry push notifications that don’t return a 200 status?

We have noticed that with some small files we receive the push notification before the original form has had time to submit and so the push notification url is returning a 500. Encoding is just too fast :wink:

thanks
Felix

Yes, we are working on this right now. But ideally your app shouldn’t depend on the timing of our notification : ).

Tim: Is your branch ready for review yet?

Thanks for the quick reply. Good to know you’re on it.

Our app doesn’t depend on the timing except that for files under 1mb the notification comes back before the original upload form has finished submitting, so object the notification references doesn’t exist at that point.

Most of our users upload a small file when trying out our service and run into this issue, which manifests itself to them as if the track never gets encoded. So we’re storing the notifications in our own queue when the track doesn’t exist to get around this.

I’d be keen to remove this from our queue when the retry feature is ready.

thanks

Well, a better approach is to create the upload record when a user hits the upload page. This way you also get to see abandoned funnels, at the cost of probably having to clean up those records every once in a while.

Anyway, I agree that you shouldn’t have to do either that or the queue, so we’ll ping you once retry is deployed.

Retry has been deployed a while ago.