diffplug / diffplug/matconsolectl

Differentiating license issues with connection issues

Đang mở
#22 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Java
Star
50
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu tại RemoteMatlabProxyFactory.java:176 và lần theo cách các timeout khi tạo proxy xuất hiện trong mã nguồn matconsolectl. Nếu có thể, hãy tái hiện trường hợp cạn kiệt giấy phép, so sánh với lỗi mạng và xác định xem thông báo của trình quản lý giấy phép MATLAB có khả dụng hay không; được xem là hoàn tất khi có thể phân biệt hai loại lỗi hoặc hạn chế này được ghi lại trong tài liệu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.