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

GetScripts timeout #2588


User avatar
0
pkut created

Hello!

Couple of times we have faced very strange and annoying behaviour. Our project deployed on Azure as an App Service. And accidentally our customers complained that they cannot login. We found that after successful login browser hangs on attempt to receive responce from /AbpScripts/GetScripts call. It waits for 3.8 min and failed with 500 error. 3.8minute is an Azure magic number - this is a time that single request allowed to run before it will be kicked off by the system. Complete service restart solves the problem. But we have no idea how to prevent this in the future. log4net logs are turned on and contains nothing (maybe we badly configured it in release mode). Any ideas will be very appreaciated.

Best regards Pavel.


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This is not normal and not acceptable. Do you use any cache mechanism ? Recently we got a similar issue and it was related to redis, <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1881">https://github.com/aspnetboilerplate/as ... ssues/1881</a>.

  • User Avatar
    0
    pkut created

    Hi,

    We have no external cache like Redis. As far as I understand nothing was customized to change scripts generation process or change user permissions processing..

    Best regards Pavel

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Have you checked azure's logs for this ? Maybe there is a useful information there ?

  • User Avatar
    0
    pkut created

    Unfortunately I've Azure logs that when checking the problem. So for now I've turned on all logging that possible and waiting for the next case. Thank you for help.

    Best regards Pavel.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Thank you for your feedback.