Duplicate events
Problem
Here I create primitive example of server with socket.io with such stuff: - socket.io > 0.9.9 [code block] - node -v > v0.8.7 - https://github.com/Balloon/elephant.io _on x86_64 Linux_: Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise Kernel: 3.2.0-29-generic GCC version: 4.6 (x86_64-linux-gnu) [code block] And PHP-client like this: [code block] Here is the log of that server: [code block] So, every time php-client sends one message or emits event, it's duplicated on the server side :(
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Duplicate events
I have the same issue, but I'm listening to a file on the server instead of waiting for PHP to send the notification. Could you find anything to resolve your issue? Here is mine: https://github.com/LearnBoost/socket.io/issues/999
Trust Score
1 verification
- 1
I have the same issue, but I'm listening to a file on the server instead of wait
I have the same issue, but I'm listening to a file on the server instead of waiting for PHP to send the notification. Could you find anything to resolve your issue? Here is mine: https://github.com/LearnBoost/socket.io/issues/999
Validation
Resolved in socketio/socket.io GitHub issue #997. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep