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

requestData axios response not ok #130

Open
1 task done
Diginix opened this issue Apr 18, 2023 · 3 comments
Open
1 task done

requestData axios response not ok #130

Diginix opened this issue Apr 18, 2023 · 3 comments

Comments

@Diginix
Copy link

Diginix commented Apr 18, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Today I have a lot of this log errors:

2023-04-18 06:06:31.348 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response not ok
2023-04-18 06:06:31.355 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response data: {"status":"error","ok":false,"message":"last will"}

2023-04-18 06:48:52.053 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response not ok
2023-04-18 06:48:52.053 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response data: {"status":"error","ok":false,"message":"last will"}

2023-04-18 07:31:13.012 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response not ok
2023-04-18 07:31:13.013 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response data: {"status":"error","ok":false,"message":"last will"}

2023-04-18 07:52:23.379 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response not ok
2023-04-18 07:52:23.379 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response data: {"status":"error","ok":false,"message":"last will"}

2023-04-18 08:02:58.682 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response not ok
2023-04-18 08:02:58.683 - error: tankerkoenig.0 (2782) [ Adapter V:3.3.7 requestData axios: 1.3.2 ] response data: {"status":"error","ok":false,"message":"last will"}

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Adapter version

3.3.7

Environment

- Node: 16.19.1
- npm: 8.19.3
- JS-Controller: 4.0.24
- Operating system: Ubuntu 22.04.2 LTS

What browsers are you seeing the problem on?

No response

Screenshots & Log

No response

@Diginix Diginix added the bug label Apr 18, 2023
@xXBJXx
Copy link
Contributor

xXBJXx commented Apr 18, 2023

The error {"status": "error", "ok":false, "message": "last will"} does not tell me now. Did you try to restart the adapter?

@Diginix
Copy link
Author

Diginix commented Apr 18, 2023

Since 08:02 clock it doesn't happen anymore. So I guess there was a problem with their API or service or server.
But this shouldn't spam the iobroker log every run with this unspecific content. Maybe one warning "service unavailable" would be nice. From my side it is ok now and issue can be closed or interpreted as feature request.

@xXBJXx
Copy link
Contributor

xXBJXx commented Apr 18, 2023

I'll leave it open, see what I can put in there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants