zjx519612 / tweetero

Automatically exported from code.google.com/p/tweetero
Other
0 stars 0 forks source link

3G image uploads are unreliable. Fails 9 out of 20 times #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Shut off wifi
2. open yfrog
3. create tweet
4. add image

Tests:
1. worked
2. stuck at 128
http://img96.imageshack.us/img96/6185/imagepe.jpg
3. stuck at 128
4. worked
5. worked
6. 100% but got a upload failure
http://img709.imageshack.us/img709/5620/imageta.jpg
7. stuck at 128
8. worked
9. worked
10. 100% but got a upload failure
http://img402.imageshack.us/img402/9043/imagedp.jpg
11. worked
12. 100% but got a upload failure
http://img707.imageshack.us/img707/8178/imagedbp.jpg
13. worked
14. worked
15. stuck at 128 and failed
http://img402.imageshack.us/img402/1594/imagewz.jpg
16. worked
17. stuck at 128 and failed
18. stuck at 128 and failed
19. worked
20. worked

I also tested the imageshack app 10 times to make sure it wasn't all
network issues. I was able to upload to imageshack faster and there was no
failures.  

Original issue reported on code.google.com by npettas@gmail.com on 3 Mar 2010 at 10:47

GoogleCodeExporter commented 9 years ago
I don't think this is related to the code except if it is "timing out" too 
quickly. It is using an HTTP request. 

3G and Edge connections may be very slow, so the timeout checking may be too 
short? 

Can we change the timeout time for ImageShack uploading in case the user has a 
slow connection at the 
moment?

Original comment by de...@derekunderwood.com on 4 Mar 2010 at 2:27

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r142.

Original comment by andriy.v...@gmail.com on 5 Mar 2010 at 12:58

GoogleCodeExporter commented 9 years ago
I have improved an error handling while uploading video.
Please retest this defect with different connections, small and large videos.

Original comment by andriy.v...@gmail.com on 5 Mar 2010 at 1:01

GoogleCodeExporter commented 9 years ago
Still having a lot of issues uploading images while on 3g. Almost all image 
uploads
fail now with 3g. Most never make it past 128kb. If I press cancel and click 
send
again it may finish it's upload, but fails at 100%.

Wifi uploads, images and video, are reliable and stable, but video upload is 
very
slow even with highspeed uploads at 10megabit

Original comment by npettas@gmail.com on 5 Mar 2010 at 6:58

GoogleCodeExporter commented 9 years ago
Increased a chunk size up to 31.5 kB.
Corrected retries mechanism for the image uploading.
Corrected HTTP request creating.

Original comment by andriy.v...@gmail.com on 9 Mar 2010 at 3:53

GoogleCodeExporter commented 9 years ago
Video uploads are working better now. They seem faster and are still reliable. 
Wifi
or 3g.

I'm still having issues uploading images through 3G. I was only able to upload 
1 out
of 10 images I tried. Most failed at 128kb. Some got to 100% and did nothing.

Original comment by npettas@gmail.com on 9 Mar 2010 at 6:56

GoogleCodeExporter commented 9 years ago
Can you reproduce this problem with ImageShake application?

Original comment by andriy.v...@gmail.com on 10 Mar 2010 at 5:10

GoogleCodeExporter commented 9 years ago
No. The imageshack app works almost all the time. In fact I use the imageshack 
app to
upload the errors from the yfrog app as I go.

Original comment by npettas@gmail.com on 10 Mar 2010 at 5:13

GoogleCodeExporter commented 9 years ago
Please retest this issue with new yfrog build.

Original comment by andriy.v...@gmail.com on 11 Mar 2010 at 4:52

GoogleCodeExporter commented 9 years ago
I was able to upload 20 images in a row without a fail. I even was able to 
upload an
image while in between WiFi and G3. Looks fixed; however, I want to try tomorrow
morning during peak. Unless I see an issue we can close this bug then.

Original comment by npettas@gmail.com on 12 Mar 2010 at 12:14

GoogleCodeExporter commented 9 years ago
uploading images works. this ticket can be closed.

Original comment by npettas@gmail.com on 17 Mar 2010 at 12:53

GoogleCodeExporter commented 9 years ago

Original comment by andriy.v...@gmail.com on 18 Mar 2010 at 8:42