weidazhao / Hosting

Hosting prototype
170 stars 35 forks source link

Issue when deploying with InstanceCount = -1 #37

Open zoalasaurusrawr opened 8 years ago

zoalasaurusrawr commented 8 years ago

Receiving this if I deploy to an on-premise cluster with an instance count = -1

Error event: SourceId='System.Hosting', Property='CodePackageActivation:Code:EntryPoint'. There was an error during CodePackage activation.The service host terminated with exit code:3762504530

If I deploy to the on-premise cluster with an InstanceCount = 1, all is fine.

zoalasaurusrawr commented 8 years ago

Actually, I get that error regardless of how I deploy the app.

phillipfisher commented 8 years ago

It might just be a random startup error. Nothing to do with the deployment or config. Put in extra logging in Program.cs and Startup.cs. For me it's typically me trying to use a port that is already in use. Or binding to a port incorrectly or that is being prevented by Windows firewall.

But extra logging should generally. Often times for me I'm binding to port 80 and I already have IIS setup and listening on port 80 and have to disable it first.

Hope that helps.

felipecruz91 commented 6 years ago

I happen to experience the same issue. Do you know a solution for this?

theBlueclouds commented 6 years ago

Same problem here