Open C4rohan opened 1 year ago
I tried editing the 900 seconds to 10000 , but the aws didnt allow it ..
Not sure whether "docker pull" command takes too long or the toolkit does not know what to do after docker pull. @C4rohan tested dock pull command on the EC2 instance. It finishes in a reasonable time.
As this link said, the maximum invocation timeout limit is 15 minutes (900 seconds). @C4rohan
I have no idea why this "docker pull" command takes that long time. Does this docker image (rohansalvi98/cloudphaseprediction) set in the public repository?
Yes it is a public image. Do you think its a hardware issue (maybe if I set up a better cpu and ssd space )?.. But I tried running the code manually by opening a instance and executing it, and it doesnt take that long.
I tried your docker image on my local machine. It showed the permission problem.
hey try this docker pull rohansalvi98/cloudpredictionphase:latest
I have tried your new docker image. It takes a very long time then got stuck.
When the app tries to run docker pull command , the docker takes too long to pull and hence falls into timeout .
Here is the cloudwatch details /aws/lambda/rpacautoanalytics-CloudPhasePrediction-74TJZCkLzKdG