Apollon77 / daikin-controller-cloud

Connect and Control Daikin Cloud devices
MIT License
98 stars 25 forks source link

ERR_GOT_REQUEST_ERROR while login #111

Closed RonaldJaenicke closed 1 year ago

RonaldJaenicke commented 1 year ago

Describe the bug
I get a ERR_GOT_REQUEST_ERROR when calling const resultTokenSet = await daikinCloud.login(args[0], args[1]);

The software runs on a raspberrypi

To Reproduce
Start tokensaver.js (with username and password) on the system.

Expected behavior
No such error

Screenshots & Logfiles

Versions:
Additional context
Problem can be solved by remoiving all lines: retries: this.options.communicationRetries,

in the login method of daikin cloud. Maybe the variant of got for raspberry doesn't support retries.

RonaldJaenicke commented 1 year ago

Maybe its a duplicate of #97 .

Apollon77 commented 1 year ago

It is a duplicate. After my vacation (so after 10.6.) I will looking into an update, thankyou!

Apollon77 commented 1 year ago

duplicate #97