My Oracle Support Banner

OBPCS Submit Transaction Fail with Error "Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed" (Doc ID 2470478.1)

Last updated on APRIL 23, 2020

Applies to:

Blockchain Platform Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

This knowledge article reflects updated product names. Oracle Blockchain Platform Cloud Service (OBPCS) was formerly known as Autonomous Blockchain Cloud Service (ABCS). Please refer to "Name Change for PaaS services during Jan 2019 " for the full list of recently renamed PaaS services.

On : OBPCS 18.3.5 when calling client-utils.js or end2end.js sample code it fails with the following error.



STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Install and instantiate the BalanceTransfer sample in the OBPCS console.
2. Download the client SDK and yaml for the instance.
3. On the client SDK environment:
a) Setup the proxy for npm as the client machine is within Oracle corp network:[This option is not needed outside of Oracle Network]
$HOME/.npmrc
proxy=http://www-proxy.xxxxx:xx/
https-proxy=http://www-proxy.xxxxxx:xx/
registry=http://registry.npmjs.org/

b)Run the below command under balanceTransfer_BCS18.3.5/node:
./npm_bcs_client.sh

c)node end2end.js

Can see the error:
[tux@tapasoel1 node]$ node end2end.js
[2018-10-25 14:14:59.101] [INFO] install-chaincode -

============ Install chaincode on organizations ============

info: [packager/Golang.js]: packaging GOLANG from github.com
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed
   at new createStatusError (/home/tux/bcs/balanceTransfer_BCS18.3.5/node/node_modules/grpc/src/client.js:64:15)
   at /home/tux/bcs/balanceTransfer_BCS18.3.5/node/node_modules/grpc/src/client.js:583:15

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.