<@U08CKJH7C12> <@U07B55XLG2V> This is insane, the ...
# agents
f
@refined-appointment-81829 @tall-belgium-91876 This is insane, the egress didn't stop since the last 3 days and has already cost us more than $50. Trying to close it with:
Copy code
async def stop_egress():
    lk_api = api.LiveKitAPI(
        url=os.getenv("LIVEKIT_URL"),
        api_key=os.getenv("LIVEKIT_API_KEY"),
        api_secret=os.getenv("LIVEKIT_API_SECRET"),
    )

    try:
        stop_response = await lk_api.egress.stop_egress(
            StopEgressRequest(egress_id=egress_id)
        )
        print(f"Egress stopped successfully: {stop_response}")
    except Exception as e:
        print(f"Error stopping egress: {e}")
    finally:
        await lk_api.aclose()
But it says:
Copy code
Error stopping egress: TwirpError(code=not_found, message=object cannot be found, status=404)
When the egress is clearly present on the dashboard. This one is serious, if this goes on it will cost us more, how to kill the egress and prevent this from happening in future.
Similar response when trying to stop it with cli:
Copy code
~ % lk egress stop --id EG_jyzoU3xJFrv9
Error stopping Egress EG_jyzoU3xJFrv9 twirp error not_found: object cannot be found
twirp error not_found: object cannot be found
t
it looks like it ended
Oct 23, 2025 at 16:13:20.514 UTC
. we had an issue with analytics late last week that caused some delays in the dashboard. that should be resolved soon. billing will be reconciled as well.
f
Sure, this will be reconciled?
👍 1
t
yes. that should be resolved now. let me know if not
f
Hi @tall-belgium-91876, seems like egress duration got fixed!
But the billing is still the same?
By same I mean it went up when it should go down, right?
t
are you saying that you don't think you used 3200+ extra egress minutes? do you have a few more examples? the one you gave above seems to have been reconciled on both the egress and the billing page
f
Let me check with the backend team to calculate how many minutes we have used this month, I'll get back to you.
👍 1
So @tall-belgium-91876, this month we used
2653 minutes
not 3.241 minutes.
t
where are you getting that number from?
f
That's the summation of interview duration happened this month.
t
but when i look at your billing page, it looks like you had more than that right?
f
Yes, in billing it says more than that
t
ok. so i think the best thing to do is to figure out why there is a discrepancy
if you can find a few examples, that would be most helpful
f
Examples like?
t
yeah examples of where you see a difference between your calculation and what you see in the dashboard
f
I think, this is the first time it's happening. The analytics issue last week caused doubt that made me look into the billing and just expected we were billed for duration that we never used.
Do you want something from my side like project id to check from your backend if those durations are actual and not just a discrepancy caused by the issue.
t
as far as we can tell the current numbers are accurate. so if we can find one or two example sessions that don't align with your internal numbers, that would be most helpful