Hi. I have a custom onAuthenticate event on my server. Whenever Kaspersky is turned on, the event gets triggered 2 times. This throws a "Authentication failed. Already connected. Socket disconnected" warning.
Now to my question : is this something that can be solved with a TURN server ? I need to say that I've tested this on the same Mac with the antivirus turned off and it works without any issues. If not ... what can I do ?
Thank you.
[later edit]
I just tried the Simple Video+Audio demo and I can confirm the behavior. Here is the log I got from the server :
info - EasyRTC: Starting EasyRTC Server (v1.0.13) on Node (v0.10.26)
info - EasyRTC: EasyRTC Server Ready For Connections (v1.0.13)
warning - EasyRTC: Can not create connection which already exists: 'cMwPJ4jaLLsjc7ZUdSx7'
error - EasyRTC: [cMwPJ4jaLLsjc7ZUdSx7] General authentication error. Socket disconnected.
Stack Trace:
------------
Connection Warning: Can not create connection which already exists: 'cMwPJ4jaLLsjc7ZUdSx7'
at Object.appObj.createConnection (/home/www/web1/files/rtc_test/node_modules/easyrtc/lib/easyrtc_public_obj.js:2407:22)
at async.waterfall.connectionObj (/home/www/web1/files/rtc_test/node_modules/easyrtc/lib/easyrtc_default_event_listeners.js:258:20)
at fn (/home/www/web1/files/rtc_test/node_modules/easyrtc/node_modules/async/lib/async.js:582:34)
at Object._onImmediate (/home/www/web1/files/rtc_test/node_modules/easyrtc/node_modules/async/lib/async.js:498:34)
at processImmediate [as _immediateCallback] (timers.js:330:15)
------------
warning - EasyRTC: Attempt to request non-existent socket: 'cMwPJ4jaLLsjc7ZUdSx7'
warning - EasyRTC: Attempt to request non-existent socket: 'cMwPJ4jaLLsjc7ZUdSx7'
warning - EasyRTC: [easyrtc.audioVideoSimple][Uskgw4vpsExhNTcadSx6] Could not send WebRTC signal to client [cMwPJ4jaLLsjc7ZUdSx7]. They may no longer be online.
warning - EasyRTC: Can not create connection which already exists: 'RGxfJcBkh8oQlu6EdSx8'
error - EasyRTC: [RGxfJcBkh8oQlu6EdSx8] General authentication error. Socket disconnected.
Stack Trace:
------------
Connection Warning: Can not create connection which already exists: 'RGxfJcBkh8oQlu6EdSx8'
at Object.appObj.createConnection (/home/www/web1/files/rtc_test/node_modules/easyrtc/lib/easyrtc_public_obj.js:2407:22)
at async.waterfall.connectionObj (/home/www/web1/files/rtc_test/node_modules/easyrtc/lib/easyrtc_default_event_listeners.js:258:20)
at fn (/home/www/web1/files/rtc_test/node_modules/easyrtc/node_modules/async/lib/async.js:582:34)
at Object._onImmediate (/home/www/web1/files/rtc_test/node_modules/easyrtc/node_modules/async/lib/async.js:498:34)
at processImmediate [as _immediateCallback] (timers.js:330:15)
------------
warning - EasyRTC: Attempt to request non-existent socket: 'cMwPJ4jaLLsjc7ZUdSx7'
warning - EasyRTC: Attempt to request non-existent socket: 'RGxfJcBkh8oQlu6EdSx8'
warning - EasyRTC: Attempt to request non-existent socket: 'cMwPJ4jaLLsjc7ZUdSx7'
warning - EasyRTC: [easyrtc.audioVideoSimple][Uskgw4vpsExhNTcadSx6] Could not send WebRTC signal to client [cMwPJ4jaLLsjc7ZUdSx7]. They may no longer be online.
warning - EasyRTC: Attempt to request non-existent socket: 'cMwPJ4jaLLsjc7ZUdSx7'
warning - EasyRTC: [easyrtc.audioVideoSimple][Uskgw4vpsExhNTcadSx6] Could not send WebRTC signal to client [cMwPJ4jaLLsjc7ZUdSx7]. They may no longer be online.
warning - EasyRTC: Attempt to request non-existent socket: 'cMwPJ4jaLLsjc7ZUdSx7'
warning - EasyRTC: [easyrtc.audioVideoSimple][Uskgw4vpsExhNTcadSx6] Could not send WebRTC signal to client [cMwPJ4jaLLsjc7ZUdSx7]. They may no longer be online.
warning - EasyRTC: Attempt to request non-existent socket: 'RGxfJcBkh8oQlu6EdSx8'
warning - EasyRTC: [easyrtc.audioVideoSimple][Uskgw4vpsExhNTcadSx6] Could not send WebRTC signal to client [RGxfJcBkh8oQlu6EdSx8]. They may no longer be online.
Thank you