[postgis-users] ssl connection has been closed unexpectedly

Shaozhong SHI shishaozhong at gmail.com
Sat Nov 28 17:20:04 PST 2020


Hi,

I keep getting the following error when I use engine =
create_engine(logging in details to postgres)
df.to_sql('table_name', and etc.)


OperationalError: (psycopg2.OperationalError) SSL connection has been
closed unexpectedly

(Background on this error at: http://sqlalche.me/e/13/e3q8)
OperationalError: (psycopg2.OperationalError) SSL connection has been
closed unexpectedly

Can anyone shed any light on this?

Regards,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20201129/b2526080/attachment.html>


More information about the postgis-users mailing list