Why am I getting a "504 Timeout" error when deploying a microservice Docker image on cloud using MATLAB Compiler SDK R2024b?
Show older comments
I am using the "compiler.build.productionServerArchive" and "compiler.package.microserviceDockerImage" functions to package my code into a microservice Docker image and run it on Google Cloud Run. The system is configured so that the container is suspended when not receiving requests and then resumed when requests are received, in order to save on unutilized computing cost. However, after a few weeks, I receive a "504 Timeout" error when sending a request. I am able to resolve the error by rebuilding and redeploying the microservice Docker image.
Why is this error occurring and how can I resolve the issue without rebuilding my image?
Accepted Answer
More Answers (0)
Categories
Find more on Containers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!