26 Aug 2024 |
tulir | yes, the "Request failed" log should have the body | 21:12:25 |
ampersandru | > <@bigmalletman:beeper.com> maybe someone who has done this already can answer...
> what is the login command looking for?
> it says "cookies". i've set up all the other bridges that require copying cURLs etc...
what I did was `/msg @sh-mautrix-gvoicebot:beeper.local` then `login`, then pasted in the following with values from https://docs.mau.fi/bridges/go/gmessages/authentication.html#google-account-login (login and press F12 for values)
```
{
"SID": "...",
"HSID": "...",
"SSID": "...",
"APISID": "...",
"SAPISID": "..."
}
``` | 21:13:35 |
adambloom | In reply to @adambloom:beeper.com Is this bridge being integrated into beeper base? Following up on this | 21:13:43 |
bigmalletman | In reply to @tulir:maunium.net yes, the "Request failed" log should have the body hopefully this is what you want...
{"level":"warn","portal_id":"t.+00000000000","portal_mxid":"!boopboopboop:beeper.local","action":"handle matrix event","event_type":"m.room.message","request_url":"https://clients6.google.com/voice/v1/voiceclient/api2thread/sendsms?alt=proto&key=boopboopboop","retry_count":0,"status_code":429,"response_data":"voice_error: {"error_code":"RESOURCE_EXHAUSTED","base64_format":"CAI=","protojson_fava_format":"[2]"}","time":"2024-08-26T16:07:55.109948-05:00","message":"Request failed, not retrying"} {"level":"error","portal_id":"t.+00000000000","portal_mxid":"!boopboopboop:beeper.local","action":"handle matrix event","event_type":"m.room.message","error":"unexpected status code 429","time":"2024-08-26T16:07:55.110187-05:00","message":"Failed to handle Matrix message"}
| 21:16:59 |
ampersandru | * what I did was /msg @sh-mautrix-gvoicebot:beeper.local then login , then pasted in the following with values from https://docs.mau.fi/bridges/go/gmessages/authentication.html#google-account-login (login and press F12 for values)
{
"SID": "...",
"HSID": "...",
"SSID": "...",
"APISID": "...",
"SAPISID": "..."
}
| 21:17:18 |
bigmalletman | its okay bridge bot... i'm exhausted too ☹️ | 21:18:32 |
bigmalletman | i'm not seeing many trace lines anywhere in this file... | 21:19:31 |
ampersandru | In reply to @bigmalletman:beeper.com i'm not seeing many trace lines anywhere in this file... did you run the bridge with --no-override-config | 21:21:29 |
bigmalletman | yes, i always include that flag | 21:21:40 |
tulir | the response_data field appears when trace logging is enabled | 21:21:42 |
bigmalletman | logging:
min_level: trace
writers:
- type: stdout
format: pretty-colored
- type: file
format: json
filename: ./logs/bridge.log
max_size: 100
max_backups: 10
compress: false | 21:22:46 |
bigmalletman | did i do something wrong? | 21:22:49 |
tulir | no | 21:22:54 |
bigmalletman | it doesn't seem like a lot of additional information... | 21:23:57 |
tulir | can you try blocking https://www.google.com/recaptcha/* using using browser devtools and seeing if the web app still lets you send messages? | 21:35:45 |
tulir | chrome: ctrl+shift+p -> show network request blocking -> + -> enter url -> press add firefox: click the 🚫 button to the right of the url filter bar -> enter url -> press enter | 21:37:00 |
tulir | (and make sure that the devtools shows blocked requests to recaptcha when sending before the sendsms call) | 21:37:27 |
ampersandru | In reply to @tulir:maunium.net can you try blocking https://www.google.com/recaptcha/* using using browser devtools and seeing if the web app still lets you send messages? seems to still send via webapp | 21:52:43 |
tulir | did you send before blocking? if yes, try reloading the page so it's blocked all the time | 21:54:52 |
ampersandru | reloaded, double checked its still blocked, sent message and it still sends | 21:55:45 |
27 Aug 2024 |
| Meowlnir joined the room. | 09:54:12 |
| roc joined the room. | 15:47:36 |
roc | How’s it going getting this bridge setup and functional? | 20:36:58 |
bigmalletman | In reply to @rollingonchrome:matrix.org How’s it going getting this bridge setup and functional? it builds. it receives. it backfills. ampersandru and i have reported errors when we try to send. | 20:40:52 |
bigmalletman | oh! and i just checked and receiving picture message (MMS) works as well. | 20:49:21 |
bigmalletman | tried to use sh-gmessage and google messages to send a voice message to sh-gvoice.
shows as "File type not supported by Google Voice" but also shows that way in the webapp, so this is on par.
oh google voice 😆 | 20:56:52 |
ampersandru | honestly, surprised GV has survived as long as it has. Thought Google would kill it off since they never improve or touch it | 20:58:31 |
bigmalletman | the standard google voice at least. i'm not sure about the Business Phone service. | 21:00:51 |
roc | Thanks for the feedback on your collective progress. | 21:49:17 |
28 Aug 2024 |
james | @tulir do you have a good repro of the sending issue? Do you want access to a test account I have a 2nd GV account that I don't use | 11:05:04 |