Comments (3)
Sorry for the long delay. You need to increase the rack timeout variable in
the .env file.
Five seconds is not enough time for your workstation. Try setting it to 30.
On Sep 15, 2016 3:28 PM, "teriiehina" [email protected] wrote:
Hi,
I did things as simply as possible:
- orats new my_project
- docker-compose up --build
- everything launches correctly
- going to 0.0.0.0:3000
Then I got the following error:
Rack::Timeout::RequestTimeoutException in PagesController#home
Request ran for longer than 5000msThe time out is on:
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
If I remove this line, I get the same error, but on the next line:
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
If I also remove this line, it works, but of course, I have no CSS nor JS.
Am I missing something ? Help please :)
More informations:
[image: screen shot 2016-09-13 at 15 50 59]
https://cloud.githubusercontent.com/assets/435970/18564045/9b766cb2-7b25-11e6-87e6-9db68fe627a9.jpgMy environment:
- OS X 10.11.6
- docker version 1.11.1, build 5604cbe
- docker-compose version 1.7.1, build 0a9ab35
The full stack is:
sass (3.4.22) lib/sass/tree/visitors/base.rb:52:in
visit_children' sass (3.4.22) lib/sass/tree/visitors/perform.rb:169:in
block in visit_children'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:181:inwith_environment' sass (3.4.22) lib/sass/tree/visitors/perform.rb:168:in
visit_children'
sass (3.4.22) lib/sass/tree/visitors/base.rb:36:inblock in visit' sass (3.4.22) lib/sass/tree/visitors/perform.rb:400:in
visit_prop'
sass (3.4.22) lib/sass/tree/visitors/base.rb:36:invisit' sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:in
block in visit'
sass (3.4.22) lib/sass/stack.rb:79:inblock in with_base' sass (3.4.22) lib/sass/stack.rb:115:in
with_frame'
sass (3.4.22) lib/sass/stack.rb:79:inwith_base' sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:in
visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:433:inblock (2 levels) in visit_rule' sass (3.4.22) lib/sass/tree/visitors/perform.rb:433:in
map'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:433:inblock in visit_rule' sass (3.4.22) lib/sass/tree/visitors/perform.rb:181:in
with_environment'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:431:invisit_rule' sass (3.4.22) lib/sass/tree/visitors/base.rb:36:in
visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:inblock in visit' sass (3.4.22) lib/sass/stack.rb:79:in
block in with_base'
sass (3.4.22) lib/sass/stack.rb:115:inwith_frame' sass (3.4.22) lib/sass/stack.rb:79:in
with_base'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:invisit' sass (3.4.22) lib/sass/tree/visitors/perform.rb:433:in
block (2 levels) in visit_rule'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:433:inmap' sass (3.4.22) lib/sass/tree/visitors/perform.rb:433:in
block in visit_rule'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:181:inwith_environment' sass (3.4.22) lib/sass/tree/visitors/perform.rb:431:in
visit_rule'
sass (3.4.22) lib/sass/tree/visitors/base.rb:36:invisit' sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:in
block in visit'
sass (3.4.22) lib/sass/stack.rb:79:inblock in with_base' sass (3.4.22) lib/sass/stack.rb:115:in
with_frame'
sass (3.4.22) lib/sass/stack.rb:79:inwith_base' sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:in
visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:328:inblock (2 levels) in visit_import' sass (3.4.22) lib/sass/tree/visitors/perform.rb:328:in
map'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:328:inblock in visit_import' sass (3.4.22) lib/sass/stack.rb:88:in
block in with_import'
sass (3.4.22) lib/sass/stack.rb:115:inwith_frame' sass (3.4.22) lib/sass/stack.rb:88:in
with_import'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:325:invisit_import' sass (3.4.22) lib/sass/tree/visitors/base.rb:36:in
visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:inblock in visit' sass (3.4.22) lib/sass/stack.rb:79:in
block in with_base'
sass (3.4.22) lib/sass/stack.rb:115:inwith_frame' sass (3.4.22) lib/sass/stack.rb:79:in
with_base'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:invisit' sass (3.4.22) lib/sass/tree/visitors/base.rb:52:in
block in visit_children'
sass (3.4.22) lib/sass/tree/visitors/base.rb:52:inmap' sass (3.4.22) lib/sass/tree/visitors/base.rb:52:in
visit_children'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:169:inblock in visit_children' sass (3.4.22) lib/sass/tree/visitors/perform.rb:181:in
with_environment'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:168:invisit_children' sass (3.4.22) lib/sass/tree/visitors/base.rb:36:in
block in visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:188:invisit_root' sass (3.4.22) lib/sass/tree/visitors/base.rb:36:in
visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:159:invisit' sass (3.4.22) lib/sass/tree/visitors/perform.rb:8:in
visit'
sass (3.4.22) lib/sass/tree/root_node.rb:36:incss_tree' sass (3.4.22) lib/sass/tree/root_node.rb:20:in
render'
sass (3.4.22) lib/sass/engine.rb:281:inrender' sass-rails (5.0.5) lib/sass/rails/template.rb:47:in
evaluate'
tilt (2.0.5) lib/tilt/template.rb:102:inrender' sprockets (3.6.3) lib/sprockets/legacy_tilt_processor.rb:25:in
call'
sprockets (3.6.3) lib/sprockets/processor_utils.rb:75:incall_processor' sprockets (3.6.3) lib/sprockets/processor_utils.rb:57:in
block in call_processors'
sprockets (3.6.3) lib/sprockets/processor_utils.rb:56:inreverse_each' sprockets (3.6.3) lib/sprockets/processor_utils.rb:56:in
call_processors'
sprockets (3.6.3) lib/sprockets/loader.rb:134:inload_from_unloaded' sprockets (3.6.3) lib/sprockets/loader.rb:60:in
block in load'
sprockets (3.6.3) lib/sprockets/loader.rb:317:infetch_asset_from_dependency_cache' sprockets (3.6.3) lib/sprockets/loader.rb:44:in
load'
sprockets (3.6.3) lib/sprockets/cached_environment.rb:20:inblock in initialize' sprockets (3.6.3) lib/sprockets/cached_environment.rb:47:in
load'
sprockets (3.6.3) lib/sprockets/bundle.rb:23:inblock in call' sprockets (3.6.3) lib/sprockets/utils.rb:196:in
dfs'
sprockets (3.6.3) lib/sprockets/bundle.rb:24:incall' sprockets (3.6.3) lib/sprockets/processor_utils.rb:75:in
call_processor'
sprockets (3.6.3) lib/sprockets/processor_utils.rb:57:inblock in call_processors' sprockets (3.6.3) lib/sprockets/processor_utils.rb:56:in
reverse_each'
sprockets (3.6.3) lib/sprockets/processor_utils.rb:56:incall_processors' sprockets (3.6.3) lib/sprockets/loader.rb:134:in
load_from_unloaded'
sprockets (3.6.3) lib/sprockets/loader.rb:60:inblock in load' sprockets (3.6.3) lib/sprockets/loader.rb:317:in
fetch_asset_from_dependency_cache'
sprockets (3.6.3) lib/sprockets/loader.rb:44:inload' sprockets (3.6.3) lib/sprockets/cached_environment.rb:20:in
block in initialize'
sprockets (3.6.3) lib/sprockets/cached_environment.rb:47:inload' sprockets (3.6.3) lib/sprockets/base.rb:66:in
find_asset'
sprockets (3.6.3) lib/sprockets/base.rb:92:in[]' sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:338:in
find_asset'
sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:330:infind_debug_asset' sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:212:in
block in lookup_debug_asset'
sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:225:inblock in resolve_asset' sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:224:in
each'
sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:224:indetect' sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:224:in
resolve_asset'
sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:211:inlookup_debug_asset' sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:153:in
block in stylesheet_link_tag'
sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:152:inmap' sprockets-rails (3.1.1) lib/sprockets/rails/helper.rb:152:in
stylesheet_link_tag'
app/views/layouts/application.html.erb:12:in_app_views_layouts_application_html_erb__2183925308731787587_69962785508040' actionview (5.0.0) lib/action_view/template.rb:158:in
block in render'
activesupport (5.0.0) lib/active_support/notifications.rb:166:ininstrument' actionview (5.0.0) lib/action_view/template.rb:348:in
instrument'
actionview (5.0.0) lib/action_view/template.rb:156:inrender' rack-mini-profiler (0.10.1) lib/mini_profiler/profiling_methods.rb:102:in
block in profile_method'
actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:66:inrender_with_layout' actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in
render_template'
actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:inrender' actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in
render_template'
actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:inrender' actionview (5.0.0) lib/action_view/rendering.rb:103:in
_render_template'
actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in_render_template' actionview (5.0.0) lib/action_view/rendering.rb:83:in
render_to_body'
actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:inrender_to_body' actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in
render_to_body'
actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:inrender' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in
render'
actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:inblock (2 levels) in render' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in
block in ms'
/usr/local/lib/ruby/2.3.0/benchmark.rb:308:inrealtime' activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in
ms'
actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:inblock in render' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in
cleanup_view_runtime'
activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:incleanup_view_runtime' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in
render'
actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:indefault_render' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in
block in send_action'
actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:intap' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in
send_action'
actionpack (5.0.0) lib/abstract_controller/base.rb:188:inprocess_action' actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in
process_action'
actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:inblock in process_action' activesupport (5.0.0) lib/active_support/callbacks.rb:126:in
call'
activesupport (5.0.0) lib/active_support/callbacks.rb:506:inblock (2 levels) in compile' activesupport (5.0.0) lib/active_support/callbacks.rb:455:in
call'
activesupport (5.0.0) lib/active_support/callbacks.rb:101:in__run_callbacks__' activesupport (5.0.0) lib/active_support/callbacks.rb:750:in
_run_process_action_callbacks'
activesupport (5.0.0) lib/active_support/callbacks.rb:90:inrun_callbacks' actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in
process_action'
actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:inprocess_action' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in
block in process_action'
activesupport (5.0.0) lib/active_support/notifications.rb:164:inblock in instrument' activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in
instrument'
activesupport (5.0.0) lib/active_support/notifications.rb:164:ininstrument' actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in
process_action'
actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:inprocess_action' activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in
process_action'
actionpack (5.0.0) lib/abstract_controller/base.rb:126:inprocess' actionview (5.0.0) lib/action_view/rendering.rb:30:in
process'
rack-mini-profiler (0.10.1) lib/mini_profiler/profiling_methods.rb:102:inblock in profile_method' actionpack (5.0.0) lib/action_controller/metal.rb:190:in
dispatch'
actionpack (5.0.0) lib/action_controller/metal.rb:262:indispatch' actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in
dispatch'
actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:inserve' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in
block in serve'
actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:ineach' actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in
serve'
actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:incall' rack (2.0.1) lib/rack/etag.rb:25:in
call'
rack (2.0.1) lib/rack/conditional_get.rb:25:incall' rack (2.0.1) lib/rack/head.rb:12:in
call'
rack (2.0.1) lib/rack/session/abstract/id.rb:222:incontext' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in
call'
actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:incall' activerecord (5.0.0) lib/active_record/migration.rb:552:in
call'
actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:inblock in call' activesupport (5.0.0) lib/active_support/callbacks.rb:97:in
run_callbacks'
activesupport (5.0.0) lib/active_support/callbacks.rb:750:in_run_call_callbacks' activesupport (5.0.0) lib/active_support/callbacks.rb:90:in
run_callbacks'
actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:incall' actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in
call'
actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:incall' actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in
call'
web-console (3.3.1) lib/web_console/middleware.rb:131:incall_app' web-console (3.3.1) lib/web_console/middleware.rb:20:in
block in call'
web-console (3.3.1) lib/web_console/middleware.rb:18:incatch' web-console (3.3.1) lib/web_console/middleware.rb:18:in
call'
actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:incall' railties (5.0.0) lib/rails/rack/logger.rb:36:in
call_app'
railties (5.0.0) lib/rails/rack/logger.rb:24:inblock in call' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in
block in tagged'
activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:intagged' activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in
tagged'
railties (5.0.0) lib/rails/rack/logger.rb:24:incall' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in
call'
actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:incall' rack (2.0.1) lib/rack/method_override.rb:22:in
call'
rack (2.0.1) lib/rack/runtime.rb:22:incall' rack-timeout (0.4.2) lib/rack/timeout/core.rb:122:in
block in call'
rack-timeout (0.4.2) lib/rack/timeout/support/timeout.rb:19:intimeout' rack-timeout (0.4.2) lib/rack/timeout/core.rb:121:in
call'
actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:incall' actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in
call'
rack (2.0.1) lib/rack/sendfile.rb:111:incall' rack-mini-profiler (0.10.1) lib/mini_profiler/profiler.rb:278:in
call'
railties (5.0.0) lib/rails/engine.rb:522:incall' puma (3.4.0) lib/puma/configuration.rb:224:in
call'
puma (3.4.0) lib/puma/server.rb:569:inhandle_request' puma (3.4.0) lib/puma/server.rb:406:in
process_client'
puma (3.4.0) lib/puma/server.rb:271:inblock in run' puma (3.4.0) lib/puma/thread_pool.rb:114:in
block in spawn_thread'—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#15, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAxoo_gAUm7Lo12JTxTMJn848UsaeLhiks5qqZxPgaJpZM4J-QNY
.
from orats.
Hi @nickjj,
Even after upping the timeout to 30s, I have the same error. I have a 2,7 GHz Intel Core i5 with 16Gb of RAM. Using "vanilla" rails in a docker container doesn't give this error.
I guess I will have a look later, as I have to go forward on my current project.
thank you for your answer.
from orats.
Hmm that should be plenty fast. You could try changing it to 300 and make sure you restart the server after this change.
If it's problematic you could also remove the rack timeout gem and rebuild the image.
from orats.
Related Issues (20)
- deploy on gcp HOT 1
- Update rails to 5.0.2 HOT 2
- I can't get rspec to run HOT 2
- Updating gemfile, but the gem being installed is not changed HOT 4
- Logging configuration dumps everything to STDOUT for test environment HOT 4
- uninitialized constant Orats::Commands::New::FileUtils HOT 4
- Community question: do you think Capybara and Selenium should be included by default? HOT 3
- Would Lograge for STDOUT logging be most appropriate? HOT 4
- Unable to run base application HOT 7
- New Rails app - Puma config not found HOT 2
- Created a new project and psql connection fails HOT 1
- Add additional templates HOT 2
- Postgres and redis volumes should be localised to app HOT 1
- Webpacker support HOT 2
- Error with initializer file content_security_policy HOT 3
- Replace redis-rails with the Rails 5.2 Redis cache store HOT 1
- stuck with circle ci
- Base App Template produces an error HOT 2
- undefined method `timeout=' for Rack::Timeout:Class (NoMethodError) HOT 3
- Is this project still actively maintained? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orats.