Error while deploying app in Google App Engine with flex Environment - node.js

I am trying to deploy app in Google App Engine and I am getting following error message
ERROR: (gcloud.app.deploy) Error Response: [13] Flex operation
projects/black-tenure-213005/regions/us-east1/operations/379b4ee9-aa45-4681-bf6e-8f4fcc8b93f1
error [INTERNAL] : An internal error occurred while processing task
/appengine-flex-v1/insert_flex_deployment/flex_create_resources>2018-09-27T03:45:41.652Z2073:
500 Internal Server Error { "code" : 500, "errors" : [ {
"debugInfo" : "No backend error mapping found for errorCode: deployment.proto.DeploymentManagerErrorDomain.INTERNAL_ERROR, method:
deploymentmanager.deployments.insert, and location: null. Output will
be 500 Internal Server Error.\n/DeploymentsService.Insert to
[2002:a30:2f16::]:4118 [APPLICATION_ERROR(500)]
com.google.security.data_access. client.DataAccessException:
com.google.net.rpc3.client.RpcClientException:
APPLICATION_ERROR;security.data_access/DataAccessService.RequestTransactDat;java.security.GeneralS
ecurityException: [Policy name: deploymentmanager-transact-dat] client
\"MdbUser = cloud-dm\" is not allowed by the policy;
Please help me regarding this.
Thanks in advance.

As #DazWilkin pointed out, a general issue was affecting the Deployment Manager in GCP. Here's the incident documented in the Google Cloud Status Dashboard. By what I can see from the report, the issue has already been solved.
Errors with code 500 when deploying GAE Flex applications can be linked to the Deployment Manager experiencing issues. Given that the original issue is solved, the GAE Flex deployments should be working normally again.

Related

Service Fabric FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR: DOWNLOAD PATH SANITIZED Error

I am deploying a Service Fabric application and encountered this error for a resource of type Microsoft.ServiceFabric/clusters/applicationTypes/versions:
Status: Failed
Error:
Code: ClusterChildResourceOperationFailed
Message: Resource operation failed. Operation: CreateOrUpdate. Error details: {
"Details": "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR: DOWNLOAD PATH SANITIZED"
}
Has anyone run into this issue before? If so, what was the root cause of the error?
When I encountered this error, my application type name in my manifest did not match the application type name that I was deploying to.
It is possible to view far more useful/relevant error messages under these scenarios by going to the Service Fabric Explorer.
e.g.
https://{my-service-fabric-clustername.example.com}:19080/Explorer/old.html#
NOTE: The "new" UI does not show these useful error details, you need to select the "View old SFX" interface option
Then clicking on the "Type" that I was uploading the application to, revelaed far more descriptive and helpful errors:
From my experience, this is an issue with the version number of the sfpkg not aligning with the version in the template's Microsoft.ServiceFabric/clusters/applicationTypes/versions. Try looking into the application package's ApplicationManifest.xml file for ApplicationTypeVersion for the right version.

HTTP Error 500.30 - ANCM In-Process Start Failure with newly created app service

we are created new development environment so I cloned a current working app service into a new one and changed the configurations and deployed same code but the new app service is returning HTTP Error 500.30 - ANCM In-Process Start Failure
after trying the console for more details that's what I get, I don't think its related to runtime identifier because same code runs on different exact app services
The dreaded 500.3x ACNM error can mean different things, so I'm going to assist you in pinpointing those things.
My recommendation:
Go to Azure Portal > Your App Service > development tools
Open console.
Screen should look like this:
Console Screen Azure
Type in (YourWebAppName).exe
What this will do, is show error messages that are relevant to your startup issue.
Also, some information regarding errors can be seen here:
https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-3.1#app-startup-errors

500.79 Internal Server Error - The page cannot be displayed because an internal server error has occurred

When running my MVC website locally it works fine - the website uses 'Cloud - Single Organization' authorization.
Once I've deployed to Azure I get an error on the homepage saying 'The page cannot be displayed because an internal server error has occurred.'
When looking at the streaming logs in Azure I can see I'm getting an 'HTTP Error 500.79 - Internal Server Error'
Under the detailed error information, I get the following information:
Module: EasyAuthModule_32bit
Notification: AuthenticateRequest
Handler: ExtensionlessUrlHandler-Integrated-4.0
Error Code: 0x80004005
Under the detailed information I get the error:
Error Failed to download OpenID configuration from 'https://localhost:44378/.well-known/openid-configuration': Unable to connect to the remote server.
Does anyone know why this is happening and how to fix it?

how to debug error 500 Internal Server Error on an Azure App?

I got an "500 Internal Server Error - An error occurred while starting the application" after deploying my application: https://iidapp.azurewebsites.net/
I keep finding the following error message but I am unable to find out on msdn websites any information describing how I can specify the SAS URL
INFO: The app was working for a long period and I didn't have to set the SAS URL; I wonder why suddenly Azure is generating exceptions
INFO2: the app works perfectly on my local machine
Any help is welcomed as I couldn't find any solution by reading the related topics on stackoverflow
2017-04-05T18:51:32
System.ApplicationException: The trace listener AzureBlobTraceListener is disabled. ---> System.InvalidOperationException: The SAS URL for the cloud storage account is not specified. Use the environment variable 'DIAGNOSTICS_AZUREBLOBCONTAINERSASURL' to define it.
at Microsoft.WindowsAzure.WebSites.Diagnostics.AzureBlobTraceListener.RefreshConfig()
--- End of inner exception stack trace ---
An error was triggered by W3SVC-WP : {app name}02000780
I found out on eventid that the code 02000780 meant that a file was missing
I eventually found out that it was possible to log further information by enabling the stdoulog inside the web.config. Read When a .NET Core Azure App Service won’t start: 502.5 Process Failure
I opened the debug console and found out that a directory wasn't found https://{app_id}.scm.azurewebsites.net/DebugConsole
Voilà! I corrected the code and the app is up and running!

Config Error on different iis version?

I am getting the this error message
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Module: IIS Web Core
Notification: Unknown
Handler: Not yet determined
Error Code: 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
I have migrated a site from one server(iis6) to another(iis7) and when running on the new server I get the error in question. I cant seem to find a solution to this anywhere? Can anyone shed some light?

Resources