nibi79 / worxlandroid

openHAB Binding for Worx Landroid
57 stars 20 forks source link

Error calling Worx Landroid WebApi! HTTP Status = 404 #78

Closed Alexaas closed 1 year ago

Alexaas commented 1 year ago

Hi, I am using v3.2 version of the landroid binding with oh 3.1.1. I am getting the following error when the binding starts:

2023-04-04 09:11:19.945 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:mower:myworxbridge:<mysnr>' changed from OFFLINE to UNINITIALIZED

2023-04-04 09:11:19.957 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:mower:myworxbridge:<mysnr>' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2023-04-04 09:11:19.959 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:worxlandroidBridge:myworxbridge' changed from OFFLINE (COMMUNICATION_ERROR): Error: Error calling Worx Landroid WebApi! HTTP Status = 404 to UNINITIALIZED

2023-04-04 09:11:19.972 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:worxlandroidBridge:myworxbridge' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2023-04-04 09:11:20.914 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me

2023-04-04 09:11:20.286 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:mower:myworxbridge:<mysnr>' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2023-04-04 09:11:20.288 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:worxlandroidBridge:myworxbridge' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

2023-04-04 09:11:21.181 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate

2023-04-04 09:11:21.184 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate

2023-04-04 09:11:21.265 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Iniialization error - class: org.openhab.binding.worxlandroid.internal.webapi.WebApiException

2023-04-04 09:11:21.267 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Iniialization error - message: Error calling Worx Landroid WebApi! HTTP Status = 404

2023-04-04 09:11:21.268 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Iniialization error - stacktrace: [Ljava.lang.StackTraceElement;@126cdd7

2023-04-04 09:11:21.270 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Iniialization error - toString: org.openhab.binding.worxlandroid.internal.webapi.WebApiException: Error calling Worx Landroid WebApi! HTTP Status = 404

2023-04-04 09:11:21.294 [DEBUG] [id.internal.WorxLandroidMowerHandler] - Initializing WorxLandroidMowerHandler for serialNumber '<mysnr>'

2023-04-04 09:11:21.296 [DEBUG] [id.internal.WorxLandroidMowerHandler] - Initialize thing: Landroid::worxlandroid:mower:myworxbridge:<mysnr>

2023-04-04 09:11:21.274 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:worxlandroidBridge:myworxbridge' changed from INITIALIZING to OFFLINE (COMMUNICATION_ERROR): Error: Error calling Worx Landroid WebApi! HTTP Status = 404

2023-04-04 09:11:21.288 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:mower:myworxbridge:<mysnr>' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2023-04-04 09:11:21.296 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'worxlandroid:mower:myworxbridge:<mysnr>' changed from INITIALIZING to OFFLINE

My credentials are correct. Is there already a solution for it?

Thanks and Regards, Alex

nibi79 commented 1 year ago

Hi Alex,

generally, old versions of the binding are not functional anymore. There is a new beta version available, but it is not stable.

Please take a look at this issue: https://github.com/nibi79/worxlandroid/issues/73

Alexaas commented 1 year ago

You mean v3.4.1-beta 2023-03-28? It is mentioned that it doesn't work with oh 3.2 so I assume it doesn't work with 3.1.1 either?

nibi79 commented 1 year ago

You mean v3.4.1-beta 2023-03-28?

Yes, but only with OH >= 3.3. All older versions of the binding doesn't work anymore because POSITEC has changed the API

Alexaas commented 1 year ago

Ok, will deaktivate the binding until I have time to upgrade OH