connecting through Cobol via odbc
Hello
I am trying to get pgbouncer to work in my environment, and
have run into a snag.
I have it up and running and it appears
to be working fine for straight psql commands, either from the local
server or from others on the network. I can connect without issue.
However, if I try to connect through our cobol app, via the entries
in odbc.ini, I keep getting the following error:
2010-04-05
16:48:56.658 22760 NOISE get_header: unknown special pkt: len=296
code=131072
2010-04-05 16:48:56.658 22760 LOG C-0x944d708: (nodb)/(nouser) <at> 172.22.1.34:39865
closing because: bad packet header (age=0)
2010-04-05 16:48:56.658 22760 WARNING C-0x944d708: (nodb)/(nouser) <at> 172.22.1.34:39865
Pooler Error: bad packet header
I know that it's failing because
of the packet code (131072, or 0x20000)...the normal requests all have
80877103 (and the packet lengths are 8 bytes vs the 296 here), which
maps to the PKT_SSLREQ type from my perusal of the code. But I'm not
quite sure where to go from here. I'm suspecting an odbc config setting
may be missing...has anyone seen this before?
_______________________________________________ Pgbouncer-general mailing list Pgbouncer-general@... http://pgfoundry.org/mailman/listinfo/pgbouncer-general
RSS Feed