Re: [ovs-dev] [PATCH] Shutdown SSL connection before closing socket

2019-07-11 Thread Terry Wilson
Sorry about that. The dangers of multiple windows and multiple ovs directories. "Why is this passing for me?!" Oh... The new patch just ignores all SSL errors like lib/stream-ssl.c's ssl_close() instead of just the want read/write. On Wed, Jul 10, 2019 at 2:59 PM Ben Pfaff wrote: > On Wed, Jul

Re: [ovs-dev] [PATCH] Shutdown SSL connection before closing socket

2019-07-10 Thread Ben Pfaff
On Wed, Jul 10, 2019 at 11:07:16AM -0500, Terry Wilson wrote: > Without shutting down the SSL connection, log messages like: > > stream_ssl|WARN|SSL_read: unexpected SSL connection close > jsonrpc|WARN|ssl:127.0.0.1:47052: receive error: Protocol error > reconnect|WARN|ssl:127.0.0.1:47052:

Re: [ovs-dev] [PATCH] Shutdown SSL connection before closing socket

2019-07-10 Thread Terry Wilson
from __future__ import print_function import sys from ovs import jsonrpc from ovs import stream from ovs.unixctl import client URI='ssl:127.0.0.1:6641' PRIV='sandbox/ovnnb-privkey.pem' CERT='sandbox/ovnnb-cert.pem' CACERT='sandbox/pki/switchca/cacert.pem'

Re: [ovs-dev] [PATCH] Shutdown SSL connection before closing socket

2019-07-10 Thread Mark Michelson
On 7/10/19 12:11 PM, Terry Wilson wrote: An example of a reproducer script attached. If you enable SSL and OVN w/ the sandbox and run it, looking in the sandbox/nb1.log you'll see the disconnect errors that the patch makes go away. Hi Terry. It looks like the mailing list has eaten your

Re: [ovs-dev] [PATCH] Shutdown SSL connection before closing socket

2019-07-10 Thread Terry Wilson
An example of a reproducer script attached. If you enable SSL and OVN w/ the sandbox and run it, looking in the sandbox/nb1.log you'll see the disconnect errors that the patch makes go away. On Wed, Jul 10, 2019 at 11:07 AM Terry Wilson wrote: > Without shutting down the SSL connection, log

[ovs-dev] [PATCH] Shutdown SSL connection before closing socket

2019-07-10 Thread Terry Wilson
Without shutting down the SSL connection, log messages like: stream_ssl|WARN|SSL_read: unexpected SSL connection close jsonrpc|WARN|ssl:127.0.0.1:47052: receive error: Protocol error reconnect|WARN|ssl:127.0.0.1:47052: connection dropped (Protocol error) would occur whenever the socket is