[Python-Dev] TLSAbruptCloseError (original) (raw)
Jon Ribbens jon+python-dev at unequivocal.co.uk
Wed Jun 13 11:53:26 CEST 2007
- Previous message: [Python-Dev] TLSAbruptCloseError
- Next message: [Python-Dev] Patch reviews
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jun 05, 2007 at 12:55:07PM -0400, Todd Hopfinger wrote:
I am using TLS Lite and J2ME SecureConnection for the purposes of encrypting traffic to/from a Java Midlet client and a multithreaded Python server. However, I encounter a TLSAbruptCloseError. I have tried to determine the cause of the exception to no avail. I understand that it has to do with closenotify alerts. My abbreviated code follows.
It may or may not be your specific problem, but Microsoft SSL servers tend to just drop the TCP connection when they're done, rather than do a proper SSL shutdown. This tends to make errors such as the above, which you must then ignore.
- Previous message: [Python-Dev] TLSAbruptCloseError
- Next message: [Python-Dev] Patch reviews
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]