Skip to content

optimizerFORCES -- Request Entity Too Large #40

@sixtosevenf

Description

@sixtosevenf

The command optimizerFORCES makes some issue as follows:

Error using matlab.internal.webservices.HTTPConnector/copyContentToByteArray (line 396)
The server returned the status 413 with message "Request Entity Too Large" in response to the request to URL https://forces.embotech.com/generate_solver.
Error in readContentFromWebService (line 46)
        byteArray = copyContentToByteArray(connection);
Error in webwrite (line 139)
    [varargout{1:nargout}] = readContentFromWebService(connection, options);
Error in ForcesWeb.write
Error in ForcesWeb.generateSolver
Error in generateCode
Error in optimizerFORCES/buildSolver (line 19)
        success = generateCode( self.stages{i},self.params{i},self.codeoptions{i},self.outputFORCES{i} ) & success;
Error in optimizerFORCES (line 196)
        success = buildSolver( self ); 

I am not sure this issue comes from the size of the optimization problem. In my case, the issue does not happen if the problem size is small. Is there any way to resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions