App construction failed (solved) #612
Replies: 4 comments 3 replies
-
https://github.com/uNetworking/uWebSockets.js/blob/master/src/AppWrapper.h#L527 It fails if you specify wrong SSL cert path, etc. |
Beta Was this translation helpful? Give feedback.
-
I think you're overcomplicating this.
What Node.js or IBM or Debian does on their part is not part of this project, we can only play by the official ABI rules. |
Beta Was this translation helpful? Give feedback.
-
In fact, because of issues with Linux distros not following official ABIs, we will probably move to our own BoringSSL dependency shipped as part of uWS instead of linking with Node.js's OpenSSL. Then we can completely eliminate all ABI issues and be more compatible with obscure Linux distros. This is also needed for QUIC support and runs faster. |
Beta Was this translation helpful? Give feedback.
-
Thanks, for the hint (i.e. SSL failed to init), I tracked down the issue from that (calling a client function). My build now works with nodejs 16.10.0. |
Beta Was this translation helpful? Give feedback.
-
When building with nodejs 16.10.0 (nodejs 16.9.0+) on Debian 11 i get the error Error: App construction failed when trying to start Https server instance. Http works. However, when building for nodejs 16.8.0 everyhing works for Https too.
Is any changes needed in this repo, uWebSockets or uSockets in order to use nodejs 16.9.0+ with Https?
Does anyone else have the same problem?
Beta Was this translation helpful? Give feedback.
All reactions