Error Login Azure Web App


#1

Hello, I’d like help with one thing.
I uploaded my application to Azure but when I try to login it returns me the message:
----------------------------------------------------
Operation failed
We are really sorry that something went wrong.
----------------------------------------------------
Someone help me?
Grateful!


#2

Can you check your logs please? And the following setting: https://docs.squidex.io/getting-started/configuration#login-screen-shows-operation-failed-message


#3

Thanks for the quick response!

Even configuring the “urls: baseUrl” file both “appsettings.Production.json” and the file “appsettings.json” and with the password following all safety recommendations continue with the same error!


#4

It is just one potential problem, but the log usually shows more information. You can also send me the logs if you want.


#5

Thank you for your help!
Where do I get these logs?


#6

I don’t know, it is specific to azure. Squidex just uses the stdout. I guess it also depends how you are hosting it. Docker, custom VM, WebApp.


#7

This is configured as web app, I am trying to get somehow to see these logs!


#8

I would have a look to your storage account.


#9

If you want, I can add you to the feature group so you can see how it is!


#10

After a Colombian Starbucks coffee package I have a solution!

The problem is that we just forget to set up an environment variable inside the azure which is located in: “Panel / webapp name / Application Settings” that refers to item 1.2 of the installation documentation within IIS
https://docs.squidex.io/getting-started/install-windows-iis

Thank you for your help and attention
Hugs!!!


#11

Great, are you referring to ASPNETCORE_ENVIRONMENT?

If you want to support me, it would be great to write an article for the docs how to host under Azure. :slight_smile:

Btw: If you need more than 4 starbucks per month to maintain your squidex instance, it could be cheaper to buy a subscription :wink:


#12

Exactly !

I’m putting together an article on how to host squidex in azure, I believe that tomorrow I’ll post it, I’ll share it with you as soon as it’s ready!

Glad to help!