Avatar Edgar González

  • Random
  • Archive
  • RSS

Errors uploading images from ASIHTTPRequest in iPhone to Rails 3 application hosted on Heroku

We just went through a painful debug session related to erratic timeouts and "Bad content body" errors when we try to upload images from an iPhone application to Rails 3 application hosted on Heroku.

The iPhone application uses ASIHTTPRequest, checking the Google Groups we found that the issues are related to Persistent Connections, the solution that worked for us was: 

[request setShouldAttemptPersistentConnection:NO];
    • #rails
    • #rails3
    • #iphone
    • #ASIHTTPRequest
    • #heroku
    • #Errors
    • #uploads
  • 1 year ago
  • 53
  • Comments
  • Permalink
  • Share
    Tweet

53 Notes/ Hide

  1. wonderingert liked this
  2. leeannewzomicha liked this
  3. consuelaowkcarl liked this
  4. gabriellazdewil liked this
  5. linhiudeal liked this
  6. eufemiavshen liked this
  7. candyghermosill liked this
  8. raeannizhardy liked this
  9. guadalupejpraga liked this
  10. roycelgreenwell liked this
  11. eddagdpenton liked this
  12. mignonpwwdeer liked this
  13. charmainesvmgoo liked this
  14. tarynpcarhode liked this
  15. glorianalucas liked this
  16. blossomfwchance liked this
  17. sheryllpjplourd liked this
  18. lakishabyoungs liked this
  19. fredrickajrmcla liked this
  20. darlacebickley liked this
  21. rimacesankey liked this
  22. ilianajharriman liked this
  23. geniawlyles liked this
  24. slyviapwentwort liked this
  25. selenabnice liked this
  26. joaniexgknaught liked this
  27. ashlynihoffman liked this
  28. ameekvjnarvaez liked this
  29. lorettecteixeir liked this
  30. aleneusroka liked this
  31. noellepnxfreed liked this
  32. ramonitabmassie liked this
  33. genevalydefores liked this
  34. genniemqpraley liked this
  35. britnirgzhatton liked this
  36. manyxfix liked this
  37. angelesorsimms liked this
  38. palmanflleclair liked this
  39. cruzcfrwelborn liked this
  40. zelmaaafgriswol liked this
  41. heojnhfsn liked this
  42. ttgacdlda liked this
  43. qqvfnfmkoo liked this
  44. aigbzwiqpv liked this
  45. ysifbapxny liked this
  46. gtiblzsbe liked this
  47. hfekybwsij liked this
  48. howardtharp liked this
  49. edgar posted this

Recent comments

Blog comments powered by Disqus
← Previous • Next →

Portrait/Logo

About

When I'm not spending time with Jessica and my kids, I build web applications. Rails developer, believer of Agile Development and Lean startups. NoSQL enthusiast.
CTO and Lord of the API at Piictu

Me, Elsewhere

  • @edgar on Twitter
  • Facebook Profile
  • edgargonzaleznetve on Youtube
  • egg on Flickr
  • edgar on Foursquare
  • My Skype Info
  • Linkedin Profile
  • edgar on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr