Closed HashZero81 closed 2 years ago
Solution: restart node, refresh mystnodes.com page, re-enter the API key and click Save. Please let us know if that helps.
Sadly it did not worked. Still getting the same error.
I tested with a second node, which resulted in the same error. On the second node, I went one step further to completely uninstall the node with apt purge, removed any additional folders I could found for myst nodes and do a re-installation. This also resulted in the same error.
So I've just got to know that I am not the only one facing this problem. I also opened an issue but got no response.
@HashZero81 @ozzono Before our QA will step in and make a round of testing, could this be tried in Incognito mode? Before doing that, make sure that node is running the latest available public version: https://github.com/mysteriumnetwork/node/releases/tag/1.4.1
Hi
I am able to replicate the issue in Incognito mode as well. I am still getting the validation error. Nodes are on the latest version.
Getting the same problem.
2022-03-09T07:29:10.062 ERR ../../tequilapi/endpoints/mmn.go:119 > MMN registration error: server response invalid: 500 Internal Server Error (https://mystnodes.com/api/v1/node){"errorCode":"databaseError","message":"Database error"}
If you try to change the API key using the CLI, it doesn't work either. However, it says it successfully configured it.
Reproduced on 2 nodes + a friend of mine's all running the latest version.
» mmn <NewKey>
[SUCCESS] MMN API key configured.
/etc/mysterium-node/config-mainnet.toml
:
[access-policy]
list = "mysterium"
[mmn]
api-key = "<NewKey>"
[terms]
consumer-agreed = true
provider-agreed = true
version = "0.0.40"
the error when changing the key in the UI (Validation error)
mmn/client.go:56 Registering node to MMN: {LocalIP:<Public IP> Identity:<Identity> APIKey:<NewKey> VendorID: OS:Ubuntu 20.04.3 LTS Arch:linux/amd64 NodeVersion:1.4.11}
tequilapi/endpoints/mmn.go:119 MMN registration error: server response invalid: 500 Internal Server Error (https://mystnodes.com/api/v1/node){"errorCode":"databaseError","message":"Database error"}
But the node doesn't show under my nodes.
https://github.com/mysteriumnetwork/node/issues/4693#issuecomment-1026250310 This fixed it, make sure to settle and withdraw everything because else you lose it
Describe the bug Validation error is returned on the node dashboard when updating/changing the API key
To Reproduce Steps to reproduce the behavior:
Expected behavior The API key should be updated and the node displayed on the "My Nodes" page.
Screenshots
Environment (please complete the following information):
Additional context Error log show the message below
MMN registration: server response invalid: 500 Internal Server Error (https://mystnodes.com/api/v1/node){"errorCode":"databaseError","message":"Database error"}