Problem with deploying to sandbox (Failed to get Mendix Runtime metrics)?

1
Hi all,   I encounter problems when deploying an app to Sandbox environment.   When looking into the application log with System Internals enabled, I see the following while the live website gives "resuming app...":   16:14:58 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STOPPED"}) 16:14:58 APP INFO Waiting for the application to shutdown... 16:14:58 APP INFO The application has been stopped successfully. 16:14:59 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"environment_json"=>"PRIVATE DATA HIDDEN"}) 16:15:00 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"environment_json"=>"PRIVATE DATA HIDDEN"}) 16:15:02 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"buildpack"=>"https://github.com/mendix/cf-mendix-buildpack.git", "command"=>"PRIVATE DATA HIDDEN"}) 16:15:04 SYS INFO Got staging request for app with id 37580ed0-d538-4559-9a53-b4b241fde265 16:15:06 APP WARNING Metrics: Failed to get Mendix Runtime metrics, [Errno 111] Connection refused 16:15:09 SYS INFO Stopped app instance (index 0) with guid 37580ed0-d538-4559-9a53-b4b241fde265 16:15:09 SYS INFO Stopping app instance (index 0) with guid 37580ed0-d538-4559-9a53-b4b241fde265 16:15:09 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:15:23 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:15:24 SYS INFO -----> Downloaded app package (49M) 16:15:24 SYS INFO -----> Downloaded app buildpack cache (2.5M) 16:15:25 SYS INFO Cloning into '/tmp/buildpacks/cf-mendix-buildpack'... 16:15:28 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:15:29 SYS INFO buildpack compile completed 16:15:34 SYS INFO -----> Uploading droplet (52M) 16:15:36 SYS INFO encountered error: Staging error: failed to stage application: 16:15:36 SYS INFO Error uploading: (Upload failed - status 400) 16:15:36 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:16:26 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:17:32 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:17:36 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:19:16 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:19:32 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:19:57 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:21:36 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:23:05 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:23:25 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"}) 16:23:36 SYS INFO Updated app with guid 37580ed0-d538-4559-9a53-b4b241fde265 ({"state"=>"STARTED"})   After a while like this , the modeler gives an error that "whoops, there is gone something wrong" and when looking in activity feed in Deploy, i see the error: Couldn't deploy to your sandbox. Please, check the logs: The application is taking too long to come online   When I commit and deploy after it (not a direct deployment to Sandbox) somethimes the deployment succeed. (locally everything is working without errors. and there is also not a latest build output to login)     Anyone experienced something similar?
asked
2 answers
1

Is there a Solve for this Problem , because I'm facing it Now

I'll be highly appreciated if you can help me

answered
0

Dear Enzo,

 

In order to assist you with this, please provide the free app url/name so we can check.

 

Thanks,

 

Niels Trotsenburg

Mendix Support Engineer

answered