As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Kinvey.File.upload fails from CI build via circleci.com
S
Scott Gilroy
started a topic
almost 10 years ago
Part of our build/test process is to load test data, including uploading some files using Kinvey.File.upload() http://devcenter.kinvey.com/html5/reference/api/Kinvey.File.html. This works fine locally (Mac OS X) but fails on Circle CI (see https://circleci.com/docs/environment for details on the ubuntu VM being used). Any idea why this might be happening? Here is the error:
{"message":"139913092937536:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:../deps/openssl/openssl/crypto/evp/p_lib.c:288:\n","stack":"Error: 139913092937536:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:../deps/openssl/openssl/crypto/evp/p_lib.c:288:\n\n at CleartextStream._pusher (tls.js:656:24)\n at SlabBuffer.use (tls.js:199:18)\n at CleartextStream.CryptoStream._push (tls.js:483:33)\n at SecurePair.cycle (tls.js:880:20)\n at EncryptedStream.CryptoStream.write (tls.js:267:13)\n at Socket.ondata (stream.js:38:26)\n at Socket.EventEmitter.emit (events.js:93:17)\n at TCP.onread (net.js:396:14)"}
1 Comment
M
Mark
said
almost 10 years ago
There is a bug in older Node.js versions which has this behavior, see [here](https://github.com/joyent/node/issues/4771). I’ve personally run into this issue, and upgrading the Node.js version fixed it for me.
If you don’t have that level of control over Circle CI, I’d recommend talking to them to resolve this issue.
Scott Gilroy
{"message":"139913092937536:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:../deps/openssl/openssl/crypto/evp/p_lib.c:288:\n","stack":"Error: 139913092937536:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:../deps/openssl/openssl/crypto/evp/p_lib.c:288:\n\n at CleartextStream._pusher (tls.js:656:24)\n at SlabBuffer.use (tls.js:199:18)\n at CleartextStream.CryptoStream._push (tls.js:483:33)\n at SecurePair.cycle (tls.js:880:20)\n at EncryptedStream.CryptoStream.write (tls.js:267:13)\n at Socket.ondata (stream.js:38:26)\n at Socket.EventEmitter.emit (events.js:93:17)\n at TCP.onread (net.js:396:14)"}