diffplug / diffplug/matconsolectl

Differentiating license issues with connection issues

Abierto
#22 4 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Java
Estrellas
50
Forks
16
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza en RemoteMatlabProxyFactory.java:176 y sigue cómo los tiempos de espera de la creación del proxy se manifiestan en el código fuente de matconsolectl. Reproduce el caso de agotamiento de licencias si es posible, compáralo con un fallo de red e identifica si está disponible el mensaje del gestor de licencias de MATLAB; se considera terminado cuando los dos tipos de fallo se pueden distinguir o la limitación está documentada.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
tooling
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.