Failed to open TCP connection to test.s3.amazonaws.com:443 (Too many open files - socket(2) - udp)

オープン
#67 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
aws, ruby
領域
networking

調査の方向性

レポートにはリポジトリのファイルもテストも記載されていません。まず Net::HTTP.get_response(URI(fetch_url)) の呼び出しから始め、記載されている M1 Mac で socket(2) エラーを再現してください。失敗する環境をリクエストが機能するマシンと比較し、マシン固有の原因と、再現可能な修正または明確なプロジェクトのガイダンスが確立された時点で issue の完了とします。

索引モデルが issue の本文から書いたものです。

説明

Hello. I am trying to fetch against an s3 URL on an M1 mac, and am running into an error.

Implementation:

response = Net::HTTP.get_response(URI(fetch_url))

if response.is_a?(Net::HTTPSuccess)
  JSON.parse(response.body)
else
  raise Error, "Failed to fetch manifest from #{fetch_url}"
end

Error

Failed to open TCP connection to test.s3.amazonaws.com:443 (Too many open files - socket(2) - udp)

This issue hasn't been reported by anyone else in my org, and seems to be machine specific. I can go to the URL i'm trying to fetch manually, and it is accessible. I tried this page to look at my ulimit stuff, but it's essentially the same settings as other folks who this code is working for.

Any help appreciated!

主要言語
Ruby
スター
148
フォーク
95
平均マージ
10時間 54分
マージ済み PR(30日)
4

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ruby/net-http のほかの issue

ruby/net-http の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。