skydiver / ewelink-api

eWeLink API for JavaScript
https://www.npmjs.com/package/ewelink-api
MIT License
265 stars 109 forks source link

Error 503 Service #103

Closed vmagalhaes closed 3 years ago

vmagalhaes commented 3 years ago

Hey!

In the last few days, the server looks strange, I'm getting this error at some methods: { error: 503, msg: undefined }

Are happening with you too?

cristiancporto commented 3 years ago

Hey!

In the last few days, the server looks strange, I'm getting this error at some methods: { error: 503, msg: undefined }

Are happening with you too?

I'm getting a FetchError 'invalid json response body at https://us-api.coolkit.cc:8080/api/user/device/status reason: Unexpected token < in JSON at position 0' sometimes in the last few weeks... Not the same, but maybe related?

vmagalhaes commented 3 years ago

Hey! In the last few days, the server looks strange, I'm getting this error at some methods: { error: 503, msg: undefined } Are happening with you too?

I'm getting a FetchError 'invalid json response body at https://us-api.coolkit.cc:8080/api/user/device/status reason: Unexpected token < in JSON at position 0' sometimes in the last few weeks... Not the same, but maybe related?

Yeh, same with me, I changed to branch release/3.1.0 and changed the method to setWSPowerState

vmagalhaes commented 3 years ago

https://github.com/skydiver/ewelink-api/issues/89 @cristiancporto