Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framer unable to receive heartbeat from libary and disconnect #496

Open
DewBubble opened this issue Oct 10, 2023 · 1 comment
Open

Framer unable to receive heartbeat from libary and disconnect #496

DewBubble opened this issue Oct 10, 2023 · 1 comment

Comments

@DewBubble
Copy link

I ran tests with artio engine, sending 20k FIX Messages per second and generated fake response messages at the same rate. However, Framer disconnect from library after a few seconds. I printed out heart beats and management messages:

[library_management]Timing out connection to library.

It is strange that library able to receive heart beat from Framer, but Framer unable to receive heart beats from library after a while.

@mcsimk
Copy link

mcsimk commented Oct 2, 2024

We had very similar issue, until we noticed we are using two different threads to access Session objects. In our case it was one thread that AgentRunner was running on to process incoming requests, and one more thread running a scheduled job to send outgoing requests. Once we refactored it to only have Session accessed by one thread, the issue was gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants