iobroker-community-adapters / ioBroker.tankerkoenig

Spritpreis Adapter für ioBroker
http://www.iobroker.net
MIT License
31 stars 13 forks source link

requestData axios response not ok #130

Open Diginix opened 1 year ago

Diginix commented 1 year ago

Is there an existing issue for this?

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

xXBJXx commented 1 year ago

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

Diginix commented 1 year ago

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 commented 1 year ago

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