Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"no matching binding" error when running as separate forger #3912

Closed
air1one opened this issue Jul 24, 2020 · 3 comments
Closed

"no matching binding" error when running as separate forger #3912

air1one opened this issue Jul 24, 2020 · 3 comments
Assignees

Comments

@air1one
Copy link
Contributor

air1one commented Jul 24, 2020

When running forger separate got his error :

[2020-07-24 09:17:12.104] INFO : Round: 7,712, height: 393,286
1|v3-core-forger  | [2020-07-24 09:17:14.111] ERROR: Error: No matching bindings found for serviceIdentifier: Symbol(Service<Database>)
1|v3-core-forger  |     at _validateActiveBindingCount (/home/ark/core/node_modules/inversify/lib/planning/planner.js:62:23)
1|v3-core-forger  |     at _getActiveBindings (/home/ark/core/node_modules/inversify/lib/planning/planner.js:48:5)
1|v3-core-forger  |     at _createSubRequests (/home/ark/core/node_modules/inversify/lib/planning/planner.js:85:26)
1|v3-core-forger  |     at Object.plan (/home/ark/core/node_modules/inversify/lib/planning/planner.js:136:9)
1|v3-core-forger  |     at /home/ark/core/node_modules/inversify/lib/container/container.js:317:37
1|v3-core-forger  |     at Container._get (/home/ark/core/node_modules/inversify/lib/container/container.js:310:44)
1|v3-core-forger  |     at Container.get (/home/ark/core/node_modules/inversify/lib/container/container.js:230:21)
1|v3-core-forger  |     at Application.get (/home/ark/core/packages/core-kernel/dist/application.js:332:31)
1|v3-core-forger  |     at Object.exports.getBlockTimeLookup (/home/ark/core/packages/core-kernel/dist/utils/get-blocktime-lookup.js:27:33)
1|v3-core-forger  |     at ForgerService.checkSlot (/home/ark/core/packages/core-forger/dist/forger-service.js:128:85)
1|v3-core-forger  | [2020-07-24 09:17:14.112] INFO : Round: 7,712, height: 393,287

To reproduce, run separate forger process like so relay on its own relay:run and same for forger forger:run

@air1one
Copy link
Contributor Author

air1one commented Jul 30, 2020

Fixed by #3915

@air1one air1one closed this as completed Jul 30, 2020
@air1one air1one reopened this Jul 31, 2020
@air1one
Copy link
Contributor Author

air1one commented Jul 31, 2020

Was not fixed by #3915 in the end, re-opening.

@air1one
Copy link
Contributor Author

air1one commented Aug 27, 2020

Fixed by #3936

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants