The sarcastic smug response Hassan isn't needed, I'm sure there was a
better way of telling to be more descriptive without coming off as a total
wanker, nevertheless this is the heroku log:
2016-01-31T18:02:21.689529+00:00 app[web.1]: 2016-01-31 18:02:21 -
Net::ReadTimeout - Net::ReadTimeout:
2016-01-31T18:02:21.689534+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/protocol.rb:158:in `rescue
in rbuf_fill'
2016-01-31T18:02:21.689536+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/protocol.rb:134:in
`readuntil'
2016-01-31T18:02:21.689537+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/protocol.rb:144:in
`readline'
2016-01-31T18:02:21.689538+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http/response.rb:39:in
`read_status_line'
2016-01-31T18:02:21.689538+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http/response.rb:28:in
`read_new'
2016-01-31T18:02:21.689539+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:1412:in `block in
transport_request'
2016-01-31T18:02:21.689540+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:1409:in `catch'
2016-01-31T18:02:21.689541+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:1409:in
`transport_request'
2016-01-31T18:02:21.689541+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:1382:in `request'
2016-01-31T18:02:21.689542+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:319:in `block in
open_http'
2016-01-31T18:02:21.689543+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:852:in `start'
2016-01-31T18:02:21.689543+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:313:in `open_http'
2016-01-31T18:02:21.689544+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:709:in
`buffer_open'
2016-01-31T18:02:21.689545+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:210:in `block in
open_loop'
2016-01-31T18:02:21.689545+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:208:in `catch'
2016-01-31T18:02:21.689546+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop'
2016-01-31T18:02:21.689546+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri'
2016-01-31T18:02:21.689547+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:689:in `open'
2016-01-31T18:02:21.689547+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:34:in `open'
2016-01-31T18:02:21.689548+00:00 app[web.1]: simple_scrape.rb:7:in
`block in <main>'
2016-01-31T18:02:21.689549+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in
`call'
2016-01-31T18:02:21.689550+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in
`block in compile!'
2016-01-31T18:02:21.689551+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in
`'
2016-01-31T18:02:21.689551+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in
`block (3 levels) in route!'
2016-01-31T18:02:21.689571+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in
`block in route!'
2016-01-31T18:02:21.689572+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in
`each'
2016-01-31T18:02:21.689573+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in
`route!'
2016-01-31T18:02:21.689573+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in
`block in dispatch!'
2016-01-31T18:02:21.689574+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
`block in invoke'
2016-01-31T18:02:21.689575+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
`catch'
2016-01-31T18:02:21.689575+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
`invoke'
2016-01-31T18:02:21.689576+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in
`dispatch!'
2016-01-31T18:02:21.689576+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in
`block in call!'
2016-01-31T18:02:21.689577+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
`block in invoke'
2016-01-31T18:02:21.689577+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
`catch'
2016-01-31T18:02:21.689578+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
`invoke'
2016-01-31T18:02:21.689579+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in
`call!'
2016-01-31T18:02:21.689580+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in
`call'
2016-01-31T18:02:21.689580+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in
`call'
2016-01-31T18:02:21.689581+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in
`call'
2016-01-31T18:02:21.689582+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
`call'
2016-01-31T18:02:21.689594+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
`call'
2016-01-31T18:02:21.689595+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in
`call'
2016-01-31T18:02:21.689595+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/logger.rb:15:in
`call'
2016-01-31T18:02:21.689596+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in
`call'
2016-01-31T18:02:21.689596+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:219:in
`call'
2016-01-31T18:02:21.689597+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:212:in
`call'
2016-01-31T18:02:21.689597+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/head.rb:13:in
`call'
2016-01-31T18:02:21.689598+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in
`call'
2016-01-31T18:02:21.689599+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in
`call'
2016-01-31T18:02:21.689600+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in
`block in call'
2016-01-31T18:02:21.689602+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/lib/thin/connection.rb:84:in
`catch'
2016-01-31T18:02:21.689603+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/lib/thin/connection.rb:84:in
`pre_process'
2016-01-31T18:02:21.689603+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:1067:in
`call'
2016-01-31T18:02:21.689604+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:1067:in
`block in spawn_threadpool'
2016-01-31T18:02:21.689818+00:00 app[web.1]: 100.38.74.239 - -
[31/Jan/2016:18:02:21 +0000] "GET / HTTP/1.1" 500 30 120.3564
2016-01-31T18:02:21.697138+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/protocol.rb:158:in `rescue
in rbuf_fill'
2016-01-31T18:02:21.697140+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/protocol.rb:152:in
`rbuf_fill'
2016-01-31T18:02:21.697143+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http/response.rb:28:in
`read_new'
2016-01-31T18:02:21.697144+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:1412:in `block in
transport_request'
2016-01-31T18:02:21.697145+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:1409:in `catch'
2016-01-31T18:02:21.697145+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:1409:in
`transport_request'
2016-01-31T18:02:21.697148+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:852:in `start'
2016-01-31T18:02:21.697148+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:313:in `open_http'
2016-01-31T18:02:21.697155+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:210:in `block in
open_loop'
2016-01-31T18:02:21.697156+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:208:in `catch'
2016-01-31T18:02:21.697157+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri'
2016-01-31T18:02:21.697157+00:00 app[web.1]:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:689:in `open'
2016-01-31T18:02:21.697160+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in
`call'
2016-01-31T18:02:21.697161+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in
`block in compile!'
2016-01-31T18:02:21.697161+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in
`'
2016-01-31T18:02:21.697162+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in
`block (3 levels) in route!'
2016-01-31T18:02:21.697163+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in
`route_eval'
2016-01-31T18:02:21.697163+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in
`block (2 levels) in route!'
2016-01-31T18:02:21.697164+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in
`block in process_route'
2016-01-31T18:02:21.697164+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in
`catch'
2016-01-31T18:02:21.697165+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in
`process_route'
2016-01-31T18:02:21.697166+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in
`block in route!'
2016-01-31T18:02:21.697168+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in
`block in dispatch!'
2016-01-31T18:02:21.697168+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
`block in invoke'
2016-01-31T18:02:21.697173+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in
`dispatch!'
2016-01-31T18:02:21.697174+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in
`block in call!'
2016-01-31T18:02:21.697176+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
`invoke'
2016-01-31T18:02:21.697176+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in
`call!'
2016-01-31T18:02:21.697300+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
`call'
2016-01-31T18:02:21.697302+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in
`call'
2016-01-31T18:02:21.697303+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/logger.rb:15:in
`call'
2016-01-31T18:02:21.697322+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in
`call'
2016-01-31T18:02:21.697323+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in
`block in call'
2016-01-31T18:02:21.697324+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in
`synchronize'
2016-01-31T18:02:21.697324+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in
`call'
2016-01-31T18:02:21.697327+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:1067:in
`call'
2016-01-31T18:02:21.697332+00:00 app[web.1]:
/app/vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.9.1/lib/eventmachine.r
···
On Jan 31, 2016 12:10 PM, "Hassan Schroeder" <hassan.schroeder@gmail.com> wrote:
On Sun, Jan 31, 2016 at 7:57 AM, Nathaniel Quashie > <nathanielcfa@gmail.com> wrote:
> Checked out the logs and what i see is a timeout of some sort, not really
> sure how or why the application is timing out.
"of some sort" - awesome description
No one else is likely to be "sure" either unless you provide some
actual information about the problem.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
Hassan Schroeder | about.me
twitter: @hassan
Consulting Availability : Silicon Valley or remote
Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>