Closed DavyRoswinkel closed 2 years ago
Ok. I got the error because i open the email on my mobile. Then the TgTg app is opening. Then the login is not working.
Now i open it on my computer and now its logged in and sensors are back!
Ok. I got the error because i open the email on my mobile. Then the TgTg app is opening. Then the login is not working.
Good to know, should mention that! Will try to get some colored message there...
Ok. I got the error because i open the email on my mobile. Then the TgTg app is opening. Then the login is not working.
Now i open it on my computer and now its logged in and sensors are back!
Yep this indeed works!
This issue is closed but it is still not working for me :-(
[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [20:19:28] INFO: Copy setings file [20:19:28] INFO: Strating Bridge 2021-12-03 20:19:30 f1c878cb-tgtg-ha-mqtt-bridge main[308] INFO Connecting mqtt 2021-12-03 20:19:30 f1c878cb-tgtg-ha-mqtt-bridge main[308] INFO Starting loop 2021-12-03 20:19:30 f1c878cb-tgtg-ha-mqtt-bridge main[308] DEBUG Logging in with credentials Exception in thread Thread-3: Traceback (most recent call last): File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "toogoodtogo_ha_mqtt_bridge/main.py", line 200, in loop tgtg_client.login() File "/usr/local/lib/python3.8/site-packages/tgtg/init.py", line 146, in login raise TgtgLoginError(response.status_code, response.content) tgtg.exceptions.TgtgLoginError: (403, b'
Please enable JS and disable any ad blocker
\n')Just a thought....
Are you using a password in the configuration?
nope
Just a thought....
Are you using a password in the configuration?
No I reinstalled the add-on and the configuration does not have a password, just my email address
nope
Just a thought....
Are you using a password in the configuration?
No I reinstalled the add-on and the Conf file does not have a password, just my email address
That's correct. For me it works now. Don't know the solution for your problem. Just wait...I am sure Max will help you.
nope
Just a thought.... Are you using a password in the configuration?
No I reinstalled the add-on and the Conf file does not have a password, just my email address
That's correct. For me it works now. Don't know the solution for your problem. Just wait...I am sure Max will help you.
Can you please reopen the issue as it is not fixed for everybody? Or should I open a new one?
I think a new issue works better, as it's a new version of the repo. Also a little different error log.
@DarKOrange75 have you been running the old version before? Or a you a new user?
At first lookthis seems like the common issue that your IP has been 'blocked' temporarily.
Are you able to obtain a new IP address, e.g. by rebooting your Router?
@DavyRoswinkel btw, Thanks for the pizza <3
@DarKOrange75 I experienced the same even with the latest version. Think my IP was still blocked, using a VPN solved the issue!
@MaxWinterstein Thanks for the great work!
@MaxWinterstein and @Vjpiet you are right, I have been running the previous version with the same user, I thought it was disable but was still running so my address/IP might have been blocked. Plus for some reasons my email server was not receiving/rejecting connection emails from tgtg. I left the addon stopped for the night. This morning I stopped my mail server and restarted the addon. I received the email on the backup mail server clicked the link and now everything is working again. Thank you all for your help !
This issue is closed but it is still not working for me :-(
Add-on: TooGoodToGo Home Assistant MQTT Bridge
Publish TooGoodToGo stock as MQTT messages
Add-on version: 1.9.2
You are running the latest version of this add-on. System: Home Assistant OS 6.6 (aarch64 / raspberrypi4-64) Home Assistant Core: 2021.11.5 Home Assistant Supervisor: 2021.10.8
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat. [cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [20:19:28] INFO: Copy setings file [20:19:28] INFO: Strating Bridge 2021-12-03 20:19:30 f1c878cb-tgtg-ha-mqtt-bridge main[308] INFO Connecting mqtt 2021-12-03 20:19:30 f1c878cb-tgtg-ha-mqtt-bridge main[308] INFO Starting loop 2021-12-03 20:19:30 f1c878cb-tgtg-ha-mqtt-bridge main[308] DEBUG Logging in with credentials Exception in thread Thread-3: Traceback (most recent call last): File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/threading.py", line 870, in run self._target(*self._args, self._kwargs) File "toogoodtogo_ha_mqtt_bridge/main.py", line 200, in loop tgtg_client.login() File "/usr/local/lib/python3.8/site-packages/tgtg/init**.py", line 146, in login raise TgtgLoginError(response.status_code, response.content) tgtg.exceptions.TgtgLoginError: (403, b'
apptoogoodtogo.com Please enable JS and disable any ad blocker
\n')
After few hours when it worked, I have this same problem - Captcha is back :/ I reinstalled app, and nothing changed 😢
If you are interested in making nodejs working with ipv6 then take a look at this github issue: nodejs/node#6307
That's been resolved since NodeJS v17.
Add-on version: 1.8.0 You are running the latest version of this add-on. System: Home Assistant OS 6.6 (aarch64 / raspberrypi4-64) Home Assistant Core: 2021.11.2 Home Assistant Supervisor: 2021.10.8
Log: [cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [17:08:48] INFO: Copy setings file [17:08:48] INFO: Strating Bridge 2021-11-09 17:08:56 1e14b3fb-tgtg-ha-mqtt-bridge main[308] INFO Connecting mqtt 2021-11-09 17:08:56 1e14b3fb-tgtg-ha-mqtt-bridge main[308] INFO Starting loop 2021-11-09 17:08:56 1e14b3fb-tgtg-ha-mqtt-bridge main[308] DEBUG Loop run started Exception in thread Thread-3: Traceback (most recent call last): File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "toogoodtogo_ha_mqtt_bridge/main.py", line 158, in loop if not check(): File "toogoodtogo_ha_mqtt_bridge/main.py", line 33, in check shops = tgtg_client.get_items(page_size=400) File "/usr/local/lib/python3.8/site-packages/tgtg/init.py", line 143, in get_items self._login() File "/usr/local/lib/python3.8/site-packages/tgtg/init.py", line 122, in _login raise TgtgLoginError(response.status_code, response.content) tgtg.exceptions.TgtgLoginError: (403, b'
Please enable JS and disable any ad blocker
\n')Didn't they change the way you login? In their app you don't need a password, you will get a login link. Maybe that is what caused this issue, but I could be wrong.