I am running my application as I have been for the past YEAR. today, db2 decided to give me this error:
=https
2021-11-08T16:07:47.262433+00:00 app[web.1]: [Error: [IBM][CLI Driver] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "". Communication function detecting the error: "selectForConnectTimeout". Protocol specific error code(s): "115", "*", "*". SQLSTATE=08001
2021-11-08T16:07:47.262443+00:00 app[web.1]: ] {
2021-11-08T16:07:47.262445+00:00 app[web.1]: error: '[node-ibm_db] SQL_ERROR',
2021-11-08T16:07:47.262445+00:00 app[web.1]: sqlcode: -30081,
2021-11-08T16:07:47.262446+00:00 app[web.1]: state: '08001'
2021-11-08T16:07:47.262446+00:00 app[web.1]: }
I am running my login function, which the query looks like this:
var userLogin = "select * from login where USERNAME = ?";
ibmdb.open(ibmdbconnMaster, function (err, conn) {
if (err) return console.log(err);
conn.query(userLogin, [inputUsername], function (err, rows) {
if (err) {
console.log(err);
}
any chance anyone can help?