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

Wrong error message while trying to connect with unlocked identity #1945

Closed
zolia opened this issue Mar 29, 2020 · 0 comments · Fixed by #1950
Closed

Wrong error message while trying to connect with unlocked identity #1945

zolia opened this issue Mar 29, 2020 · 0 comments · Fixed by #1950
Assignees
Labels

Comments

@zolia
Copy link
Contributor

zolia commented Mar 29, 2020

Consumer is provided with an error "insufficient balance" when in fact his identity is locked.

daemon output:

2020-03-29T14:15:26.552 INF tequilapi/endpoints/connection.go:229    > identity "0x0fc008021a33ee21a6d2c9dbb2a547fd8fc0b84a" is registered, continuing...
2020-03-29T14:15:26.730 ERR tequilapi/endpoints/connection.go:261    >  error="insufficient balance"

cli output

» connect 0x0fc008021a33ee21a6d2c9dbb2a547fd8fc0b84a 0x2bc8193504a60c1d9746006a9eb3ade5d6b7f51b wireguard
[CONNECTING] from: 0x0fc008021a33ee21a6d2c9dbb2a547fd8fc0b84a to: 0x2bc8193504a60c1d9746006a9eb3ade5d6b7f51b
2020-03-29T14:15:26.551 DBG config/config.go:185                     > Returning default value accountant.accountant-id:0x0214281cf15C1a66b51990e2E65e1f7b7C363318
2020-03-29T14:15:26.731 ERR tequilapi/client/http_client.go:113      >  error="server response invalid: 500 Internal Server Error (http://127.0.0.1:4050/connection). Possible error: insufficient balance"
[WARNING] server response invalid: 500 Internal Server Error (http://127.0.0.1:4050/connection). Possible error: insufficient balance
@zolia zolia added the bug label Mar 29, 2020
vkuznecovas added a commit that referenced this issue Mar 30, 2020
Connection manager now has a separate component responsible for pre-flight checks.

Fixes #1945
@vkuznecovas vkuznecovas self-assigned this Mar 30, 2020
vkuznecovas added a commit that referenced this issue Mar 30, 2020
Connection manager now has a separate component responsible for pre-flight checks.

Fixes #1945
vkuznecovas added a commit that referenced this issue Mar 30, 2020
Connection manager now has a separate component responsible for pre-flight checks.

Fixes #1945
vkuznecovas added a commit that referenced this issue Mar 31, 2020
Connection manager now has a separate component responsible for pre-flight checks.

Fixes #1945
vkuznecovas added a commit that referenced this issue Mar 31, 2020
Connection manager now has a separate component responsible for pre-flight checks.

Fixes #1945
vkuznecovas added a commit that referenced this issue Mar 31, 2020
Connection manager now has a separate component responsible for pre-flight checks.

Fixes #1945
vkuznecovas added a commit that referenced this issue Mar 31, 2020
Connection manager now has a separate component responsible for pre-flight checks.

Fixes #1945
vkuznecovas added a commit that referenced this issue Mar 31, 2020
Connection manager now has a separate component responsible for pre-flight checks.

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

Successfully merging a pull request may close this issue.

2 participants