Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: Timeout in valhalla tries to run login scripts

  1. #11
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,671

    Default

    OK, I think I figured it out,

    We look for redirects from afterlife.php before we look for redirects to login.php.
    We think a redirect from afterlife is ascending into a new life - but redirecting to login is a timein.
    The solution is to do timein before looking for other kinds of redirect.

    Try revision 20465.

  2. #12
    Senior Member
    Join Date
    Oct 2017
    Posts
    636

    Default

    Try revision 20465.
    Originally Posted by Veracity View Post
    Can confirm valhalla is fixed now.
    Code:
            Welcome to Valhalla!
    Installing default certificate validation...
    Sending     login request...
    Requests complete.
    
    Preference bankedKarma     changed from 24018 to 24179
    But standard is still broken. When starting a new standard run it does not update restricted items before running the login scripts.
    On first manual visit to charsheet.php it does
    Code:
    Seeing what's still unrestricted today...
    Done checking allowed items.
    after which scripts work

    I am not sure if it is because of
    Code:
    Whack usage of api.php (which doesn't work in Valhalla) to avoid issues in Valhalla
    Or a coincidence and something else broke standard recently
    Last edited by taltamir; 10-14-2020 at 04:25 PM.
    ttpack = a collection of scripts by taltamir

  3. #13
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,671

    Default

    When you visit the charsheet, if you are now restricted but were not before, it marks that standard restrictions need to be reread.
    I'm not sure why that is, since it looks like the code reads standard restrictions when you log in and when you ascend.
    The charsheet is, literally, the only place that tells us if you are actually under standard restrictions.
    But, the charsheet is also read when you log in and when you ascend.
    That is done BEFORE your postAscensionScript is called - by the same method that had just refreshed your session, including reading the charsheet and standard.php.

    The api.php change had nothing to do with running code after you ascend.

    Revision 20468 should make reading the standard restrictions more robust.
    Next time you ascend, turn on DEBUG logging before leaving Valhalla.
    If it still doesn't work for you, post it here.

  4. #14
    Senior Member
    Join Date
    Oct 2017
    Posts
    636

    Default

    Will do. thank you

  5. #15
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,671

    Default

    Try revision 20469.

  6. #16
    Senior Member
    Join Date
    Oct 2017
    Posts
    636

    Default

    Try revision 20469.
    Originally Posted by Veracity View Post
    Thank you, I tested 20471 and can confirm the standard restriction issue is fixed now.

    Is 20469 supposed to improve the robustness of the timeout issue or the standard issue? It sounds like it is meant to address the timeout in valhalla issue. Should I retest it? (that bit was working as of 20465, but if 20469 changed how it is done I should retest it)
    Last edited by taltamir; 10-16-2020 at 03:37 PM.
    ttpack = a collection of scripts by taltamir

  7. #17
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,671

    Default

    It addressed ascending from Valhalla. Timeout in Valhalla was fixed earlier and remains fixed.

  8. #18
    Senior Member
    Join Date
    Oct 2017
    Posts
    636

    Default

    It addressed ascending from Valhalla. Timeout in Valhalla was fixed earlier and remains fixed.
    Originally Posted by Veracity View Post
    I see. well I can confirm that it also works
    ttpack = a collection of scripts by taltamir

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •