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

Unknown error occurred #80

Open
ensrationis opened this issue Dec 4, 2024 · 8 comments
Open

Unknown error occurred #80

ensrationis opened this issue Dec 4, 2024 · 8 comments

Comments

@ensrationis
Copy link
Member

Try to make new subscription setup with ver 2.0.1

image

@0xSamsara
Copy link

Same indeed

Screenshot 2024-12-04 at 10 33 21

@LoSk-p
Copy link
Member

LoSk-p commented Dec 4, 2024

Provide Home Assistant logs, please. And check if the field 'datalogtimeout' exists in the setup file.

@ensrationis
Copy link
Member Author

Provide Home Assistant logs, please. And check if the field 'datalogtimeout' exists in the setup file.

'datalogtimeout' - not found in my backup file.

Only:
"meta":{"whenCreated":1733303952402}

@LoSk-p
Copy link
Member

LoSk-p commented Dec 4, 2024

The file is not correct, it must contain this field. You should write the issue to https://github.com/airalab/robonomics.app

@ensrationis
Copy link
Member Author

"this field" - which ones?

Please provide the correct structure of the file in the form of an example here. Additionally, create the issue yourself instead of asking users to put in more effort to resolve this. Providing a direct link to the robonomics.app issue would be the best practice!

@LoSk-p
Copy link
Member

LoSk-p commented Dec 4, 2024

Are your steps for creating the setup file the same as those described in this issue? airalab/robonomics.app#175

@ensrationis
Copy link
Member Author

ensrationis commented Dec 4, 2024

Think so, could you publish here the normal structure of the file? I will fix the problem on my side in text editor for now, and check it on hass side without waiting resolving dapp issue...

@LoSk-p
Copy link
Member

LoSk-p commented Dec 4, 2024

There is the way to obtain a setup file with the correct structure from the Robonomics App. However, note that this will regenerate the controller account. Follow these steps:

  • After generating controller press the save button in the Subscription settings chapter.
  • You will then see a Download backup button. Press it and choose For the Server.

If you want to retain your current controller account, here is the correct file structure:

{
    "name": "Shtab Polkadot",
    "owner": "4FiX4Z6k4qGtvZo7vKk65iVyux7fhcrpaHXVpVZoZPQwHCbf",
    "controller": "4FQTyPtCbFaxanRZuFNeHsgMetJ32BjHU8URqQz8y31Cb981",
    "controllerkey": "{\"encoded\":\"<encoced_controller_acc>\",\"encoding\":{\"content\":[\"pkcs8\",\"ed25519\"],\"type\":[\"scrypt\",\"xsalsa20-poly1305\"],\"version\":\"3\"},\"address\":\"4FQTyPtCbFaxanRZuFNeHsgMetJ32BjHU8URqQz8y31Cb981\",\"meta\":{\"whenCreated\":1728123152606}}",
    "datalogtimeout": 10,
    "pinatapublic": "",
    "pinataprivate": "",
    "ipfsurl": "",
    "ipfsport": "443"
}

The value under the "controllerkey" should contain the contents of your file with escaped quotes.

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

3 participants