Hosting Parse on Azure - Internal Server Error - azure

EDIT: I have enabled logging, here is the error in more detail:
Uncaught internal server error. { [MongoError: Authentication failed.]
name: 'MongoError',
message: 'Authentication failed.',
ok: 0,
code: 18,
I've been following the Microsoft Azure guide to setting up Parse on Azure, which is here.
I've completed the steps and have everything up and running, however, when I try to create a new account on my Obj-C app, I get the error [Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0).
I'm not sure why this happens, as I can see on Azure that I am getting multiple requests and HTTP errors.
Also the parse source I'm using is the one Azure have provided/forked, so maybe that's where the error is coming from?
Thanks.

The error is with your MongoDB authentication. Double check you followed the steps correctly for the Parse on Azure tutorial, so that there isn't any hard coded incorrect "username/password123" strings

Double check that the URI is correct. I had some issues when migrating. If you use the Parse Server Managed on Azure, it creates the server for you and you can check the Database URI structure there. (In the web app - application settings - DATABASE_URI)
You can also open the settings of the documentDB and check the URI settings there.
Another trick is that if you change the DATABASE_URI setting (in application settings) make sure you restart your web app.

Make sure you have added "/parse" at the end of your URL

Related

Azure deploy to a private endpoint-enabled site - scm connection error

I'm following this article in order to deploy the web app on azure with private endpoint: https://azure.github.io/AppService/2021/03/01/deploying-to-network-secured-sites-2.html. My understanding is that the access to scm service is not required but is it the case? If I'm wrong, is there any other way to deploy in this case without using VM?
Unfortunately I keep getting the forbidden error:
An error occured during deployment. Status Code: 403,
I've tested it from a VM with access to scm and it works fine there but I need to make it work from the machine without the access to scm.

app engine deploy with [13] Error processing user code

I download google official latest Node.js app engine demo and deploy to standard env, but this problem arises:
ERROR: (gcloud.app.deploy) Error Response: [13] Error processing user code.
Here is the demo url:
https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/appengine/hello-world/standard
Someone can take a look for me?
This error has happened before whenever the default App Engine service accounts gets deleted.
Please check that you have have it and it has been not modified.
In case you don't have it (it has been deleted), a workaround would be to use the Undelete API to restore the Default App Engine service account.
You will need to input your service account's unique numeric ID, which can be found in your console's activity logs.

Failed to encrypt sub-resource payload and the error is: Failed to encrypted linked service credentials on self-hosted IR

I am developing an ETL solution using .NET and Azure Data Factory to move data from an on-premises SQL Server to Azure. Self-hosted IR is set up correctly and is running on Azure Portal, but when I run the code I get this exception:
Failed to encrypt sub-resource payload and error is: Failed to encrypted linked service credentials on self-hosted IR reason is: InternalServerError, error message is: Internal Server Error..
ConnectionString for the on-premises SQL Server server is in plain text and not encrypted.
How can I fix this problem?
I found a solution myself, and it works. I hope it helps someone who also encounters the same problem.
You need to set the value for EncryptedCredential and don't need to set the Password property.
And set Connection String like this:

Parse On Azure - I'm getting "Error: Unauthorized"

When I try access e.g. myapp.azurewebsites.net/parse I get the error {"error":"unauthorized"}.
I'm not sure why as the parse web app I had previously on azure (before the trial ended - now deleted) worked fine. Since the trial has ended I have created a new web app identical to the last (different name however), using the same github deployment and app settings. I can't figure out where I've gone wrong and can't seem to find any advice online. Thanks!
So after digging it seems that they have configured the dashboard to be at the following url:
https://[YOURSITE].azurewebsites.net/parse-dashboard/
You can log in with your parse appid and masterkey.

Deploy module works fine, but deploy individual menu item gives error

While deploying menu Item I receive an error:
Server was unable to process request. ---> Setup encountered an error during deployment of the Role Center and Enterprise Portal framework.
But deploying whole module works fine.
Also importing page gives an error as well as follows:
Server was unable to process request. ---> startIndex cannot be larger than length of string.
Parameter name: startIndex
I've full control permission on sharepoint on that particular URL.
Check your event log. I found that I was getting an error regarding write permissions to the root site.
"You need write permission to the root web site at ...."
Check to see what account is on the app pool in IIS Manager. You can open the site using that account and add your account

Resources