Closed dawalters1 closed 2 years ago
from which version to upgrade to the latest version?
@doghappy I went from 2.2.1 to 3.0.5 (Connecting to server using 4.4.1)
I went back as far as 2.3.0 and it doesnt appear to detect the servers client.disconnect() event either
Right after making a mock up V4 server myself, I am in-fact able to detect the 'io server disconnect' event, so I am unsure what is actually happening, the service that I am connecting to has a load balancer that disconnects clients every hour, which is when the issue occurs, and the disconnect is not detected.
Thanks for your service, but I don't know how to connect it, do I need a token or something?
and then: how fired for 'io server disconnect' event
You can send it by mail, thanks :)
I guess that information would of been useful to post now wouldn't of it.
I have sent you a code snippet
Sorry,I've been busy, free until now.
I've reproduced it last week, but today when I try to fix it, it seems that the token is not avaliable?
Nothing has changed as far as i am aware
Would you mind emailing me your code
have you tried with the latest code?
Connected To V3 Server
Recieved Packet - welcome
Disconnected From V3 Server -$transport close
Connected To V3 Server
Recieved Packet - welcome
that's my logs
Using the samples project i was also able to get the hourly disconnect as well now 👍🏻
Recently updated to the latest version of this package, and am no longer receiving onDisconnect events for 'io server disconnect'
- Close event was received - Nothing in console - Code is clearly setup to post disconnect