Closed musicalnerd closed 3 years ago
I could look to build some fault tolerance into the netcode so that if a connection is dropped it can try to reconnect periodically, would that solve your issues?
The server is already built to continue listening for future connections if the connection is dropped, but if the connection freezes then it will time out based on default TCP timeout which is 72 seconds I think.
The software itself shouldn't drop a connection for any reason.
Hi Dan,
I was thinking about it, it's not the software, i think it's if the connection on the 2nd PC drops, the server stops being able to receive information and you need to restart the main rekordbox PC and restart the server. That's the issue, is there a workaround?
Thanks!
Frank
On Wed, Jul 21, 2021 at 5:14 PM Unreal-Dan @.***> wrote:
I could look to build some fault tolerance into the netcode so that if a connection is dropped it can try to reconnect periodically, would that solve your issues?
The software itself shouldn't drop a connection for any reason.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Unreal-Dan/RekordBoxSongExporter/issues/7#issuecomment-884504234, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARALG3FZQTSNHMVKDFKLIG3TY42CNANCNFSM5AN4GM3Q .
Sorry for the delay I totally missed this reply, unfortunately if the connection is just dropping from spotty connectivity then the connection will freeze as per TCP connection rules and timeout for 72 seconds.
There's really not much I can do without overhauling the server into a multithreaded model that would allow it to accept more connections while one is still active. Perhaps I will consider this in the future but it's definitely not a priority.
Your best bet might actually be to try and write a script/program yourself that can: 1) ping google.com to check network connectivity 2) kill the server if network dies 3) re-launch the server
This is probably not too hard with a simple batch file and some googling
I totally understand, way too complicated. I found a work around, i now instead use window's internal shared network drive and i take the output files from the local network connection rather than via server mode; my wifi connection isn't always the best at home this is a good enough work around. You can close the ticket!
On Wed, Sep 29, 2021 at 2:19 AM Unreal-Dan @.***> wrote:
Sorry for the delay I totally missed this reply, unfortunately if the connection is just dropping from spotty connectivity then the connection will freeze as per TCP connection rules and timeout for 72 seconds.
There's really not much I can do without overhauling the server into a multithreaded model that would allow it to accept more connections while one is still active. Perhaps I will consider this in the future but it's definitely not a priority.
Your best bet might actually be to try and write a script/program yourself that can:
- ping google.com to check network connectivity
- kill the server if network dies
- re-launch the server
This is probably not too hard with a simple batch file and some googling
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Unreal-Dan/RekordBoxSongExporter/issues/7#issuecomment-929871234, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARALG3GVAHIOJU5SONVUZZLUEKVVVANCNFSM5AN4GM3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
ah yes I once suggested this to somebody before the server existed but they cited how windows 10 often has issues with shared folders from windows 7/8 not appearing -- which I experienced a lot myself too.
Glad you could resolve it and glad my software has continued to be useful
Hi!
It works well but sometimes the connection is lost in server mode and there's no way to "restart" the link between the 2 machines other than closing rekordbox & the server which is possible during a live stream.
Is there a work around?
Thanks!
Frank