Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

400
Views
SQLSTATE=08001 error trying to connect to db2 remote db node.js

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?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!