Comment 51 for bug 1779863

Revision history for this message
Nicolas Noble (grumpycoder) wrote : Re: [Bug 1779863] Re: Ubuntu nodejs package isn't ABI compatible with mainline nodejs.

Yes - this is expected behavior for not passing down proper SSL
certificates to the constructor.

On Sat, Sep 8, 2018 at 12:27 PM, Elana Hashman <email address hidden> wrote:

> I have tested the steps with nodejs and nodejs-dev in bionic-proposed,
> however I get a different error. I am guessing that there is something
> wrong with the credential initializing:
>
> ubuntu@ubuntu-bionic:~$ node
> > const grpc = require('grpc')
> undefined
> > const creds = grpc.ServerCredentials.createSsl(null, [])
> undefined
> > const server = new grpc.Server()
> undefined
> > server.bind('0.0.0.0:8080', creds)
> E0908 19:25:28.193325796 27119 security_connector.cc:1149] Handshaker
> factory creation failed with TSI_INVALID_ARGUMENT.
> E0908 19:25:28.193531437 27119 server_secure_chttp2.cc:84]
> {"created":"@1536434728.193508636","description":"Unable to create secure
> server with credentials of type Ssl.","file":"../deps/grpc/
> src/core/ext/transport/chttp2/server/secure/server_secure_
> chttp2.cc","file_line":63,"security_status":1}
> 0
>
>
> I was able to successfully `npm install node-webcrypto-ossl` this time.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1779863
>
> Title:
> Ubuntu nodejs package isn't ABI compatible with mainline nodejs.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/
> 1779863/+subscriptions
>