-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto reconnect #63
Comments
You should not need to do anything - Cursr should already reconnect on wake, if it does not means it's a bug. I'll see what I can find, from a quick test of trying to replicate the issue everything seems to be working as expected on my end, when one of the devices is put to sleep (macbook and PC as well) and woken up the devices reconnect without an issue. To help resolve the issue I will need ask you to enable Debug mode in settings of Cursr on both devices, recreate the issue by putting one of the devices to sleep, waking it up and check that they did not connect. If by any chance during manual attempt they will reconnect successfully - try leaving Debug mode on and let one of devices to go to sleep on it's own due to inactivity. Then when reconnect fails send me 'Compressed Logs' (next to Debug setting) from both devices to [email protected] |
I've sent an email with logs from both my device and I've also describe another issue (seem like it), please look into it too. |
I'm getting the same issue. Everything works great until both computers go to sleep. Then I have to manually go in Cursr and press the connect button. I attached my log. |
@BillyLavoie just fyi, I've downloaded the logs for debugging and removed them from your comment on purpose. It's better that logs don't get shared in public |
Think I got this fixed, will release it with update 1.7.2 soon, let me know once the update is out if it helped |
Unfortunately I still have the same issue. I made sure I had 1.7.2 installed on both and made sure I restarted both computers |
I am also having this issue on 1.7.2. I am testing the software prior to subscribing. If my Macbook goes to sleep, then I have to reconnect on both nodes. Then everything works again. This is the only thing that is making me not subscribe at this point. I will be happy to provide any troubleshooting help necessary. |
I'll continue trying to replicate the issue in different setups, the one I was able to replicate in <=1.7.1 is resolved for me with 1.7.2, but it wasn't a solution for all then. I'll provide an update when one will be available |
I experience the same behavior. I have 1.7.2 running on both a Mac and a PC. When one goes to sleep, it does not re-connect on wake. I have to manually click the reset button in the UI, then it works fine. |
On my Windows 11 PC, if it goes to sleep, Cursr does not reconnect. When I wake my PC, it does take a while for the network to reconnect, so that might be one issue, but when the network reconnects, Cursr doesn't try to reconnect. Attempting to reconnect from my PC usually doesn't work, so I swap my mouse/keyboard to my macOS computer, which doesn't go to sleep automatically, and attempt a reconnect from there, which is successful. |
New fixes/adjustments related to connection establishment is available in 1.7.3 beta (enable Early Access in settings), let me know if this has helped with the connection issues on wake or if the issue still persists |
@anthonypants see if this reoccurs again. Could it have been that mac had the older version? If Windows was on newer version but Mac was still using old, Windows would have rejected the connections - and Mac due to not getting response back in time on the 'vote' would have thrown that issue (I saw this when running different versions of Cursr). Version 1.7.3-prerelease.2 is only compatible with itself and higher due to minor changes in communication format/data change |
Okay, I'll have a look |
@anthonypants the issue of trying to manually reconnect should be fixed with released 1.7.3-prerelease.3 as for the braodcast issue - I'm still looking into it |
Cursr simply uses node.js dns to see if site like google.com is reachable, because if that fails then the update check will also fail. So the problem is likely not directly in Cursr but in packages used + maybe network setup. But I also have multiple network interfaces and that causes no issues. Can I ask you to send me 'compressed logs' from the settings > general > debug to [email protected]? It may show more errors that happen before the ones you see on-screen, especially with the broadcast issue as so far I was unable to replicate it. Another question - do you by any chance use any software that may be blocking incoming/outgoing requests? I don't remember the name of it but one user used something like that and for some reason even tho Cursr was allowed it was still blocking one specific request required for initial connection between devices. |
prerelease.5 is now published and contains further improvements related to connection between devices, let me know if the issue persists |
From 1 feedback looks like the issue persist |
prerelease.6 published with likely fix to the issue |
@mkarr @BillyLavoie @hoangthai2171 @muzicman0 @anthonypants Anyone had a chance to try out 1.7.3-prerelease.6 and can confirm if issue is resolved for you or is still occurring? |
For me, the behavior is much improved. |
I just tried it and it seems to be perfect so far. But it's only been 2 days. |
Just installed earlier today. Didn't realize I needed to enable the early access, but once I did and it installed, it seems to be good. |
Spoke too soon. It works fine as long as I don't leave home with my Mac. But once I leave my house, and come back, both my PC and Mac show an 'Unsaved' profile and don't connect. I then restart the software on the Mac and they connect right away and my 'Home' profile is active. |
@muzicman0 On Mac when KVM is not connected, do you have a setup as well? Or you don't have a setup for single device meaning that 'unsaved' profile is expected and issue is only in that it does not reconnect? Does PC have a setup/profile for when it's not connected to other devices? When you come back, do you wake your devices from sleep/hibernation or do you start them up because they were shut down? When you leave, does that include taking Mac with yourself (meaning while you're not at home you may connect it to other networks) or does it stay at home (so while you're gone nothing else is happening on the device)? Answers to above questions may help me understand what is happening and I will try to reproduce it, however if you're up to it, an even more useful thing would be logs if you can:
|
On Mac when KVM is not connected, do you have a setup as well? Or you don't have a setup for single device meaning that 'unsaved' profile is expected and issue is only in that it does not reconnect? Does PC have a setup/profile for when it's not connected to other devices? (I tested both of the above by simply clicking the 'Disconnect' icon in Cursr. Not sure if that is the way to test or not. When you come back, do you wake your devices from sleep/hibernation or do you start them up because they were shut down? When you leave, does that include taking Mac with yourself (meaning while you're not at home you may connect it to other networks) or does it stay at home (so while you're gone nothing else is happening on the device)? I will try to get the logs when I can, but it might take me a while. |
Okay no rush with the logs - whenever you'll be able to. In meantime I'll find some time and try to replicate the issue, see if I can figure anything out |
I've a two computer setup (macbook and PC), usually when one of the devices go to sleep when I AFK (bathroom, food, etc..) the app get disconnected on both devices. When I wake them both to work again I have to open the Cursr app and click connect again and this is kind of annoying to do so.
How about an option in Settings to allow automatically reconnect when both devices are available on the network again, it would be great.
I used to use ShareMouse app (same purpose of using this but your app works better and smoother :) ) and get this idea from them.
If this is already included in Cursr please guide me how to do it, thank you.
The text was updated successfully, but these errors were encountered: