sshnet / sshnet/SSH.NET

Client not connected issue:

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

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

主要言語
C#
スター
4.4k
フォーク
993
平均マージ
9日 21時間
マージ済み PR(30日)
1

説明

Trying to sftp mulitple files with separate sftp instances using the plinq

s.AsParallel().Select(part => productSaver.SaveSnapshot(product, cutoffTime, part))
.ToArray().AsParallel()
.ForAll(file => UploadFile(file, delivery.DeliveryID));

a product has say 16 files to upload, what happens is some files are fully uploaded, while some are partially uploaded, and finally some aren't uploaded at all. I receive the client not connected exception which occurs in the InternalUploadFile. We are leveraging a sftp system called Globalscape, and we have adjusted the server settings to accommodate many sessions, timeouts etc. we have used filezilla and powershell scripts to mimic the process and had success with both. We aren't sure why the ssh session becomes null, and effectively kills the upload.

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

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

はじめの一歩

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

調査の方向性

レポートで示されているInternalUploadFileパスから開始し、個別のSFTPインスタンスを使用して並列アップロードを再現します。できれば、説明されているGlobalscapeセットアップに対して実行してください。SSHセッションがnullになるタイミングを追跡し、すべてのファイルが完全にアップロードされたことを確認して完了を検証します。このissueでは、実行するリポジトリファイルやテストは指定されていません。

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

評価

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

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

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