socket.disconnect() can be used only on the client side, not on the server side. After upgrade to kafka-python 1.3.1, I get these errors 2-5 times an hour: Based on just the error message, I'm not sure why this happens or does the producer lose messages or not. Two computers are connected by socket connection. to keep a list of connected sockets bound to around), so it was pretty annoying to me that I suddenly had sockets that were not connected (because another middleware rejected them), never had disconnect called and forever had connected=true. How do I convert a String to an int in Java? Find centralized, trusted content and collaborate around the technologies you use most. Troubleshooting for all Scanners & Writers - Socket Mobile Hi @ventaquil. Destroy socket.io connection when disconnect, I can't disconnect my socket.io test server, Disconnect the current url of a popup and change to a new url, how to disconnect socket on session expire, Send message to specific client with socket.io and node.js, Differences between socket.io and websockets, How to send a message to a particular client with socket.io, Node.js: socket.io close client connection. exemple: Making statements based on opinion; back them up with references or personal experience. 8. Are there tables of wastage rates for different fruit and veg? However, after running for a while, the createSocket method fails and keeps failing every time it is called. I have code that relies on the socket emitting the disconnect event to prevent duplicate ips-- users who reload my app quickly get blocked because the disconnect even never fires! Having the same issue here. Type of Light Source: Halogen. By clicking Sign up for GitHub, you agree to our terms of service and So, regular clustering is probably not so good for this type of issue. Test a particular TLS version: s_client -host sdcstest.blob.core.windows.net -port 443 -tls1_1. To reproduce: curl "
socket disconnect issue