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: request returned 404 Not Found #49

Closed
TorstenBrendgen opened this issue Jun 16, 2022 · 2 comments
Closed

Error: request returned 404 Not Found #49

TorstenBrendgen opened this issue Jun 16, 2022 · 2 comments
Labels
question Further information is requested

Comments

@TorstenBrendgen
Copy link

Hi, after installing the Adapter in version 2.0.0 from Github or Installing the current version from ioBroker i get this error message

smartgarden.0 15054 2022-06-16 16:05:02.891 info 3/ ---> State change by device: state sg.0.info.connection changed: false (ack = true)
smartgarden.0 15054 2022-06-16 16:05:02.886 info 3/ ---> State change by device: state sg.0.info.connection changed: false (ack = true)
smartgarden.0 15054 2022-06-16 16:05:02.867 info 3/ getConnection: trying to connect again in 300 seconds
smartgarden.0 15054 2022-06-16 16:05:02.866 info 3/ getConnection: returned connection error: request returned 404 Not Found
smartgarden.0 15054 2022-06-16 16:05:02.865 info 3/ sgSetState: info.connection value=false ack=true
smartgarden.0 15054 2022-06-16 16:05:02.863 error Error: request returned 404 Not Found
smartgarden.0 15054 2022-06-16 16:05:02.862 info 3/ get_locations failure:..return with error
smartgarden.0 15054 2022-06-16 16:05:02.860 info 3/ get_locations failure: response.statusCode/Message=404/Not Found
smartgarden.0 15054 2022-06-16 16:05:02.858 info 3/ sgSetState: info.connection value=false ack=true
smartgarden.0 15054 2022-06-16 16:04:57.597 info 3/ get_locations ...
smartgarden.0 15054 2022-06-16 16:04:57.595 info 3/ connected ... auth_data=eyJhXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXX
smartgarden.0 15054 2022-06-16 16:04:57.593 info 3/ Connection: expires_in/timeout/factor:86399 / 86313 / 0.999
smartgarden.0 15054 2022-06-16 16:04:57.591 info 3/ Connection: successful: response.statusCode / statusMessage=200 / OK
smartgarden.0 15054 2022-06-16 16:04:51.376 info 3/ ---> State change by device: state sg.0.info.adapterversion changed: 2.0.0 (ack = true)
smartgarden.0 15054 2022-06-16 16:04:51.373 info 3/ ---> State change by device: state sg.0.info.revision changed: Main: 2831 / API: 2831 (ack = true)
smartgarden.0 15054 2022-06-16 16:04:51.368 info 3/ ---> State change by device: state sg.0.info.connection changed: false (ack = true)
smartgarden.0 15054 2022-06-16 16:04:51.364 info 3/ ---> State change by device: state sg.0.info.connection changed: false (ack = true)
smartgarden.0 15054 2022-06-16 16:04:51.353 info 3/ sgSetState: info.revision value=Main: 2831 / API: 2831 ack=true
smartgarden.0 15054 2022-06-16 16:04:51.296 info 3/ connect ... using client credentials grant
smartgarden.0 15054 2022-06-16 16:04:51.295 info 3/ connect ... empty password
smartgarden.0 15054 2022-06-16 16:04:51.294 info 3/ connect ... empty username
smartgarden.0 15054 2022-06-16 16:04:51.294 info 3/ Gardena Smart System Service hosts at: smart_host: https://api.smart.gardena.dev authentication_host: https://api.authentication.husqvarnagroup.dev
smartgarden.0 15054 2022-06-16 16:04:51.293 info 3/ connecting to Gardena Smart System Service ...
smartgarden.0 15054 2022-06-16 16:04:51.292 info 3/ sgSetState: info.connection value=false ack=true
smartgarden.0 15054 2022-06-16 16:04:51.289 info 3/ connectToGardena...
smartgarden.0 15054 2022-06-16 16:04:51.288 info 3/ getConnection...
smartgarden.0 15054 2022-06-16 16:04:51.234 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v14.19.3, js-controller: 4.0.23
host.raspberrypi   2022-06-16 16:04:49.683 info instance system.adapter.smartgarden.0 started with pid 15054
host.raspberrypi   2022-06-16 16:04:49.600 info "system.adapter.smartgarden.0" enabled

My Instance Settings
image

My Husqvarna Setting
image

I reinstalled the Adapter a couple times, and i also created a new Application in the API.

Can someone help me?

Thanks
Torsten

@jpgorganizer
Copy link
Owner

jpgorganizer commented Jun 16, 2022

Error: request returned 404 Not Found

that's the error from your log. It seems that the API doesn't "find" your devices. Which devices do you have? Can you control your devices with the Gardena App? You're using the same account?

Just a try - try login with username and password

@jpgorganizer jpgorganizer added the question Further information is requested label Jun 18, 2022
@jpgorganizer
Copy link
Owner

pls feedback till 23.6.22
otherwise issue will be closed

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

2 participants