Comments (4)
Thanks for taking your time to document this behaviour and make me aware of it.
Indeed, it is an upstream issue so we are not able to fix it directly. I think it is a good idea to simply document this behaviour in lieu of a proper fix. This way, Windows users have a chance to avoid this apparently common issue with the ProactorEventLoop
. I don't think that we should force a specific event loop implemention on our Windows users. Let them keep their choice of event loop and simply raise awareness of the issue instead.
I suggest that we add a "Note for Windows Users" section to the Readme.md file that explains this issue and the possible work-arounds. Maybe mention both SelectorEventLoop
and uvloop
just to give our users some choice. How does that sound to you?
Do you want to make a pull request or should I just go ahead and implement the change?
from aiomqtt.
from aiomqtt.
Great! :) I'll go ahead and document the behaviour when I have the time.
Thanks for reporting the issue. Please let me know if you encounter more strange behaviour like this.
from aiomqtt.
I had the same issue. Took me a while to get to this point because the error thrown from on_socket_open doesn't really show what type of error is thrown.
It only says:
Caught exception in on_socket_open:
from aiomqtt.
Related Issues (20)
- AttributeError: module 'aiomqtt' has no attribute '__version__'
- session persistence with protocol version 5 HOT 1
- Pin Paho to <2.0 HOT 2
- Make aiomqtt compatible with paho v2 HOT 10
- Topic.matches should be used when doing == HOT 4
- How to get the IP of a failed connection attempt
- strange reconnection HOT 2
- MQTT broker reports a disconnection/reconnection... but no aiomqtt.MqttError is raised HOT 4
- Exceptions on __aenter__ not handled. HOT 2
- Reconnect Bug HOT 1
- Cannot instantiate a client due to internal mqtt problem HOT 2
- Issues with uvicorn on Windows 10 HOT 5
- [BUG] Cannot install version 2.0.0 with paho-mqtt 2.0.0 HOT 2
- [BUG] 127.0.0.1/localhost Work Incorrectly HOT 3
- Do not send messages for a long time mqtt automatically disconnects HOT 1
- Can't read incoming messages in pytests HOT 8
- No convenient way to get message without getting locked into a for loop HOT 2
- Can aiomqtt queue has a ring buffer option, for high frequense in-comming messages? HOT 1
- Is it necessary to support mqtt connection pool?
- Operation timed out HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiomqtt.