Bitcoinjs-lib: "certificate has expired" error when use "https://api.dcousens.cloud/1/t/push"

Created on 22 Aug 2018  路  8Comments  路  Source: bitcoinjs/bitcoinjs-lib

Hi Daniel, when I tried to broadcast the transaction by api "https://api.dcousens.cloud/1/t/push" as the example shows, it always returns error "certificate has expired". Can you or someone check this error? Thanks! @dcousens

bug external

All 8 comments

Working on it currently.

For now, try running any commands with NODE_TLS_REJECT_UNAUTHORIZED=0

ie.

$ npm run integration
becomes
$ NODE_TLS_REJECT_UNAUTHORIZED=0 npm run integration

$ npm start (or npm test or node somescript.js)
becomes
$ NODE_TLS_REJECT_UNAUTHORIZED=0 npm start

etc etc.

Resolved

@junderw down temporarily (~24h) while I do some updates

Any reason we choose not to run the regtest node on travis?

@afk11 it uses bitcoind

hmmm... is it possible to upload a binary file for Travis to use... otherwise every test run will involve Travis downloading the binary, hashing it and comparing to a hard coded hash, running it in regtest mode... etc.

Travis would probably get much much slower...

I like the regtest server idea though... even if it breaks down sometimes.

@junderw the setup time would be ridiculous.
The only reason it is down at the moment is due to me trying to figure out something unrelated.

@junderw its back

Was this page helpful?
0 / 5 - 0 ratings

Related issues

prahaladbelavadi picture prahaladbelavadi  路  3Comments

ishwarchandratiwari picture ishwarchandratiwari  路  3Comments

hoshsadiq picture hoshsadiq  路  3Comments

dcousens picture dcousens  路  3Comments

Mr-Mondragon picture Mr-Mondragon  路  3Comments