Rigbox icon indicating copy to clipboard operation
Rigbox copied to clipboard

java.net.BindException after errors

Open k1o0 opened this issue 6 years ago • 0 comments

After some errors MATLAB doesn't call the onCleanup function in srv.expServer, resulting in the Java Web socket remaining open. When expServer is restarted the following silent message appears in the command window:

onError: java.net.BindException: Address already in use: bind

Thereafter expServer is unreachable and users become very confused. Ideally this would raise a proper error that MATLAB could handle by clearing the Java class and re-binding. This is a very common and confusing error for people, especially those debugging a signals experiment at a rig.

k1o0 avatar Oct 23 '18 11:10 k1o0