My applications have long been using Chilkat to establish an SSH tunnel and communicate with a MySQL server through that tunnel. It's been working very well, even with multiple connections taking place on the tunnel at the same time.
I recently upgraded from 18.104.22.168 (ChilkatDotNet4.dll) to 22.214.171.124 (ChilkatDotNet46.dll). There were some small modifications I needed to make based on some of the new functionality in the new version, but got everything working properly. I am NOT using dynamic port forwarding.
After the upgrade, I noticed my connections to my MySQL server would fail with a "Reading from the stream has failed" error message. This looks like it occurs when I have two different threads accessing the MySQL server through the tunnel at the same time. It's caused a lot of instability in my applications, and I'm trying to pinpoint it. When I revert back to 126.96.36.199 (ChilkatDotNet4.dll), everything works perfectly fine again. The MySQL and SSH servers have remained constant between my tests, so I've narrowed it to the Chilkat library. Here is how I am establishing my tunnels in both the old and new versions:
Version 188.8.131.52 (ChilkatDotNet4.dll)
Version 184.108.40.206 (ChilkatDotNet4.dll)
asked Sep 01 '16 at 14:49