unable to establish a network in Hyper-fabric composer from OS X - docker-compose

In Hyperledger composer, composer network start always fails with the following error.
*"Error trying to instantiate composer runtime. Error: Error: SERVICE_UNAVAILABLE"*.
But I installed the runtime environment for the same card using composer runtime install. My machine is under proxy, but in ignore list, I added the peer domain name too.
I installed the docker too.
I referred the previous posts but that solution also I tried but it didn't help me. Please guide me
Attached the screenshot of terminal with the output

Related

Falco pod initcontainer is not working. curl: (22) The requested URL returned error: 404

I am trying to install falco on my kubernetes cluster with helm chart. I am deploying as Deamonset and using ebpf but getting error on my init containers. What should I do?
This is my values yaml
You are getting this error message due to not having the kernel headers installed so the eBPF driver can be compiled.
Before compiling the eBPF driver, the loader script tries to download it from https://download.falco.org, but it doesn't find it because the Oracle Linux distribution is not officially supported (it is not offered as a prebuilt driver, to be more precise).
The quickest solution would be to install the Kernel Drivers on each Kubernetes node, so Falco can compile the driver the next time it tries to start.
It is also possible to use the project Driverkit to build Falco drivers on your own (as the Falco project does) and make them available somewhere else, but then you'd need to pass the URL for the driver to the Helm Chart. This avoids polluting the system with packages you'd need only once.
You are also welcome to contribute to the project by adding support for the Oracle Linux distribution, which is relatively simple since it is quite similar to the Red Hat distribution. Once it is supported, the drivers will be available to anyone using the same kernel/distribution.
For further information, you can visit the Falco Slack channel and ask for help there, or ping anyone in the community

Unable to install gcloud SDK

When I try to install google cloud SDK, I was getting the following error:
ERROR:
(gcloud.components.update) Failed to fetch component listing from
server. Check your network settings and try again. This will install
all the core command line tools necessary for working with the Google
Cloud Platform. Failed to install.
After reinstalling python (v3.7.0), I added the path and also added CLOUDSDK_PYTHON environment variable to make sure. Now when I attempt the installation, the installation simply hangs:
If I attempt the installation trough terminal by executing install.bat, it also gets stuck after requesting to send diagnostics to google:
Welcome to the Google Cloud SDK!
Active code page: 65001
To help improve the quality of this product, we collect anonymized usage data
and anonymized stacktraces when crashes are encountered; additional information
is available at <https://cloud.google.com/sdk/usage-statistics>. This data is
handled in accordance with our privacy policy
<https://policies.google.com/privacy>. You may choose to opt in this
collection now (by choosing 'Y' at the below prompt), or at any time in the
future by running the following command:
gcloud config set disable_usage_reporting false
Do you want to help improve the Google Cloud SDK (y/N)? n
Nothing gets printed after that.
it seems that the "(gcloud.components.update) Failed to fetch component listing from server" error might be caused by some proxies or antivirus in your environment, I'd recommend you to try a clean installation in a vm or using another network.
Also, I was able to find soem similar errors for this on issue tracker and the team gave a soltion at comment10, also, as you can see on the issue tracker, sometimes this behavior is because the Python SDK is installed on default "Program Files" location, you could give it a try by changing the location of the python SDK

[VOLTTRON]: bootstrap.py failed to run virtual environment

I am unable to create a virtual environment to run VOLTTRON. Every time I run bootstrap.py, I get an error saying [SSL: CERTIFICATE_VERIFY_FAILED]. The screenshot is attached below.
Is this the issue with the VOLTTRON version or do I need additional dependencies to run the file?
There was a pull request that was just merged into master that fixes this issue on raspberry pis. The ssl context is only required with rabbitmq and/or web services enabled. Please update to the latest version of master and try again.

network deployed in IBM cloud, but having an issue instantiating the chaincode

I deployed a bna archive file to my ibm cloud instance. It has all the files you'd expect including the package.json. This was done following the tutorial here: https://console.bluemix.net/docs/services/blockchain/develop_starter.html#deploying-a-business-network
The last step in the process is a ping issued to ensure the network is up and running. I am getting an error telling me that the "chaincode is not instantiated".
I went to the web interface ( https://blockchain-starter.eu-gb.bluemix.net/network/myid ) and under My Code / Install Code section I can see my network. Under Actions there is an option to instantiate it on a peer. Clicking that gives me this error : Unknown error occurred when instantiating chaincode, check your peer logs.
Looking at the logs on the peer I can see this:
{"log":"npm ERR! enoent ENOENT: no such file or directory, open '/usr/local/src/package.json'\n","stream":"stderr","time":"2018-06-19T13:20:48.455812355Z"}
That particular file IS part of my bna archive.
I can deploy the bna file to both my local composer-playground and also IBM's one ( https://blockchaindevelop.mybluemix.net/ ) and it works fine in both environments.
The same issue happens if I deploy the bna using the web interface, I simply can't instantiate it.
Any suggestions what I can do to get this network running?
In the end it was a software version issue.
The original documentation specified using composer 0.18.1 as the only one compatible with the IBM cloud infrastructure.
This has recently been updated to 0.19.x.
In the IBM cloud, I removed the original peer with all the old chaincode, removed the old certificate as well.
On my local machine I started from scratch:
reinstalled latest composer,
recreated the bna file
I then re-did all the steps as in the original documentation and this time everything worked and I managed to start the network and ping it.
Everything is up and running now. There was one last timeout issue when I tried to start the network, but I simply ran the command again and the problem went away.

Dart Plugin For Eclipse - Using a network Proxy

I'm currently using Eclipse: Kepler and just installed the Dart plug-in via Help->Install New Software.
Download went through without a hitch and I attempted to create my first dummy project to see if it was all working fine similar to how it's displayed in http://blog.dartwatch.com/2013/01/integrating-dart-into-eclipse-and-your.html
However, I'm getting some pub errors where it can not download of the required libraries. The error in question looks like this
Got socket error trying to find package "browser" at https://pub.dartlang.org.
SocketException: Connection failed (OS Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
, errno = 10060), address = pub.dartlang.org, port = 443
That said, is there an additional configuration/ini file that I need to modify for this to work? I've checked my system and environment variables - nothing seems out of place. I can use the build in browser inside of eclipse and download other packages through the Eclipse Marketplace.
Issue 5454 is relating to using pub behind a proxy and marked as "Fixed", but there's still some discussion going on after it was marked as Fixed, so I'm not completely sure what the status is today. There's some discussion of different behaviour from the editor though.