Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/59.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Heroku挂起54分钟,然后RPC错误失败;curl 18传输结束,剩余未完成的读取数据_Ruby On Rails_Heroku - Fatal编程技术网

Ruby on rails Heroku挂起54分钟,然后RPC错误失败;curl 18传输结束,剩余未完成的读取数据

Ruby on rails Heroku挂起54分钟,然后RPC错误失败;curl 18传输结束,剩余未完成的读取数据,ruby-on-rails,heroku,Ruby On Rails,Heroku,我不知道为什么,但是git-push-heroku-master可以流畅地/预期地工作,直到: remote: Bundle complete! 21 Gemfile dependencies, 67 gems now installed. remote: Gems in the groups 'development' and 'test' were not installed. remote: Bundled gems are installed i

我不知道为什么,但是
git-push-heroku-master
可以流畅地/预期地工作,直到:

remote:        Bundle complete! 21 Gemfile dependencies, 67 gems now installed.
remote:        Gems in the groups 'development' and 'test' were not installed.
remote:        Bundled gems are installed into `./vendor/bundle`
remote:        Post-install message from sass:
remote:        
remote:        Ruby Sass has reached end-of-life and should no longer be used.
remote:        
remote:        * If you use Sass as a command-line tool, we recommend using Dart Sass, the new
remote:          primary implementation: https://sass-lang.com/install
remote:        
remote:        * If you use Sass as a plug-in for a Ruby web framework, we recommend using the
remote:          sassc gem: https://github.com/sass/sassc-ruby#readme
remote:        
remote:        * For more details, please refer to the Sass blog:
remote:          https://sass-lang.com/blog/posts/7828841
remote:        
remote:        Bundle completed (211.55s)
remote:        Cleaning up the bundler cache.
remote: -----> Detecting rake tasks
然后它在这里挂了10多分钟。我最终按下control+c取消并再次尝试,目前正在再次等待,这次使用计时器:8分钟14分钟18分钟30分钟40分钟总共54分钟(从“检测rake任务”首次出现时算起)

然后

笔记 版本
我从未解决过这个问题,但通过从cedar-14堆栈升级到heroku-18堆栈解决了这个问题。

你有更多的日志吗?还是这是唯一的问题?@Joel_Blum yep,这就是我所看到的,我想heroku可能会记录比你在git push时看到的更多的东西@Joel_Blum谢谢,我没有想到这一点。我现在检查一下,并用任何findings@Joel_Blum仪表板中的状态显示为“build in progress”,日志与终端中显示的完全相同,一直到最后一行如果您在问题中提到heroku堆栈,我会立即向您指出。他们目前正在停用16个堆栈(刚刚升级),但14个堆栈已关闭部署约6个月(2020年11月),这要感谢@engineersmnky-yeh,事后看来很明显。构建包也很复杂,其中3个(总共5个)来自github的不知名部分,用户很少。设法将所有东西升级到heroku-18,所以现在应该可以使用一段时间了。再次感谢你的帮助
remote:        * For more details, please refer to the Sass blog:
remote:          https://sass-lang.com/blog/posts/7828841
remote:        
remote:        Bundle completed (211.55s)
remote:        Cleaning up the bundler cache.
remote: -----> Detecting rake tasks
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
heroku status
Apps:      No known issues at this time.
Data:      No known issues at this time.
Tools:     No known issues at this time.
ruby --version
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]


rails --version
Rails 6.0.3.6


bundler --version
Bundler version 2.1.4


heroku buildpacks
=== myappname Buildpack URLs
1. https://github.com/virtualstaticvoid/heroku-buildpack-r.git#heroku-16
2. heroku/ruby
3. https://github.com/mojodna/heroku-buildpack-cairo.git
4. https://github.com/heroku/heroku-buildpack-xvfb-google-chrome.git