Error while posting to Tumblr

TumblingJazz Tumblr bot discussion
Post Reply
bpg90
Posts: 23
Joined: Tue Apr 01, 2014 12:04 pm

Error while posting to Tumblr

Post by bpg90 »

Hi.

When I post to tumblr via TJ it sometimes has some errors in the log.

Extract posting keys for image
Posting image
* ERROR: Failed upload image: Error uploading photo.
Trying to upload again, attempt: 2
Extract posting keys for image
Posting image
* ERROR: Failed upload image: Error uploading photo.
Trying to upload again, attempt: 3
Extract posting keys for image
Posting image
* ERROR: Failed upload image: Error uploading photo.
Trying to upload again, attempt: 4
Extract posting keys for image
Posting image
* ERROR: Failed upload image: Error uploading photo.
Trying to upload again, attempt: 5
Extract posting keys for image
Posting image
* ERROR: Failed upload image: Error uploading photo.
Trying to upload again, attempt: 6
Extract posting keys for image
Posting image
* ERROR: Failed upload image: Error uploading photo.
Trying to upload again, attempt: 7
Extract posting keys for image

This time it succeed after 8 times trying... but somethimes it works directly and sometimes after 5 times etc.
At the end the images are all posted correctly to Tumblr, so it works good but I was just wondering why it sometimes generates errors and sometimes not.
User avatar
martin@rootjazz
Site Admin
Posts: 35814
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Error while posting to Tumblr

Post by martin@rootjazz »

After trying to upload, tumblr replies back "success" or "failed". If failed it tries again.

As to why, am not sure. I just assumed proxy / network issues.
bpg90
Posts: 23
Joined: Tue Apr 01, 2014 12:04 pm

Re: Error while posting to Tumblr

Post by bpg90 »

admin wrote:I just assumed proxy / network issues.
Oke that would prob be the problem then, I use proxies for every account.
User avatar
martin@rootjazz
Site Admin
Posts: 35814
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Error while posting to Tumblr

Post by martin@rootjazz »

That is probably it. The app should retry X number of times until it succeeds. In my tests, the number is high enough, that as long as the proxy is working to some extent it will get through, but not waste excessive time if the proxy just is not out right working
Post Reply