Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hello, thanks for your great tool. Sometimes the Server crash with the following error:

`(node:26909) UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘Client ID’ of undefined at mkClient (/opt/openvpn-status/openvpn.js:5:14) at getClients.then (/opt/openvpn-status/openvpn.js:97:39) at process.tickCallback (internal/process/next_tick.js:68:7) (node:26909) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:26909) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. /opt/openvpn-status/openvpn.js:86 const [, clientId, received, sent] = data.match(/>BYTECOUNT_CLI:([0-9]+),([0-9]+),([0-9]+)/).map(itm => parseInt(itm, 10)) ^

TypeError: Cannot read property ‘map’ of null at client.procData (/opt/openvpn-status/openvpn.js:86:100) at items.forEach.itm (/opt/openvpn-status/openvpn.js:31:33) at Array.forEach (<anonymous>) at (/opt/openvpn-status/openvpn.js:31:13) at Socket.emit (events.js:198:13) at addChunk (_stream_readable.js:288:12) at readableAddChunk (_stream_readable.js:269:11) at Socket.Readable.push (_stream_readable.js:224:10) at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) `

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

Edllcommented, Aug 14, 2019

with yours.

Edllcommented, Aug 12, 2019

I’ll try and give you feedback.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server Down: What to Do When My Server Crashes?
Most probably, the server power supply has failed. Before concluding that it is a case of failed power supply, do some basic verifications,...
Read more >
Why Does a Server Crash? - Aloa
This occurs when a hacker floods your network with traffic to ultimately disrupt the user and not allow them to access the content....
Read more >
How to Handle Server Crashes | TVG Consulting
Causes. There are several situations that may cause a server crash, but here are just a few you should look out for: ·...
Read more >
3 Steps to Diagnose an Unexpected Server Crash
One common cause of server crashes is simply high levels of traffic. To spot problems before they occur, it's important you get a...
Read more >
How does a server crash? - Quora
When a server fails to serve its client, we call it as server crashes or server down. This means when a server goes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found