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

WSAStartup Error on Windows #377

Open
Victor-N-Suadicani opened this issue Mar 28, 2023 · 3 comments
Open

WSAStartup Error on Windows #377

Victor-N-Suadicani opened this issue Mar 28, 2023 · 3 comments

Comments

@Victor-N-Suadicani
Copy link

On Windows, I'm getting the following error log when creating a connection and channel in lapin, using it to publish and receive some messages and then letting the program reach the end of main.

[2023-03-28T11:48:05Z ERROR lapin::io_loop] error doing IO error=IOError(Os { code: 10093, kind: Uncategorized, message: "Either the application has not called WSAStartup, or WSAStartup failed." })

The log seems to happen at the end of main. I suppose it has to do with stopping some threads that lapin create but I don't really know.

@Keruspe
Copy link
Collaborator

Keruspe commented May 19, 2023

I don't know Windows enough to debug this sorry

@gy0801151351
Copy link

I can re-produce this issue on Windows following these steps:

  1. consume a queue.
  2. send Ctrl+C to console.

图片

@egargale
Copy link

Same error here. Compiled code for linux and windows. No error in Linux. In windows got:

 ERROR lapin::io_loop: error doing IO error=IOError(Os { code: 10093, kind: Uncategorized, message: "Either the application has not called WSAStartup, or WSAStartup failed." })

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

4 participants