Closed makijackson closed 2 months ago
掲示板の方にも出てますが、サーバー側の制限なので、待ち時間を延ばすしかありません。エラーが出るのが嫌なら、
download.interval: 2.0
download.wait-steps: 3
update.interval: 5.0
くらいにしてゆっくり待つのがお薦めです。私もそうしてますがupdateに一晩かかりますがエラーは出なくなりました。
ありがとうございます。download.intervalは変えていましたが wait-stepsも変更したことで無事ダウンロードができるようになりました。
以前はデフォルトで間に合ってたんですけど3.9.0に変えてから下記のようなエラーが出るようになりました。掲示板の方ではwait時間が足りないなどのコメントがあったので色々変えて見ましたが相変わらずなので何かヒントを求めて書き込んでます。これは400話ぐらいのなろうのダウンロード中です。以前からのもののアップデートは(わからないでけかもしれませんが)とりあえず大丈夫そうです。
/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/net/http.rb:1603:in'
initialize': Failed to open TCP connection to ncode.syosetu.com:443 (Cannot allocate memory - connect(2) for "ncode.syosetu.com" port 443) (Errno::ENOMEM) from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/net/http.rb:1603:in
open' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/net/http.rb:1603:inblock in connect' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/timeout.rb:186:in
block in timeout' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/timeout.rb:193:intimeout' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/net/http.rb:1601:in
connect' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/net/http.rb:1580:indo_start' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/net/http.rb:1569:in
start' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/open-uri.rb:334:inopen_http' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/open-uri.rb:770:in
buffer_open' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/open-uri.rb:220:inblock in open_loop' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/open-uri.rb:218:in
catch' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/open-uri.rb:218:inopen_loop' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/open-uri.rb:158:in
open_uri' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/open_uri_redirections-0.2.1/lib/open-uri/redirections_patch.rb:55:inopen_uri' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/open-uri.rb:750:in
open' from /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/open-uri.rb:29:inopen' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/downloader.rb:1177:in
download_raw_data' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/downloader.rb:1133:ina_section_download' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/downloader.rb:1036:in
block in sections_download_and_save' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/downloader.rb:1030:ineach' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/downloader.rb:1030:in
each_with_index' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/downloader.rb:1030:insections_download_and_save' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/downloader.rb:395:in
run_download' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/downloader.rb:337:instart_download' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/command/download.rb:142:in
block in execute' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/command/download.rb:110:ineach' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/command/download.rb:110:in
with_index' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/command/download.rb:110:inexecute' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/commandbase.rb:125:in
execute!' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/commandbase.rb:134:inexecute!' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/commandline.rb:29:in
run' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/commandline.rb:43:inrun!' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/narou.rb:50:in
block in <top (required)>' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/lib/backtracer.rb:16:incapture' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/narou.rb:49:in
<top (required)>' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/bin/narou:13:inrequire_relative' from /opt/homebrew/lib/ruby/gems/3.3.0/gems/narou-3.9.0/bin/narou:13:in
<top (required)>' from /opt/homebrew/bin/narou:25:inload' from /opt/homebrew/bin/narou:25:in