nats-io / nats.py

Python3 client for NATS
https://nats-io.github.io/nats.py/
Apache License 2.0
902 stars 194 forks source link

Getting returning True from eof_received() has no effect when using ssl #574

Open thierryba opened 4 months ago

thierryba commented 4 months ago

Observed behavior

when I create a client with TLS on, it works but when I can drain, I am getting a message: returning True from eof_received() has no effect when using ssl

Expected behavior

That message should not show.

Server and client version

nats-server: v2.10.12 nats_py-2.7.2

Host environment

macOS 14

Steps to reproduce

my code is really just doing this (contains TLS client certificate too): nats_client = await nats.connect(**create_nats_options('FW Clients', err_cb)) await nats_client.drain()

and that shows the error.

outsystemsToby commented 3 months ago

Just wanted to add that we started getting this message when upgrading a project from python 3.10 to 3.11.

Shrikey commented 2 months ago

Same here: warning sslproto.py _call_eof_received():811: returning true from eof_received() has no effect when using ssl

zsblevins commented 3 weeks ago

Also seeing this when migrating from 3.10 to 3.11