Closed felipeavilis closed 2 months ago
App.listen will fail
App.listen will fail
Tks for the quickly reply @uNetworkingAB! I found the error. I was setting SSL options in app.ws
insted of app
.
const app = uWS.SSLApp({
/* SSL Options */
key_file_name: './tls/server.key',
cert_file_name: './tls/server.crt',
ca_file_name: './tls/server.full-ca.bundle',
dh_params_file_name: './tls/dhparam.pem',
});
app.ws("/*", {
/* Options */
idleTimeout: 32,
maxBackpressure: 1024,
maxPayloadLength: 16 * 1024 * 1024,
commpression: 0,
Close it
After change my server to SSL im getting this error:
I noted that
SSL options
is not checking file. Even if file does not exists it does not send me any error.What am i doing wrong?