nzsql error, Unexpected protocol character/message - PureData System for Analytics

Problem(Abstract)

Error: Unexpected protocol character/message

Symptom

A remote client connecting to the database intermittently displays the following error message:

'SimpleDB::Database::Exception' what(): Error SQLConnect: [unixODBC]Unexpected protocol character/message


Cause

The problem occurs when DNS and/or network response becomes slow which causes an nslookup timeout error on the Netezza side of the remote connection.

Resolving the problem

To prevent this error, do the following:


1. Confirm that the client IP address is listed in the /etc/hosts file on the host; if not, add it.

2. Confirm that the host domain name is listed in the client's /etc/hosts file; if not, add it.

These changes eliminate the need for the reverse lookup over the network.


Popular posts from this blog

Shrink you container size up to 95%.

alma linux: dnf Module yaml error: Unexpected key in data