Bitcoinjs-lib: Integration tests failing: 502 Bad Gateway

Created on 28 Dec 2020  路  2Comments  路  Source: bitcoinjs/bitcoinjs-lib

Hi all, I guess maintainers are probably aware, but npm run intregration results in numerous 502's, presumably from a 3PBP being down.

Any workaround suggested, or something I'm doing wrong? I'm keen to see testnet TX's going E2E.

Most helpful comment

I rebooted the server. It seems to be working now.

All 2 comments

Thanks for letting us know. There's no guarantee for uptime with that. It's only meant as a courtesy for people who don't want to run a docker container / forget to run their local docker container, we have a server running the container that crashes from time-to-time (since people do weird things to it and break it)

For now, please do the following: (It's also much faster)

# This will pull the docker image we are running on the server (it's not testnet, it's regtest)
$ docker run -d -p 8080:8080 junderw/bitcoinjs-regtest-server
# adding the env var to point to the locally running docker container
$ APIURL=http://localhost:8080/1 npm run integration

I rebooted the server. It seems to be working now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

panpan2 picture panpan2  路  3Comments

coingeek picture coingeek  路  4Comments

zhaozhiming picture zhaozhiming  路  3Comments

LeonYanghaha picture LeonYanghaha  路  3Comments

Mr-Mondragon picture Mr-Mondragon  路  3Comments