You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a problem with the bridge no longer sending/receiving any messages. I attempted to reinstall multiple times. I can see events firing in the logs when I send a message in Matrix as well as when I receive one in Hangouts, but nothing is communicated between the two services. The only error I can find is immediately after login:
[2020-09-03 04:24:03,006] [INFO@hangups.auth] Authentication successful
[2020-09-03 04:24:03,673] [INFO@hangups.channel] Requesting new gsessionid and SID...
[2020-09-03 04:24:03,674] [DEBUG@hangups.http_utils] Sending request post https://0.client-channel.google.com/client-channel/channel/bind:
{'count': 0, 'ofs': 0}
[2020-09-03 04:24:03,873] [DEBUG@hangups.http_utils] Received response 200 OK:
b'100\n[[0,["c","E[redacted]","",8]\n]\n,[1,[{"gsid":"h[redacted]"}]]\n]\n'
[2020-09-03 04:24:03,874] [INFO@hangups.channel] New SID: E[redacted]
[2020-09-03 04:24:03,874] [INFO@hangups.channel] New gsessionid: h[redacted]
[2020-09-03 04:24:03,874] [INFO@hangups.channel] Opening new long-polling request
[2020-09-03 04:24:03,922] [DEBUG@hangups.channel] Received chunk:
b'153\n[[2,[{"p":"{\\"1\\":{\\"1\\":{\\"1\\":{\\"1\\":1,\\"2\\":1}},\\"4\\":\\"[redacted]\\",\\"5\\":\\"S1\\"},\\"3\\":{\\"1\\":{\\"1\\":1},\\"2\\":\\"lcsw_hangouts_[redacted]\\"}}"}]]\n]\n'
[2020-09-03 04:24:03,922] [DEBUG@hangups.event] Fired Event('Channel.on_connect')
[2020-09-03 04:24:03,922] [DEBUG@hangups.event] Fired Event('Client.on_connect')
[2020-09-03 04:24:03,927] [DEBUG@hangups.client] Sending Protocol Buffer request contacts/getselfinfo:
request_header {
client_version {
client_id: CLIENT_ID_WEB_HANGOUTS
major_version: "hangups-0.4.10"
}
language_code: "en"
}
[2020-09-03 04:24:03,927] [DEBUG@hangups.http_utils] Sending request post https://clients6.google.com/chat/v1/contacts/getselfinfo:
b'\n\x18\n\x12\x08,\x1a\x0ehangups-0.4.10"\x02en'
[2020-09-03 04:24:04,089] [DEBUG@hangups.http_utils] Received response 401 Unauthorized:
b'{\n "error": {\n "code": 401,\n "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",\n "errors": [\n {\n "message": "Invalid Credentials",\n "domain": "global",\n "reason": "authError",\n "location": "Authorization",\n "locationType": "header"\n }\n ],\n "status": "UNAUTHENTICATED"\n }\n}\n'
[2020-09-03 04:24:04,089] [INFO@hangups.http_utils] Request returned unexpected status: 401 Unauthorized
[2020-09-03 04:24:04,090] [ERROR@mau.user.@f13:[redacted]] Failed to get_self_info
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/mautrix_hangouts/user.py", line 232, in on_connect_later
info = await self.client.get_self_info(hangouts.GetSelfInfoRequest(
File "/usr/lib/python3.8/site-packages/hangups/client.py", line 543, in get_self_info
await self._pb_request('contacts/getselfinfo',
File "/usr/lib/python3.8/site-packages/hangups/client.py", line 413, in _pb_request
res = await self._base_request(
File "/usr/lib/python3.8/site-packages/hangups/client.py", line 469, in _base_request
res = await self._session.fetch(
File "/usr/lib/python3.8/site-packages/hangups/http_utils.py", line 86, in fetch
raise exceptions.NetworkError(
hangups.exceptions.NetworkError: Request return unexpected status: 401: Unauthorized
After this error I continue to see regular log updates, including what appear to be Hangouts events, including:
I have tried completely removing the mautrix database and restarting the docker container from scratch and I still get the same result. Aside from the one error noted above, the log makes no indication whatsoever that anything is amiss.
Any thoughts?
The text was updated successfully, but these errors were encountered:
I had a problem with the bridge no longer sending/receiving any messages. I attempted to reinstall multiple times. I can see events firing in the logs when I send a message in Matrix as well as when I receive one in Hangouts, but nothing is communicated between the two services. The only error I can find is immediately after login:
After this error I continue to see regular log updates, including what appear to be Hangouts events, including:
and others.
I have tried completely removing the mautrix database and restarting the docker container from scratch and I still get the same result. Aside from the one error noted above, the log makes no indication whatsoever that anything is amiss.
Any thoughts?
The text was updated successfully, but these errors were encountered: