Monday, February 24, 2014

Re: Encrypted Alert message

TLS defines the alert protocol and alert code 21 means "Decryption failed", see: http://en.wikipedia.org/wiki/Transport_Layer_Security#Alert_protocol

Quoting wikipedia: 

"This record should normally not be sent during normal handshaking or application exchanges. However, this message can be sent at any time during the handshake and up to the closure of the session. If this is used to signal a fatal error, the session will be closed immediately after sending this record, so this record is used to give a reason for this closure. If the alert level is flagged as a warning, the remote can decide to close the session if it decides that the session is not reliable enough for its needs (before doing so, the remote may also send its own signal)."

So it can happen at any time. I guess you have to check log files (maybe increase log level) and maybe its worth a try to check if other TLS alerts are send before code 21 occurs. Might gives you hints about whats going wrong.

From a GWT point of view you can not do anything about it. You can only create a new connection to the server but that does not solve your problem.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment