Doichain / dapp

Doichan dApp - a Meteor.js implementation of the "Doichain Atomic Double-Opt-In" Protocol
https://www.doichain.org
MIT License
6 stars 6 forks source link

When running tests from a fresh clone repo - dapp authentication seems wrong #155

Closed silkroadnomad closed 3 years ago

silkroadnomad commented 3 years ago

When starting a dAppp (or dapp-tests)

meteor npm run regtest-alice on some computers test failes with "Unauthorized" -

The dApp tries to read the password from ~/.doichain/doichain.conf and stores this as dapp password. if this file is not found it uses password as default password for the dApp - if it is found it stores that password for the dApp tests. This behaviour is fine for new installations. For developer machines sometimes a ~/.doichain/doichain.conf exists with another password (e.g. generated-password) in this case the dApp tests are failing.

In case we run dApp-tests (regtest environment) it should not read ~/.doichain/doichain.conf

leKg1 commented 3 years ago

TODO: error debugging - 3,5h