Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yzzhu opened this issue Oct 9, 2015 · 1 comment
Open

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

yzzhu opened this issue Oct 9, 2015 · 1 comment

Comments

@yzzhu
Copy link

yzzhu commented Oct 9, 2015

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.

@lotus2015
Copy link

hi,
I encountered the same problem,how do you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants