I'm trying to use Azure Mobile Apps and Azure Storage to build a backend for my Xamarin.Forms app. I created everything in Azure (Mobile Service, Storage Account, ConnectionString, etc.) and downloaded the default project of the backend (as I chose C# as language) and of the Xamarin.Forms app.
Then I debugged locally the project of the backend and was working, so I published it. When I tested the Web API with the default Xamarin.Forms app, the server returned an exception (500 Internal Server Exception) with the message "An error has occured.". After that I tried to enabled server log, remote debug and xml log files, but I didn't find much.
The remote debug showed that nothing was wrong with the "visible" backend code (no exception was thrown when debugging).
The xml log files showed a Warning in an OWIN method, but no errors.
The server log showed two errors in GET requests:
azure-log.txt
Obs. I removed my app service name and replaced with "{servicename}".
I already tried to delete and re-create all Azure services, already tried to change from http to https and tried to change the connectionString to other values. But I did these changes only after trying to debug the default projects without any success.
I'm trying to solve this error for a while and I don't know anything more that I could do.
Thanks for the help!