Pigotka / ha-cc-jablotron-cloud

HACS custom component for jablotron cloud integration
GNU General Public License v3.0
11 stars 1 forks source link

Unable to retrieve session_id #11

Closed michalrentka closed 9 months ago

michalrentka commented 9 months ago

Hi,

Jablotron Cloud has been working fine for me for a while now, but today this issue showed up out of nowhere:

2023-11-03 20:04:27.480 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Jablotron Cloud' for jablotron_cloud integration not ready yet: Unable to retrieve session_id.; Retrying in background
2023-11-03 20:04:32.648 ERROR (MainThread) [custom_components.jablotron_cloud] Unexpected error fetching Jablotron data: Unable to retrieve session_id.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/jablotron_cloud/__init__.py", line 91, in _async_update_data
self.session_id = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/jablotronpy/jablotronpy.py", line 96, in get_session_id
raise UnexpectedResponse("Unable to retrieve session_id.")
jablotronpy.jablotronpy.UnexpectedResponse: Unable to retrieve session_id.

Is this rate limiting by Jablotron or something else?

Pigotka commented 9 months ago

As mentioned in another issue today. Jablotron issued new terms of condition. You need to manually accept them in your jablotron cloud using web browser.

On Fri, Nov 3, 2023, 20:19 Michal Rentka @.***> wrote:

Hi,

Jablotron Cloud has been working fine for me for a while now, but today this issue showed up out of nowhere:

2023-11-03 20:04:27.480 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Jablotron Cloud' for jablotron_cloud integration not ready yet: Unable to retrieve session_id.; Retrying in background 2023-11-03 20:04:32.648 ERROR (MainThread) [custom_components.jablotron_cloud] Unexpected error fetching Jablotron data: Unable to retrieve session_id. Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/jablotron_cloud/init.py", line 91, in _async_update_data self.session_id = await self.hass.async_add_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/jablotronpy/jablotronpy.py", line 96, in get_session_id raise UnexpectedResponse("Unable to retrieve session_id.") jablotronpy.jablotronpy.UnexpectedResponse: Unable to retrieve session_id.

Is this rate limiting by Jablotron or something else?

— Reply to this email directly, view it on GitHub https://github.com/Pigotka/ha-cc-jablotron-cloud/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWPQSNNYVX4NMC67LFTU3YCU7SVAVCNFSM6AAAAAA644AM2WVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TMNZZGU3DCNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

michalrentka commented 9 months ago

As mentioned in another issue today. Jablotron issued new terms of condition. You need to manually accept them in your jablotron cloud using web browser. On Fri, Nov 3, 2023, 20:19 Michal Rentka @.> wrote: Hi, Jablotron Cloud has been working fine for me for a while now, but today this issue showed up out of nowhere: 2023-11-03 20:04:27.480 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Jablotron Cloud' for jablotron_cloud integration not ready yet: Unable to retrieve session_id.; Retrying in background 2023-11-03 20:04:32.648 ERROR (MainThread) [custom_components.jablotron_cloud] Unexpected error fetching Jablotron data: Unable to retrieve session_id. Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/jablotron_cloud/init.py", line 91, in _async_update_data self.session_id = await self.hass.async_add_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/jablotronpy/jablotronpy.py", line 96, in get_session_id raise UnexpectedResponse("Unable to retrieve session_id.") jablotronpy.jablotronpy.UnexpectedResponse: Unable to retrieve session_id. Is this rate limiting by Jablotron or something else? — Reply to this email directly, view it on GitHub <#11>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWPQSNNYVX4NMC67LFTU3YCU7SVAVCNFSM6AAAAAA644AM2WVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TMNZZGU3DCNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

@Pigotka I tried checking jablonet.net before posting this issue and I'm checking now, but nothing popped up for me. I don't see anything to accept anywhere.

Edit: I tried removing existing integration, restarting HA and re-adding the integration, now I get Invalid authentication when trying to set initial email, password and PIN. I don't see TOS update on web or app.

d4v1d282 commented 9 months ago

Hi. I have this error too. Exactly same issue as you described in edit.

Karel311 commented 9 months ago

just installed this custom component 1h ago for the first time (0.5.1) but getting the "invalid authentication" error too.

MrMess81 commented 9 months ago

same problem for me. invalid authentication. I tried the same account from a mobile and it works perfectly.

Pigotka commented 9 months ago

Guys we need to update to new API. Wait for next release likely on Monday.

On Sat, Nov 4, 2023, 12:41 MrMess81 @.***> wrote:

same problem for me. invalid authentication

— Reply to this email directly, view it on GitHub https://github.com/Pigotka/ha-cc-jablotron-cloud/issues/11#issuecomment-1793420371, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWPQTKLACIYAHLIKVHUELYCYSX3AVCNFSM6AAAAAA644AM2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQZDAMZXGE . You are receiving this because you were mentioned.Message ID: @.***>

Pigotka commented 9 months ago

New version released.