0

From last few days I am getting Timeout error in my logs when ever I try to access the open pages of my website from mobile device(the pages never open actually), where as it opens without any issue on desktop.

Timeout::Error
  /usr/local/rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/net/protocol.rb:146:in `rescue in rbuf_fill'

My main concern is why is it only happening on mobile devices and not on Desktop and it is only happening on Chrome's mobile browser. I have tested it on multiple phone's and on different browsers but it doesn't open on Chrome alone.

Sahil
  • 3,338
  • 1
  • 21
  • 43
  • seems duplicate http://stackoverflow.com/questions/10011387/rescue-in-rbuf-fill-timeouterror-timeouterror – Arvind Sep 25 '15 at 11:32
  • I saw that answer, but can you please tell me where that code should be added, plus this is only happening on mobile devices on pages which do not require any login. – Sahil Sep 25 '15 at 11:39

1 Answers1

0

Fixed the error after a long time. I had a gem for determining user's location and showing location specific content, that gem allowed only 25k free requests and after that if anyone tried to view the page it would result in timeout error.

Sahil
  • 3,338
  • 1
  • 21
  • 43