Skip to content

AO distance and ebooking issue

Issue started on Friday 14.7 and continues until 20.7. Basically there was two kind of issues: Distance calculation and ebooking.

  • Users has problem with calculating distance for trips. And because they cannot calculate distances they cannot close trips and make invoices.
    • Distance didn't calculate automatically for trip, users need to calculate trips manually, and that probably didn't work for each trips.
  • Noticed that there was almost 1900 distance that aren't calculate on last Friday-Sunday.
  • How to investigate:
    • looking at log for DistanceServer and DistanceCalculator. That needed to be small, like under 15.
Checking timeout for 1 distance queries currently in process...
    • Not sure, but those distances which aren't calculate will be found in attracs, and those need to put on recalculation using client.
    • Restart all servers
    • check ptvx services (xroute), and restart it. Didn't found anything in ptvx logs. (xserver\xroute\log)
  • Ebooking issue, at least ferry bookings didn't go through

    • Found that mainserver log is full of spamming about that:
2023-07-20 14:32:42:589 (8748) An unexpected unknown error occured when trying to generate ferry booking 483454097.: Unable to access member TPlanMission.CombinationUnits: TPlanMission is not assigned!
2023-07-20 14:32:42:683 (8748) [EXCEPTION] Raised EBold: Unable to access member TPlanMission.CombinationUnits: TPlanMission is not assigned!. At Location BoldSystem.InternalRaise (BoldSystem.pas:4818)
  • Cause is that one booking didn't go through and then mainserver cannot do anything else, because it spams that exception
  • Solution was remove that ferryticket
We could remove this ferry booking from FerryPool.buffBookingRequests with object inspector, so main server should stop trying to generate request for this object