cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wrong node state: in 'onesdk_tracer_end'(CustomService): cannot exit a node that isn't top-of-stack

frederik_dangel
Visitor

Hi there,

 

in our fastapi (ASGI) application, I am tracing several custom async method calls within a contextmanager.
Unfortunately, I think there is a misshandling of trace ids since I can see yellow blocks in the dynatrace UI:

frederik_dangel_0-1674138194526.png

A diagnostic callback log prints the error "Wrong node state: in 'onesdk_tracer_end'(CustomService): cannot exit a node that isn't top-of-stack." How can this happen?
I am using:
oneagent-sdk==1.5.0.20221221.150433
autodynatrace==1.0.86

Thanks in advance
Frederik

3 REPLIES 3

ChadTurner
DynaMight Legend
DynaMight Legend

I'd recommend opening a support case if you are still having this issue. 

-Chad

Ana_Kuzmenchuk
Community Team
Community Team

Hey @frederik_dangel, were you able to fix the issue? We'd really appreciate it if you share the solution with the Community if you have one, in case anyone else is facing the same. Thanks! 

The only constant is change. Finding ways for great things to happen!

Shafer_rs
Frequent Guest

Hello. Were you able to find the cause of the problem and its solution? Can you share the solution?

Featured Posts