aluisiora / node-routeros

Mikrotik Routerboard RouterOS API for NodeJS
MIT License
100 stars 45 forks source link

When using TLS, connection close promise never gets resolved #21

Closed cenuij closed 4 years ago

cenuij commented 4 years ago
const mikrotik = new rosapi({
  host,
  user,
  password,
  tls: true,
  port: 8729
});

await mikrotik.connect();
console.log('connected');

await mikrotik.close();
console.log('closed... never gets here');

Without TLS it works as expected.