Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Huge delay when an exception occurs

couellet's Avatar

couellet

21 Apr, 2011 11:39 AM

Hi,

I am having an issue, we tested it on another server and locally and it only happens on appharbor. When an unhandled exception occurs, it takes a huge delay before showing up, and if we try to access the webpage again, it just doesn't respond. But other users can access the website without any problems.

I don't know if there's a setting in the web.config that can causes that or if this is a known issue, I've looked through the support forum and did not find anything about this.

Maybe that's in our code, but we don't manage to find anything and like I said earlier it does not do that on our other server, neither locally.

Thanks,

Charles

  1. Support Staff 1 Posted by friism on 21 Apr, 2011 04:13 PM

    friism's Avatar

    We're aware of this problem (it has to do with logging the exceptions) and will be fixing it shortly. I'll post an update here.

  2. 2 Posted by couellet on 22 Apr, 2011 12:16 PM

    couellet's Avatar

    Thanks, I would like to add that I found a kind of workaround for the moment, it might be useful for other people

    In my Application_Error in Global.asax I added

    Server.ClearError() after logging it and doing the stuff I needed to

    Then it seems to not propagate to the apphb logging things

  3. 3 Posted by alalbers77 on 25 Apr, 2011 09:10 PM

    alalbers77's Avatar

    I too have noticed the huge response delay when an unhandled exception occurs.

    The Server.ClearError() workaround fixed the issue and now my custom error page shows up without delay.

    Thanks for the tip.

  4. Support Staff 4 Posted by rune on 25 Apr, 2011 09:47 PM

    rune's Avatar

    This issue is now resolved so you shouldn't experience the delay anymore and you should be able to see stack traces for your unhandled exceptions by following the "Errors" link from your application page.

    Let us know if this problem persists for you.

    Best,
    Rune

  5. rune closed this discussion on 25 Apr, 2011 09:47 PM.

  6. alalbers77 re-opened this discussion on 26 Apr, 2011 01:11 AM

  7. 5 Posted by alalbers77 on 26 Apr, 2011 01:11 AM

    alalbers77's Avatar

    Thank you very much! Works great now.

    Al

    On Mon, Apr 25, 2011 at 4:47 PM, Rune Sørensen <
    [email blocked]> wrote:

  8. friism closed this discussion on 26 Apr, 2011 01:27 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac