Tunnel problem

Tunnel problem

Postby 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
oleengvoll
 
Posts: 12
Joined: Tue 27 Sep 2011 08:37

Re: Tunnel problem

Postby 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/docs/?Devart.Data.MySql~Devart.Data.MySql.MySqlConnectionStringBuilder~HttpBase64.html
Pinturiccio
Devart Team
 
Posts: 1953
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for MySQL