Monthly Archives: January 2019

Running fabric-ca-server with user supplied certificate

I apologize in advance for bad formatting. The reason for bad formatting is described here: https://wordpress.stackexchange.com/questions/327170/how-to-avoid-wordpress-com-from-auto-inserting-p-and-span-tags-when-posting-code Objective: Understand how fabric-ca-server works and run it with user supplied X509 certificate and key. Lets spin up a docker instance of fabric-ca-server. If … Continue reading

Posted in Software | Leave a comment

mkdir /var/lib/docker: read-only file system

Got this error trying to launch a docker service. After some searching came across this link. Indeed the docker from snap is broken. Once I installed using official steps, the error wen’t away. Please don’t install docker using `sudo snap … Continue reading

Posted in Software | Leave a comment

“error”:”invalid_grant”,”error_description”:”AADSTS700082: The refresh token has expired

Sometimes you will get this error when trying to run az CLI. My first attempt to fix it was to refresh the token using az account get-access-token but when I ran it, it gave this: Get Token request returned http … Continue reading

Posted in Software | Leave a comment

Docker Swarm Mode Ports 2377, 7946, 4789

The docker docs say that for swarm mode to work: Open protocols and ports between the hosts The following ports must be available. On some systems, these ports are open by default. TCP port 2377 for cluster management communications TCP and UDP port … Continue reading

Posted in Software | Leave a comment

Running Custom Build of Hyperledger Fabric Orderer

If you want to run it inside a docker container: If you want to run a custom build of the orderer, make sure you set the FABRIC_CFG_PATH and have an orderer.yaml inside FABRIC_CFG_PATH. The docker container will have it setup … Continue reading

Posted in Software | Leave a comment

VS Code Setup

Getting Bash IDE to work in VS Code: Installing bash-language-server in non global mode: https://github.com/mads-hartmann/bash-language-server/issues/97 To Install/Update Go Tools View -> Command Palette (Cmd+Shift+P) To open a file quickly, Cmd+P

Posted in Software | Leave a comment

Ethereum vs. Hyperledger: The Epilogue

I was very excited to work with Hyperledger when I first did a comparison between Ethereum vs. Hyperledger [1]. The ability to write chaincode in javascript was especially appealing to me. However after more than a month of spending time … Continue reading

Posted in Software | Leave a comment