diffplug / diffplug/matconsolectl
Differentiating license issues with connection issues
- 主要言語
- Java
- スター
- 50
- フォーク
- 16
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
We're running matconsolectl in a server job and using a corporate license pool.
Sporadically, we're getting this exception:
Exception in thread "main" matlabcontrol.MatlabConnectionException: MATLAB proxy could not be created in 180000 milliseconds
at matlabcontrol.RemoteMatlabProxyFactory.getProxy(RemoteMatlabProxyFactory.java:176)
I suspect that this is caused by being out of matlab licenses, but as far as I can tell from the matconsolectl source code, it does not have any special handling of license issues compared to e.g. network issues. Or am I misdiagnosing this and license errors will not get MatlabConnectionException timeouts?
It would be really nice if one could get the error message we get when running matlab directly, i.e.
"License checkout failed.
License Manager Error -4
Maximum number of users for MATLAB reached.
Try again later."
I'm not sure where to start looking for the above output though, so not sure how to fix it (if this really is the issue that I think it is)
コントリビューションガイド
調査の方向性
RemoteMatlabProxyFactory.java:176 から開始し、プロキシ作成のタイムアウトが matconsolectl のソースコードを通じてどのように現れるかを追跡します。可能であればライセンス枯渇のケースを再現し、ネットワーク障害と比較して、MATLAB ライセンスマネージャーのメッセージが利用可能かどうかを特定します。2 種類の失敗を区別できるか、または制限事項が文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100