操作超时 - High Sierra
Operation timed out - High Sierra
伙计们,昨天我升级到 High Sierra。
在那之后 - 我无法启动我的项目导致此错误:
2017-09-27 16:52:48 +0300: Rack app error handling request { GET /unauthenticated }
#<Errno::ETIMEDOUT: Operation timed out - user specified timeout>
接下来的日志:
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:61:in `connect_internal'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:137:in `connect'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:627:in `block in tcp'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:227:in `each'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:227:in `foreach'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:617:in `tcp'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/webpacker-3.0.1/lib/webpacker/dev_server.rb:9:in `running?'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/webpacker-3.0.1/lib/webpacker/dev_server_proxy.rb:7:in `rewrite_response'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/rack-proxy-0.6.2/lib/rack/proxy.rb:57:in `call'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/engine.rb:522:in `call'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/configuration.rb:225:in `call'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/server.rb:605:in `handle_request'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/server.rb:437:in `process_client'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/server.rb:301:in `block in run'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
有没有人已经自己修好了?
所以,要解决这个问题只需要在你的 Gemfile 中添加 Github 存储库和 运行 bundle update
:
gem 'webpacker', github: 'rails/webpacker'
伙计们,昨天我升级到 High Sierra。
在那之后 - 我无法启动我的项目导致此错误:
2017-09-27 16:52:48 +0300: Rack app error handling request { GET /unauthenticated }
#<Errno::ETIMEDOUT: Operation timed out - user specified timeout>
接下来的日志:
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:61:in `connect_internal'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:137:in `connect'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:627:in `block in tcp'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:227:in `each'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:227:in `foreach'
/Users/alex/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:617:in `tcp'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/webpacker-3.0.1/lib/webpacker/dev_server.rb:9:in `running?'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/webpacker-3.0.1/lib/webpacker/dev_server_proxy.rb:7:in `rewrite_response'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/rack-proxy-0.6.2/lib/rack/proxy.rb:57:in `call'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/engine.rb:522:in `call'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/configuration.rb:225:in `call'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/server.rb:605:in `handle_request'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/server.rb:437:in `process_client'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/server.rb:301:in `block in run'
/Users/alex/.rvm/gems/ruby-2.4.1/gems/puma-3.10.0/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
有没有人已经自己修好了?
所以,要解决这个问题只需要在你的 Gemfile 中添加 Github 存储库和 运行 bundle update
:
gem 'webpacker', github: 'rails/webpacker'