Error while setting up docker dev env - docker

I am trying to setup docker dev env on my Mac laptop. I am following the intructions described here. https://docs.docker.com/opensource/project/set-up-dev-env/
Whenever I run make shell command. I get the following error.
gpg: requesting key F6B0FC61 from hkp server p80.pool.sks-keyservers.net
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
?: p80.pool.sks-keyservers.net: Host not found
gpgkeys: HTTP fetch error 7: couldn't connect: Connection timed out
Can someone please help. Thanks.

I am not sure what the issue was but it seems docker-machine upgrade did the trick for me. Thanks.

Related

FreeRADIUS Version 3.0.13 - Failed to find 'Auth-Type EAP' section

I trying to setting FreeRadius on my AWS Linux. It was working when I first set it up or atleast I was able to active it. However, after I reboot the Radius server and try to start it, I get the following error:
/etc/raddb/mods-enabled/eap[14]: Failed to find 'Auth-Type EAP' section. Cannot authenticate users.
/etc/raddb/mods-enabled/eap[14]: Instantiation failed for module "eap"
I opened the eap file and updated default_eap_type = peap. I also enabled MS-CHAP v2 which I also enabled but now, I keep getting this error for eap which I do not want users to be authenticated through EAP.
Can anyone provide any guidance please?
The peap module requires the inner-tunnel site.
I fixed with:
ln -s /etc/freeradius/3.0/sites-available/inner-tunnel /etc/freeradius/3.0/sites-enabled/
This was a fresh FR3 install on Ubuntu 20.04.

Docker EE installation: gpg: no valid OpenPGP data found

I tried to follow the instruction from Docker EE instruction.
https://docs.docker.com/ee/docker-ee/ubuntu/#set-up-the-repository
I met the problem with step five: Add Docker’s official GPG key using your customer Docker Engine - Enterprise repository URL.
curl -fsSL "${DOCKER_EE_URL}/ubuntu/gpg" | sudo apt-key add -
When I type this command, terminal returned
curl: (22) The requested URL returned error: 403
gpg: no valid OpenPGP data found.
I tried to use the browser open the url of "${DOCKER_EE_URL}/ubuntu/gpg", it also returns 403.
Then, I thought maybe my local environment is not clean, so I rent server from DigitalOcean, but it still returned the same message.
Could someone, please point me into the right direction? Thank you!
Update: I tried to use centos, it can't work, either.
I had the same issues this morning. For me the issue is now resolved.
Looks like it takes a couple of hours before the key is available (after requesting a trial license).

Hyperledger Composer `network install` is throwing `request timeout` error

I was following this tutorial and found out that I am getting this error when I try:
composer network install --card PeerAdmin#hlfv1 --archiveFile tutorial-network#0.0.1.bna
Error is:
✖ Installing business network. This may take a minute...
Error: Error trying install business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: REQUEST_TIMEOUT
Command failed
Any lead will be helpful.
Update:
docker ps output as follows:
To check your development environment, I would recommend follow the first tutorial composer example from https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial.
If this works, you can replace logic.js, model.cto and permissions.acl file from your link.
I was having the same error. None of the Peers responded withing the given time. I edited the docker-compose.yaml file inside
~/fabric-dev-servers/fabric-scripts/hlfv12/composer
and added the following line
- CORE_CHAINCODE_STARTUPTIMEOUT=1200s
to the
peer0.org1.example.com container environment.
Then I did a Teardown and re-executed the same steps. This time, it worked. You just need to increase the TIMEOUT from default 300s to 1200s. It happens when you do not have enough resources on your PC and the time to process the installation increases.

Rails/Rubber can't create staging

Trying to get started with a Rails Amazon EC2 deployment using https://github.com/rubber/rubber, and I keep ending up here after attempting to create a staging server with cap rubber:create_staging:
** [out :: production.foo.com] curl: (7) couldn't connect to host command finished in 2022ms
failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\'' bash -l /tmp/create_inputs'" on production.foo.com
I've been sticking with Rubber's quickstart guide, but can't solve this. I'm using rvm, if that makes a difference to anyone.
Any ideas?
It looks like you are trying to connect to production.foo.com. Change your configuration to connect to the right remote server or if you are running locally in the EC2 instance you can make it localhost.
Make sure you setup your public ssh key in the ~/.ssh/authorized_keys for the user that you are trying to deploy as. This is to allow capistrano/rubber to do passwordless ssh authentication.
Reviving an old post here but there's another possible cause of this issue that I've just encountered so figured this might help someone else.
I had to re-create and download a new keypair for my ec2 instances. When I moved it to ~/.ec2/gsg-keypair I forgot to alter the permissions.
When SSH'ing directly into the instance you get the full warning, which makes debugging it easy:
UNPROTECTED PRIVATE KEY FILE! permissions 0644 for 'xxxxx.pem' are
too open. It is recommended that your private key files are NOT
accessible by others. This private key will be ignored. bad
permissions: ignore key: xxxxx.pem Permission denied (publickey).
But when running a rubber task you simply get a generic CURL error. If this is the case for you too just update the permissions like this:
chmod 600 ~/.ec2/gsg-keypair

abort: error: nodename nor servname provided, or not known error

can anyone help ??
i am getting this error while connecting..
abort: error: nodename nor servname provided, or not known
please help me out.
Actually I want to get the source of coreplot from a repository I am executing this command in the terminal
"hg clone core-plot.googlecode.com/hg core-plot "
and i get the error ...
"abort: error: nodename nor servname provided or not known,"
Can any1 help me?
Check your proxy settings. I've had issues with having my http_proxy/https_proxy environment variables set to a corporate setting while off-corp-LAN and have seen similar responses.
This is often intermittent and DNS related. Check your network connectivity and/or proxy settings.
This message indicates a general networking issue. See if you can ping the hostname in question. If you can't reach it you may need to manually update your "hosts" file or perform other related DNS voodoo until the ping returns.
Try
hg clone https://core-plot.googlecode.com/hg/ core-plot
Note that the https:// is required.
While it's not 100% related (as I think the original issue was a missing "https://") I wanted to post my problem for SO google-juice.
I was having the same error message when cloning from bitbucket.org; I had missed adding # to the url:
hg clone https://<my_username>#bitbucket.org/<someone>/<project>/
This message indicates a general networking issue. See your network with connected with correct connection or any other connection.
Example: In my office if i connect with Lan only then the mercurial will work(Like clone or update or pull). But i tried via guest connection(Wifi). Once i change this now its working.
This is how I solved it on mac:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Resources