java error in game launcher | #linux | #linuxsecurity


Game is “Haven and Hearth”, programmed in java, uses its own client (not browser).  Played fine on this computer a couple of years ago, retired it, recently brought out of mothballs, updated drivers, AV, etc., removed old java and installed new, all working well …except … when trying to start H&H, loader gets about halfway done and aborts with a popup window titled “Loader Error!” containing this:

 

java.lang.RuntimeException: javax.net.ssl.SSLException: javax.crypto.AEADBadTagException: Tag mismatch!
   at haven.launcher.Driver.execute(Driver.java:91)
   at haven.launcher.Driver.run(Driver.java:108)
   at haven.launcher.Driver.main(Driver.java:193)
Caused by: javax.net.ssl.SSLException: javax.crypto.AEADBadTagException: Tag mismatch!
   at sun.security.ssl.Alert.createSSLException(Unknown Source)
   at sun.security.ssl.TransportContext.fatal(Unknown Source)
   at sun.security.ssl.TransportContext.fatal(Unknown Source)
   at sun.security.ssl.TransportContext.fatal(Unknown Source)
   at sun.security.ssl.SSLTransport.decode(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.readApplicationRecord(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.access$300(Unknown Source)
   at sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)
   at java.io.BufferedInputStream.read1(Unknown Source)
   at java.io.BufferedInputStream.read(Unknown Source)
   at sun.net.www.MeteredStream.read(Unknown Source)
   at java.io.FilterInputStream.read(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
   at haven.launcher.Cache.update0(Cache.java:270)
   at haven.launcher.Cache.update(Cache.java:332)
   at haven.launcher.Resource.update(Resource.java:69)
   at haven.launcher.Driver.execute(Driver.java:48)
   … 2 more
   Suppressed: javax.net.ssl.SSLException: javax.crypto.AEADBadTagException: Tag mismatch!
      … 21 more
   Caused by: javax.crypto.AEADBadTagException: Tag mismatch!
      at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:620)
      at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1116)
      at com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:1053)
      at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:941)
      at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:491)
      at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:779)
      at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
      at javax.crypto.Cipher.doFinal(Cipher.java:2463)
      at sun.security.ssl.SSLCipher$T12GcmReadCipherGenerator$GcmReadCipher.decrypt(Unknown Source)
      at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(Unknown Source)
      at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
      … 17 more
   Suppressed: javax.net.ssl.SSLException: javax.crypto.AEADBadTagException: Tag mismatch!
      … 21 more
   Caused by: javax.crypto.AEADBadTagException: Tag mismatch!
      at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:620)
      at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1116)
      at com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:1053)
      at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:941)
      at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:491)
      at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:779)
      at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
      at javax.crypto.Cipher.doFinal(Cipher.java:2463)
      at sun.security.ssl.SSLCipher$T12GcmReadCipherGenerator$GcmReadCipher.decrypt(Unknown Source)
      at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(Unknown Source)
      at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
      … 17 more
Caused by: javax.crypto.AEADBadTagException: Tag mismatch!
   at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:620)
   at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1116)
   at com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:1053)
   at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:941)
   at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:491)
   at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:779)
   at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
   at javax.crypto.Cipher.doFinal(Cipher.java:2463)
   at sun.security.ssl.SSLCipher$T12GcmReadCipherGenerator$GcmReadCipher.decrypt(Unknown Source)
   at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(Unknown Source)
   at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
   … 17 more

 

I have posted this in the game forums and the devs say they’ve no idea what it means and can’t help unless they could duplicate the problem at their end.  I’ve searched what seems the operative issue – “javax.crypto.AEADBadTagException: Tag mismatch!” –

and everything is either highly technical developer discussions (stackoverflow.com)  and entirely over my head, or specific to Linux or ubuntu.  I have tried temporarily disabling AV and firewall, to no avail.  According to test sites, java in my browser is working, though I’ve no idea how that may relate to my problem.  And it isn’t a router/modem issue, my dieing laptop can access the game.

 

Hoping there is some java savvy person here to shed light on the problem.

Edited by originaljgf, Today, 02:39 AM.





Original Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

+ seventy six = eighty two