RetGal / Dayon

Dayon! - A cross-platform remote desktop assistance solution for your family and friends
https://retgal.github.io/Dayon/
GNU General Public License v3.0
146 stars 45 forks source link

Protocol error #123

Closed Gert-Vanhaerents closed 4 months ago

Gert-Vanhaerents commented 4 months ago

Is your feature request related to a problem? Please describe. On the host (assistant computer): The program has encountered a communication error [Protocol error!] On the client (assisted computer): Connected - happy session!

But i can not take over anything, no visual because this error.

Describe the solution you'd like How to resolve this error

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Schermafdruk van 2024-03-04 14-27-44

Schermafdruk van 2024-03-04 14-23-47

Schermafdruk van 2024-03-04 16-12-48

RetGal commented 4 months ago

Which version 13.0.x from which release channel (installer/snap/nix/flatpak/deb/tgz/quick_launch/jar) is the assistant running? In case of a snap, please include the build number as well - it's visible in the system information: grafik

Gert-Vanhaerents commented 4 months ago

Schermafdruk van 2024-03-05 10-21-07

Version 13.1.0 but there is no build version it was the version with the repositories. Now i have installed the 13.0.2 flatpak version. But same problem. Schermafdruk van 2024-03-05 10-33-05

Gert-Vanhaerents commented 4 months ago

On my other computer i have Windows 11 and Dayon V13.0.2 but same problem. When i do a open port check the port is open when dayon is listening for incomming. The same on the other computer (Linux and also version V13.0.2, and tried also with V13.1.0).

RetGal commented 4 months ago

Ok, thanks for the information, I will investigate that.

One odd thing is, that v13.1.0 should only be available as snap on the "edge" channel and as ppa nightly build - as it isn't released yet.

Or did you build it by your own?

RetGal commented 4 months ago

Ok, I could reproduce the issue: it occurs, if the assisted runs the newer version than the assistant.

Compatible Assistant v13.1.0 <-> Assisted v13.0.X

Incompatible Assistant v13.0.X <-> Assisted v13.1.0

Workaround Downgrade the Assisted version to v13.0.2 as version v13.1.0 isn't released yet. snap refresh dayon --channel=stable

I'll try to release the new version within this week!

Gert-Vanhaerents commented 4 months ago

I have tested now with Assistant V13.0.2 and Assisted V13.0.0 and that works. Also with Assistant V13.1.0 and Assisted V13.0.2 it works, even with Assistant V13.0.2 and Assisted V13.0.2 like you said.

About the version V13.1.0, it's with the repository (ppa:regal/dayon) and upgrated with the normal Linux updates, so not with nightly or own builds.

RetGal commented 4 months ago

Thanks for the clarification! Indeed, the ppa also builds on every commit to the master branch - same as the snap edge channel. And there's not much I can do about it - except avoiding breaking changes, which sometimes isn't really feasible :(

RetGal commented 4 months ago

@Gert-Vanhaerents the new version v14.0.0 is released and already available on Github, sourceforge and snapcraft. Within some hours the new release will also be available on flathub and a bit later it will appear in the Microsoft store and the ppa as well.