I've successfully installed Docker and Hyperledge-fabric v0.6 on my local system. Unfortunately while trying to run a sample chaincode, I'm facing with the below mentioned error. Please guide me to run my chaincode successfully.
addrConn.resetTransport failed to create client transport: connection
error: desc = "transport: dial tcp [::1]:30303: connectex: No
connection could be made because the target machine actively refused
it."; Reconnecting to {"localhost:30303" } 10:05:25.048 [shim]
ERRO : Error trying to connect to local peer: grpc: timed out when
dialing Error starting Simple chaincode: Error trying to connect to
local peer: grpc: timed out when dialing
C:\Users\Arunh\goworkspace\src\github.com\testapp\learn-chaincode\start>docker-compose
op 'docker-compose' is not recognized as an internal or external
command, operable program or batch file.
Hyperledger Fabric has evolved quite a bit since the v0.6 release. Recommend if you are still on v0.6 that you upgrade to v1.0.x. http://hyperledger-fabric.readthedocs.io/en/latest/getting_started.html
Related
Trying to connect to an external datahub from a SSMS on a server. From desktop computer works.
Port 1433 allowed on server. Has anyone seen this or have a solution? Thank you.
Error:
Test connection failed because of an error in initializing provider. Client unable to establish connection due to prelogin failure
TCP Provider: The specified network name is no longer available.
Client unable to establish connection
Client unable to establish connection because an error was encountered during handshakes before login. Common causes include client attempting to connect to an unsupported version of SQL Server, server too busy to accept new connections or a resource limitation (memory or maximum allowed connections) on the server.
I've recently been learning Docker and Kubernetes. I think i now understand docker pretty well so ive been trying to make the kubernetes work. I'm on Windows btw.
I have installed kubernetes with the standard windows docker dashboard and done everything that was in the tutorials I've found to get the kubernetes dashboard.
Now I have my dashboard and I'm running a simple nginx pod.
with a service :
but when I go on localhost:88 it tells me that localhost hasnt sent any data.
I have also tried :
kubectl port-forward nginx-67d74d8fbc-qnzgf :88
and when I tried in the port that was assigned automatically it said inaccessible website and did this error in the cmd:
Handling connection for 58193
Handling connection for 58193
E0523 12:49:36.846094 16200 portforward.go:406] an error occurred forwarding 58193 ->
88: error forwarding port 88 to pod 764194941a96bf6dc7b3d491ffe910cd34885e20a0b98690392b9a4c4feca310, uid : exit status 1:
2022/05/23 10:49:36 socat[7405] E connect(16, AF=2 127.0.0.1:88, 16): Connection refused
E0523 12:49:36.847735 16200 portforward.go:406] an error occurred forwarding 58193 88: error forwarding port 88 to pod 764194941a96bf6dc7b3d491ffe910cd34885e20a0b98690392b9a4c4feca310, uid : exit status 1:
2022/05/23 10:49:36 socat[7406] E connect(16, AF=2 127.0.0.1:88, 16): Connection refused
E0523 12:49:36.884999 16200 portforward.go:234] lost connection to pod
Handling connection for 58193
E0523 12:49:36.885522 16200 portforward.go:391] error copying from local connection to
remote stream: EOF
E0523 12:49:36.888639 16200 portforward.go:346] error creating error stream for port
58193 -> 88: EOF
I don't know what to do to access the nginx app I created in my browser and i cant find any doc.
OK I have found what the problem was, I had opened docker and kubernetes on my admin session but was accessing it from a browser on my normal session.
solana account <address>
When I get account info, I have this error:
Error: RPC request error: cluster version query failed: error sending request for url (http://localhost:8899/): error trying to connect: tcp connect error: Connection refused (os error 111)
The error is indicating that the CLI RpcClient can not communicate with the Solana validator.
This is usually caused by not having solana-test-validator running in another terminal. Many make the mistake of thinking that the localhost is running the validator all the time... it's not.
In one terminal do: solana-test-validator which will startup up the local validator
Open a second terminal and do solana account - This will return account info for the default keypair
It's a network connection problem.
I use ubuntu 20.04, I was using windscribe VPN because my location and got the error, now I'm using psiphon VPN and it's working fine.
I get this error from time to time when running builds with my dedicated runners, running on GKE.
What could be the problem here?
Is it related to the Gitlab instance or is it more a problem on the cluster side?
ERROR: Job failed (system failure): Internal error occurred: error executing command in container: error during connect: Get http://%!F(MISSING)var%!F(MISSING)run%!F(MISSING)docker.sock/v1.27/exec/f9ee0d021b8a6d7660d2334456a93f61108835077574545bcf00a484b45f5247/json: read unix #->/var/run/docker.sock: read: connection reset by peer
See the same thing randomly. There are some jobs more likely than others to trigger it but a retry usually works fine
I am researching on Hyperledger. After going through the basic tutorials and documentation, I have started setting up a Blockchain Business Network With Hyperledger Fabric & Composer Running on Multiple Physical Machine as described on https://www.skcript.com/svr/setting-up-a-blockchain-business-network-with-hyperledger-fabric-and-composer-running-in-multiple-physical-machine/.
I am already done with setting up the Hyperledger environment. We are able to create business network archives (.bna) and business cards (.card) as well. But while I try to start the created business network (using composer network deploy and composer network start commands on Ubuntu CLI) the CLI responds with an error saying,
composer network start --networkAdmin admin --networkAdminEnrollSecret
adminpw --card admin#admin_conn --file admin.card -a
basic-sample-network.bna Starting business network from archive:
basic-sample-network.bna Business network definition:
Identifier: basic-sample-network#0.2.0-20180102082548
Description: The Hello World of Hyperledger Composer samples
Processing these Network Admins:
userName: admin
Starting business network definition. This may take a minute... Error:
Error trying to instantiate composer runtime. Error: No valid
responses from any peers. Response from attempted peer comms was an
error: Error: chaincode error (status: 500, message: cannot get
package for the chaincode to be instantiated
(basic-sample-network:0.16.6)-open
/var/hyperledger/production/chaincodes/basic-sample-network.0.16.6: no
such file or directory)
And on the playground UI,
It would be great if any of you could guide me to solve this problem.
Thanks in advance.
UPDATE :
Version of Composer : v0.19.0
Worked Out Link : https://hyperledger.github.io/composer/latest/business-network/bnd-deploy
This is where I got stucked now.
composer network install command worked fine. But network start command is not working fine.
user1#peer2:~/fabric-tools/rosternetwork$ composer network start --networkName rosternetwork --networkVersion 1.0.0 --card PeerAdmin#hlfv1 --networkAdmin admin -S adminpw
Response from attempted peer comms was an error: Error: 2 UNKNOWN: chain code error (status: 500, message: cannot get package for chaincode (rosternetwork:1.0.0))
Command failed
Starting business network rosternetwork at version 1.0.0
Processing these Network Admins:
userName: admin
Starting business network definition. This may take a minute...
Error: Error trying to start business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message: cannot get package for chaincode (rosternetwork:1.0.0))
Command failed
Searched with the error message, but didn't found any solution.