在古哥上爬了一下,发现了一种可能的解决方案:
Hi everyone,
Npgsql drivers have a different behavior in the last few months' versions, that's why this is happening. We're fixing this now, it'll be in PBI releases in the next few months.
For the workaround, you can change the encryption setting of your database credential:Sorry about the inconvenience and thanks for reporting this to us!
其实重点就是去掉链接时使用安全加密连接的选项。
原贴在此 可以去看下,还有些其他说法。