Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Constantly getting server errors on Microsoft Azure #2050


User avatar
0
maddey234 created

Hello,

I built an application with ABP v 1.12 and never had any issues when I was hosting/testing on my system. Immediately I hosted the application on Azure websites, I started getting these errors that just pop up and magically disappear as they please. The error messages are the same:

"An error has occurred. Error details not sent by the server"

Inspecting the error in the console log, the errors that are shot are:

  • Bad request:
  • Empty or invalid anti forgery header token

The funny thing is I don't need to do anything for the error to go away. I could try the action again and the error message could pop up again or the action goes without the error.

So what is wrong? Please help me?


5 Answer(s)
  • User Avatar
    0
    rvanwoezik created

    Hi Maddey,

    I have v1.13.0.0 on Azure, i don't get any errors. If you want you can check at <a class="postlink" href="http://www.phoogle.nl">www.phoogle.nl</a> (dev env.)

  • User Avatar
    0
    maddey234 created

    The errors just come and disappear at will. I do not want to have to go through the pain of upgrading the application to the latest versions of ABP.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @maddey234,

    As I understand, right now you dont have any problems on your development environment but you have this problem in azure, right ?

    If so, can you send your azure website's address to us, to <a href="mailto:[email protected]">[email protected]</a>. And if you create a test user for us to reproduce this problem it would be very nice.

  • User Avatar
    0
    maddey234 created

    I have sent a mail.

    I downloaded the .net core version and tried to follow the getting started process but after I download missing nuget packages I keep getting an error that access is denied to the "xxx\obj\debug\net461.sdkversion" file in all of the projects.

    Have I missed a step?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It seems there is a access problem in your environment, not related to the AspNet Zero solution. It does not require any special permission. You may need to run your Visual Studio as administrator or need to grant read/write permissions for the given path.