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

Locking Up Asyncio Event Loop #75

Open
iwoloschin opened this issue Jun 30, 2023 · 2 comments
Open

Locking Up Asyncio Event Loop #75

iwoloschin opened this issue Jun 30, 2023 · 2 comments

Comments

@iwoloschin
Copy link

iwoloschin commented Jun 30, 2023

I'm trying to use this library from an asyncio application and it seems that sometimes it is somehow hard locking up asyncio's event loop, even when I'm taking care to run with asyncio.to_thread(). I don't have any great feedback beyond that, at some point after it establishes the connection the entire application locks up.

I do not have sanitized logs I can share publicly today, though I can create those next week. I'll also open up a discussion with my Keysight rep separately, but I wanted to post this issue here incase anyone from the community is also seeing these problems.

@iwoloschin
Copy link
Author

Looking into this a bit more the entire event loop is locking up when attempting to create a SessionAssistant. This is being done in a function properly threaded off with await asyncio.to_thread() so there's really no reason for the entire event loop to lock up.

@iwoloschin
Copy link
Author

Further investigation suggests an incompatibility with uvloop, though what exactly is wrong is still unknown.

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

1 participant