Skip to main content

Batch mode failed in AWS Lambda with CURL 26 error "read function returned funny value"

Answered

Comments

1 comment

  • Alex Ginete
    • Gurobi Staff

    Hello Hancheng,

    The error you're receiving might be related to AWS Lambda runtime, or how it handles the /tmp directory. On your client machine that connects to the cluster manager, can you try submitting a model using the command grbcluster batch solve <model_name>. If this works, then it suggests that the error is within the Lambda.

    Additionally, I recommend writing the Lambda's output model to S3 instead of the /tmp folder, and then trying to submit the batch job using the model from S3. This can help determine whether the problem is specific to the /tmp directory.

    Regards,
    Alex

    0

Please sign in to leave a comment.