stream-pi / client

Stream-Pi Client
GNU General Public License v3.0
267 stars 25 forks source link

Raspberry client - Getting "Failed at readUTF" after upgrading to Windows 11 #80

Closed ezerusso closed 3 years ago

ezerusso commented 3 years ago

Hi,

After upgrading my PC to win11 preview edition, I am getting an error at the Raspberry client stating: "Alert - Accidentally disconnected from Server! (Failed at readUTF)".

> On the server (pc) side the last line I read is:


Jul 01, 2021 7:45:38 AM com.stream_pi.server.connection.MainServer run INFO: Starting server on port 2005 ... Jul 01, 2021 7:45:54 AM com.stream_pi.server.connection.MainServer run INFO: New client connected (/192.168.0.215:35184) ! Jul 01, 2021 7:45:54 AM com.stream_pi.server.connection.ClientConnection initAfterConnectionQuerySend INFO: Asking client details ...


Is there something I should try downgrading on my server side to see if I recover compatibility? maybe Java or something?

Thanks in advance and congrats for such a good development!

rnayabed commented 3 years ago

Send both client and server log. They are inside the Stream-Pi folder in home directory of user.

Also which version are you using?

ezerusso commented 3 years ago

Sure!

Server - version 1.0.0 - Windows - Early access.

Client: 1.0.0 - Linux Early Access. Java 11.0.11 | JavaFX 17-internal

streampi-server.log stream-pi-client.log

ezerusso commented 3 years ago

This is the deepest I get with the erorr:

[Thread-3] :: com.stream_pi.client.connection.Client @ run -> :SEVERE = com.stream_pi.util.comms.Message; local class incompatible: stream classdesc serialVersionUID = 1544200817378119061, local class serialVersionUID = 2004200019671976

rnayabed commented 3 years ago

This is happening because you're using different versions of streampi client/server together, which isn't supported.

Use both EA+3 server and client.

It looks either server or client is EA+2.


From: ezerusso @.> Sent: Friday, July 2, 2021 12:25:38 AM To: stream-pi/client @.> Cc: Debayan Sutradhar @.>; Comment @.> Subject: Re: [stream-pi/client] Raspberry client - Getting "Failed at readUTF" after upgrading to Windows 11 (#80)

This is the deepest I get with the erorr:

[Thread-3] :: com.stream_pi.client.connection.Client @ run -> :SEVERE = com.stream_pi.util.comms.Message; local class incompatible: stream classdesc serialVersionUID = 1544200817378119061, local class serialVersionUID = 2004200019671976

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/stream-pi/client/issues/80#issuecomment-872476353, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGERF5OEJKJEPJYSGJ2L46TTVS22VANCNFSM47UIENEA.

rnayabed commented 3 years ago

Most probably the server you're using is ea+2 while the client is ea+3

ezerusso commented 3 years ago

Yes Sir, it solved by upgrading the Server side installation. Thank you for your time.