TA2k / ioBroker.bosch-ebike

ioBroker Adapter for bosch ebikes
MIT License
6 stars 3 forks source link

AggregateError - Adapter don't start #23

Closed MatzeFro closed 5 days ago

MatzeFro commented 2 months ago

The Adapter Version 0.1.7 don't start

i have a new ebike and i try to install the Adapter but in the log i found AggregateError.

2024-09-13 21:53:33.963 - info: bosch-ebike.0 (207636) Login to eBike flow 2024-09-13 21:53:34.077 - silly: bosch-ebike.0 (207636) States system redis pmessage io.system.adapter.bosch-ebike.0.logLevel/io.system.adapter.bosch-ebike.0.logLevel:{"val":"silly","ack":true,"ts":1726264414064,"q":0,"from":"system.adapter.bosch-ebike.0","lc":1726252703979} 2024-09-13 21:53:34.083 - silly: bosch-ebike.0 (207636) States user redis pmessage io.bosch-ebike.0.*/io.bosch-ebike.0.info.connection:{"val":false,"ack":true,"ts":1726264414080,"q":0,"from":"system.adapter.bosch-ebike.0","user":"system.user.admin","lc":1726252565892} 2024-09-13 21:53:34.319 - error: bosch-ebike.0 (207636) AggregateError 2024-09-13 21:53:34.320 - error: bosch-ebike.0 (207636) Could not extract form data

Whre to search for an solution=

MatzeFro commented 5 days ago

auch nach dem Update auf Version 0.1.9 bekomme ich weiter den "AggregateError". Es ist also kein LogIn möglich :(

TA2k commented 5 days ago

Can you open this page and login? https://p9.authz.bosch.com/auth/realms/obc/protocol/openid-connect/auth?client_id=one-bike-app&code_challenge=dDp31yHNMAGZeMSXeoOK66WOZOtkZjqYzpdZnfbWZfQ&code_challenge_method=S256&kc_idp_hint=skid&nonce=5bkl6RxVoUl3yFKi0SqgORYowCT16PG6htILaP0ujhQ&prompt=login&redirect_uri=onebikeapp-ios%3A%2F%2Fcom.bosch.ebike.onebikeapp%2Foauth2redirect&response_type=code&scope=openid%20offline_access&state=DECUwcce3we_7TDOt9fiLumGwylUrrjaMyX2vfQM90k

MatzeFro commented 5 days ago

Yes - i can open the site. first try to login don't work. the second try works. now the adapter also go to green and i see "trips"

TA2k commented 5 days ago

What was the error on the first login?

MatzeFro commented 5 days ago

no error - just a second login was required. now it looks good.