Main Content

Common Error Messages and Resolutions

(404) Not Found

This error is commonly caused when a client requests a component that is not deployed on the server, or tries to call a function that is not exported by the given component.

To resolve this error, verify that the name of the deployable archive specified in your Uri is the same as the name of the deployable archive hosted in the auto_deploy folder of your server instance.

Error: Bad MATLAB Runtime Instance

This error is commonly caused when you do not specify the correct path to the MATLAB® Runtime. You must include the MATLAB Runtime version number in the path. For example, you need to specify:

C:\Program Files\MATLAB\MATLAB Runtime\vn.n
not
C:\Program Files\MATLAB\MATLAB Runtime

Error: Server Instance not Specified

This error is caused when the server instance folder cannot be located.

To resolve this error, ensure that you enter commands either from the folder containing the server instance, or use the -C argument to specify the location of the server instance.

For example, if you create server_1 in C:\tmp\server_1, run the mps-start command from within that folder to avoid specifying a path with the -C argument:

cd c:\tmp\server_1
mps-start server_1

For more information, see Start Server Instance Using Command Line.

Error: invalid target host or port

This error is caused when the port number specified has not been properly defined on your computer. To resolve the error, define a valid port and retry the command.

Error: HTTP error: HTTP/x.x 404 Component not found

This error can be caused by a number of reasons. For more information about possible causes, see Log Files.

Server failed to start (error code = 16): license checkout failed

This error indicates that either the license manager is not running, or the server instance cannot locate the license file or the license server.

To resolve the issue, if your setup uses a license manager, ensure that it is running. Ensure that the license property in the main_config server configuration file is set. The license property requires either a full path to the license file or a path to the license server.

Related Topics