googlechat icon indicating copy to clipboard operation
googlechat copied to clipboard

bridge fails to start after restart

Open ericmigi opened this issue 4 years ago • 0 comments

[2020-04-27 16:00:15,361] [[email protected]] Starting appservice web server on 0.0.0.0:29320
[2020-04-27 16:00:15,363] [[email protected]] Ensuring connectivity to homeserver
[2020-04-27 16:00:15,363] [[email protected]] GET /_matrix/client/r0/account/whoami {}
[2020-04-27 16:00:16,449] [[email protected].@anthony:nova.chat] GET /_matrix/client/r0/account/whoami {}
[2020-04-27 16:00:16,467] [[email protected]] Initializing appservice bot
[2020-04-27 16:00:16,488] [[email protected]] PUT /_matrix/client/r0/profile/%40_anthony_hangouts_bot%3Anova.chat/displayname {"displayname": "Hangouts bridge bot"}
[2020-04-27 16:00:16,604] [[email protected]] Initialized custom mxid: @anthony:nova.chat. Not starting sync task
[2020-04-27 16:00:17,015] [[email protected]] PUT /_matrix/client/r0/profile/%40_anthony_hangouts_bot%3Anova.chat/avatar_url {"avatar_url": "mxc://maunium.net/FBXZnpfORkBEruORbikmleAy"}
[2020-04-27 16:00:17,383] [[email protected]] Logging in with bridge bot user
[2020-04-27 16:00:17,486] [[email protected].@anthony:nova.chat] Failed to resume session with stored refresh token
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/hangups/auth.py", line 427, in _get_session_cookies
    r.raise_for_status()
  File "/usr/lib/python3.8/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.google.com/&q=EhAqAQeDS-gRPQ2xlIaesyhd-NS7tMgFy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/mautrix-hangouts/mautrix_hangouts/util/hangups_try_auth.py", line 30, in try_auth
    return TryAuthResp(success=True, cookies=_get_session_cookies(session, access_token),
  File "/usr/lib/python3.8/site-packages/hangups/auth.py", line 429, in _get_session_cookies
    raise GoogleAuthError('MergeSession request failed: {}'.format(e))
hangups.auth.GoogleAuthError: MergeSession request failed: 429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.google.com/&q=EhAqAesyhd-NS7tMgFy
[2020-04-27 16:00:17,826] [[email protected]] Loading room and member list into encryption client

ericmigi avatar Apr 27 '20 17:04 ericmigi