Tunnel problem

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Posts: 12
Joined: Tue 27 Sep 2011 08:37

Tunnel problem

Post by oleengvoll » Tue 11 Mar 2014 18:09

When we are using dotConnect for MySQL tunnel connection. The tunnel log shows a lot of "Bad client". Here is a sample (it can be 100'ed of such rows during some minutes):
11.03.2014 19:06:54 - Client accepted
11.03.2014 19:06:54 - ERROR: Bad client.
11.03.2014 19:06:55 - Client accepted
11.03.2014 19:06:55 - Lease time increased.

After some minutes the apache web server is crashing.
What can be the reason?
Thanx. Ole

Devart Team
Posts: 2138
Joined: Wed 02 Nov 2011 09:44

Re: Tunnel problem

Post by Pinturiccio » Thu 13 Mar 2014 17:11

oleengvoll wrote:What can be the reason?
The "ERROR: Bad client." error can be caused by PHP server blocking a connection to the server, probably, because of firewall or antivirus.

Please also tell us whether this error occurs when establishing a connection or when working with the server?
If you work with binary data, some proxy servers can block it. In such case use the HttpBase64 property of the MySqlConnectionStringBuilder class. For more information, please refer to http://www.devart.com/dotconnect/mysql/ ... ase64.html

Post Reply