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

ERROR / getWebApi(): Error retrieving smartlocks: Cannot read properties of undefined (reading 'toLowerCase') #280

Open
ymurawski opened this issue Apr 13, 2023 · 4 comments
Labels
question Further information is requested

Comments

@ymurawski
Copy link

Hi, i set up Nuki extended today and created and WEB API Token under https://web.nuki.io/#/pages/web-api / API Token- Generate API Token and gave it all rights.

Then i entered it in the Iobroker instance.
But it just shows me my Bridge and not any opener or Door Lock.
in Log it says getWebApi(): Error retrieving smartlocks: Cannot read properties of undefined (reading 'toLowerCase')

Any ideas ?

@micudaj
Copy link

micudaj commented Apr 28, 2023

I have the same issue

@ymurawski
Copy link
Author

I have the same issue

Update the adapter via the guthup repository... The cat symbol... They didn't update the adapter in iobroker to the latest release

@mcm1957
Copy link
Member

mcm1957 commented Jun 26, 2023

@ymurawski

Please always add the minimum required infos:

Version of adapter:
Js-controlelr Version:
Node Version:

If the problem is solved with 2.6.5 please let us know.

@mcm1957 mcm1957 added the question Further information is requested label Jun 26, 2023
@M1cS0w
Copy link

M1cS0w commented Apr 21, 2024

Hello I got the same issue.

Yesterday with:

📷 nuki-extended.0 2024-04-20 22:20:18.241warngetWebApi(): Error retrieving notifications: 502 - "<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n" 📷 nuki-extended.0 2024-04-20 22:18:29.162warngetWebApi(): Error retrieving smartlocks: 500 - "<html>\r\n<head><title>500 Internal Server Error</title></head>\r\n<body>\r\n<center><h1>500 Internal Server Error</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"

And now:

`

nuki-extended.0 2024-04-21 14:21:06.985 warn getWebApi(): Error retrieving smartlocks: Error: getaddrinfo ENOTFOUND api.nuki.io
nuki-extended.0 2024-04-21 14:21:06.984 warn getWebApi(): Error retrieving notifications: Error: getaddrinfo ENOTFOUND api.nuki.io
`

admin version: v6.13.16
Node.JS: v18.20.2
NPM: 10.5.0
Linux virtual machine: debian 12 bookworm
Adapter version: 2.6.5

Since this two issues, I only change on my Unifi Dream Machine Pro the network safety for DNS shield on automatic. Ad Blocking is still on the network active. I had idea, that this could be a ad blocking problem, but this isn't.

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

No branches or pull requests

4 participants