Common Error Messages and Resolutions

(404) Not Found

Commonly caused by requesting a component that is not deployed on the server, or trying to call a function that is not exported by the given component.

Verify that the name of the deployable archive specified in your Uri is the same as the name of the deployable archive hosted in your auto_deploy folder.

Error: Bad MATLAB Runtime Instance

Common causes of this message include:

  • You are not properly qualifying the path to the MATLAB® Runtime. You must include the version number. 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

MATLAB Production Server™ can’t find the server you are specifying.

Ensure you are either entering commands from the folder containing the server instance, or are using the -C command argument to specify a precise location of the server instance.

For example, if you created server_1 in C:\tmp\server_1, you would issue 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 a Server Instance.

Error: invalid target host or port

The port number specified has not been properly defined to your computer. 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. Consult the Log Files for further details on the precise cause of the problem.

Was this topic helpful?