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

[openuv] invalid json received #12932

Closed
nesys opened this issue Jun 13, 2022 · 9 comments · Fixed by #12958
Closed

[openuv] invalid json received #12932

nesys opened this issue Jun 13, 2022 · 9 comments · Fixed by #12958
Assignees
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@nesys
Copy link
Contributor

nesys commented Jun 13, 2022

strange issue with Openuv Binding. I see sometimes the binding is suddenly stopping, and I see this on PaperUI:

Invalid json received when calling https://api.openuv.io/api/v1/uv?lat=45.465051&lng=9.094615&alt=0` : {"error":{"name":"MongoError","message":"user is not allowed to do action [find] on [openuv-billing.requests]","ok":0,"errmsg":"user is not allowed to do action [find] on [openuv-billing.requests]","code":8000,"codeName":"AtlasError"}}`

If I start again (disabling and re-enabling the API via PaperUI), everything becomes green and online.

Expected Behavior

the binding should stay online

Current Behavior

the binding suddenly stops working. it needs a forced restart to go back online

Steps to Reproduce (for Bugs)

sometimes it happens, especially during the night

Your Environment

  • Version used: 3.3.0 M6
  • Environment name and version: openHABian
  • Operating System and version: debian "buster"
@nesys nesys added the bug An unexpected problem or unintended behavior of an add-on label Jun 13, 2022
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openuv-invalid-json-received/136556/4

@lolodomo
Copy link
Contributor

You mean MainUI, not PaperUI which does not exist anymore in v3.x.

@nesys
Copy link
Contributor Author

nesys commented Jun 13, 2022

exactly, apologies for that :)

@clinique clinique self-assigned this Jun 13, 2022
@nesys
Copy link
Contributor Author

nesys commented Jun 17, 2022

Update: now also during the day, and it is not recovering, even disabling and re-enabling the binding. It saying "User with API key not found" ... but the key is correct

@clinique
Copy link
Contributor

Update: now also during the day, and it is not recovering, even disabling and re-enabling the binding. It saying "User with API key not found" ... but the key is correct

Yes, have it also currently. There is an error on OpenUV api side.

@nesys
Copy link
Contributor Author

nesys commented Jun 17, 2022

Update: now also during the day, and it is not recovering, even disabling and re-enabling the binding. It saying "User with API key not found" ... but the key is correct

Yes, have it also currently. There is an error on OpenUV api side.

that happened sometimes also in the past ...

@nesys
Copy link
Contributor Author

nesys commented Jun 17, 2022

btw this binding is becoming a nightmare for you, @clinique ... I'm really sorry for that, but thanks for your support

@clinique
Copy link
Contributor

Don't bother, I've seen worst nightmares :) This one will be quite easy to fix.

@lolodomo
Copy link
Contributor

Can we close the issue now?

@jlaur jlaur linked a pull request Jun 19, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants