Skip to content

Failed to stage application & Polling failed - status 0 #18

@yzzhu

Description

@yzzhu

When I push a .Net application, the log shows that it always encounter error as below:

2015-10-09T15:25:14.95+0800 [API] ERR Encountered error: Staging error: failed to stage application:
2015-10-09T15:25:14.95+0800 [API] ERR Error uploading: (Polling failed - status 0)

somtimes the app can start success after one minute or longer later like this:

2015-10-09T15:25:05.59+0800 [API] OUT Updated app with guid 39073011-3764-44c9-a5d6-ec70867969b3 ({"state"=>"STARTED"})
2015-10-09T15:25:08.15+0800 [STG] OUT Extracted 'C:\IronFoundry\dea_ng\staging\d20151009-864-1edt71c\app.zip' to 'C:\IronFoundry\warden\containers\B092EA38C1694BD2B0\user\tmp\unstaged'
2015-10-09T15:25:14.95+0800 [API] ERR Encountered error: Staging error: failed to stage application:
2015-10-09T15:25:14.95+0800 [API] ERR Error uploading: (Polling failed - status 0)
2015-10-09T15:26:13.33+0800 [DEA] OUT Starting app instance (index 0) with guid 39073011-3764-44c9-a5d6-ec70867969b3
2015-10-09T15:26:17.90+0800 [App/0] OUT 2015-10-09 15:26:16.7219|INFO|1|Program|Port:50108
or
2015-10-09T15:42:24.81+0800 [API] OUT Updated app with guid 60717458-73e7-4203-b32c-99b329ff99e6 ({"state"=>"STARTED"})
2015-10-09T15:42:27.34+0800 [STG] OUT Extracted 'C:\IronFoundry\dea_ng\staging\d20151009-864-k1lsv3\app.zip' to 'C:\IronFoundry\warden\containers\EC5C57E1C9B695F6DD\user\tmp\unstaged'
2015-10-09T15:42:31.46+0800 [API] ERR Encountered error: Staging error: failed to stage application:
2015-10-09T15:42:31.46+0800 [API] ERR Error uploading: (Polling failed - status 0)
2015-10-09T15:44:13.33+0800 [DEA] OUT Starting app instance (index 0) with guid 60717458-73e7-4203-b32c-99b329ff99e6
2015-10-09T15:44:18.78+0800 [App/0] OUT 2015-10-09 15:44:17.0129|INFO|1|Program|Port:50137

Somtimes it stopped here rather than going on the start process, without any log output again.

It's my own IronFoundry test environment, the command I use is "cf push hello -b net -p hello.zip -m 512m -s windows2012", hello.zip is a simple .Net application.

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