Current Behavior
The service runs for a while with no issues, but randomly gets errors from discord about certificates for some reason, and when it does it crashes and exits.
[PteroStats] Panel stats successfully posted to the server-status channel!
[PteroStats] Discord Error Error: self-signed certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12) {
code: 'DEPTH_ZERO_SELF_SIGNED_CERT'
}
Expected Behavior
Application should not crash and exit in these cases, it should just retry.
Steps to Reproduce
N/A
Bot Version
v4.1.0
Installation Method
Egg
Error Logs
[PteroStats] Panel stats successfully posted to the server-status channel!
[PteroStats] Discord Error Error: self-signed certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12) {
code: 'DEPTH_ZERO_SELF_SIGNED_CERT'
}
Is there an existing issue for this?
Current Behavior
The service runs for a while with no issues, but randomly gets errors from discord about certificates for some reason, and when it does it crashes and exits.
Expected Behavior
Application should not crash and exit in these cases, it should just retry.
Steps to Reproduce
N/A
Bot Version
v4.1.0
Installation Method
Egg
Error Logs
Is there an existing issue for this?