openplans / openblock

OpenBlock is a web application and RESTful service that allows users to browse and search their local area for "hyper-local news
61 stars 26 forks source link

CA in Bluemix under low load keeps giving "Not available yet" message #292

Closed RicHernandez2 closed 8 years ago

RicHernandez2 commented 8 years ago

Details:

CA in Bluemix cloud under light load is giving off many "Not available yet" messages.

Steps to repro:

  1. Provision a set of blockchain servers with security enabled (CA, Va1, Va2) on Bluemix.com
  2. Copy the name of that blockchain set to your manifest.yml file on the app.js home directory
  3. Ensure the package.json contains a unique name for your app.js
  4. Create a Node.js app
  5. Bind the app to the blockchain set
  6. cf push app.js
  7. Select your blockchain set
  8. Click launch
  9. View logs
  10. View CA logs Note the following:

2016-02-16T15:08:37.706862941Z % Total % Received % Xferd Average Speed Time Time Time Current

2016-02-16T15:08:37.706997172Z Dload Upload Total Spent Left Speed

2016-02-16T15:08:38.202048699Z 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1156 100 1156 0 0 2335 0 --:--:-- --:--:-- --:--:-- 2340

2016-02-16T15:08:36.091052024Z Not available yet...

2016-02-16T15:08:36.091052024Z Not available yet...

2016-02-16T15:08:36.091052024Z Not available yet...

2016-02-16T15:08:36.091052024Z Not available yet...

2016-02-16T15:08:36.091052024Z Not available yet...

2016-02-16T15:08:36.091052024Z Not available yet...

2016-02-16T15:08:37.706862941Z % Total % Received % Xferd Average Speed Time Time Time Current

2016-02-16T15:08:37.706997172Z Dload Upload Total Spent Left Speed

2016-02-16T15:08:38.202048699Z 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1156 100 1156 0 0 2335 0 --:--:-- --:--:-- --:--:-- 2340

2016-02-16T15:08:36.091052024Z Not available yet...

Results:

The CA log is giving the error code "Not available yet..."

Expected Results:

The CA should be able to keep up with certificate requests from traffic from two validating peers, or there should be more CAs provisioned per validating peer and some sort of load balancing implemented between CAs.

RicHernandez2 commented 8 years ago

Wrong place