23 Jan 2024 |
| j ⚡️ left the room. | 17:16:16 |
Marco | I'm having trouble getting the new bot to answer me 🤔 | 18:08:38 |
Marco | Cleared all the old bot (facebook) rooms, shut the bridge down, recreated the db from scratch | 18:09:46 |
Marco | Tried using the same bot username and a different one | 18:10:00 |
Marco | all the host/ports are fine | 18:10:09 |
Marco | new bridge starts fine, creates the session | 18:10:24 |
Marco | but it won't answer me 🤷♂️ | 18:10:29 |
tulir | did you start a new DM with the bot? | 18:10:31 |
Marco | yes | 18:10:35 |
Marco | it won't accept the invites | 18:11:18 |
Marco | I can't see any transaction error on the synapse logs | 18:11:31 |
Marco | I'm puzzled | 18:11:38 |
Marco | the bot seems to get an event when I invite it | 18:14:56 |
Marco | but that's it | 18:14:58 |
Marco | nvm found the problem (my weird synapse worker setup) | 18:23:09 |
Marco | In reply to @tulir:maunium.net shouldn't be too hard to tell the bridge to use messenger.com instead, but haven't tried that yet I'm also interested in this, I just had to reactivate my fb account and now I feel dirty | 18:55:39 |
Malte E | does it support relay yet? | 20:13:51 |
tulir | probably | 20:14:06 |
Malte E | Implemented but untested? | 20:15:04 |
tulir | yes | 20:15:25 |
Malte E | Thanks | 20:20:59 |
| Sami Olmari joined the room. | 20:36:25 |
Sami Olmari | This will be installed replacing current FB-bridge during next weekend on hacklabs server :) (PSA? xD ) | 20:37:13 |
24 Jan 2024 |
RayManD | when runing in docker
2024-01-24T18:05:28Z DBG Request completed duration=9.340508 method=POST req_body={"inhibit_login":true,"type":"m.login.application_service","username":"facebookmetabot"} req_id=2 response_length=88 response_mime=application/json status_code=400 url=http://mx.grupotd.nat.cu:8008/_matrix/client/v3/register?user_id=%40facebookmetabot%3Amx.grupotd.nat.cu
2024-01-24T18:05:28Z FTL The as_token was accepted, but the /register request was not. Are the homeserver domain, bot username and username template in the config correct, and do they match the values in the registration?
| 18:07:21 |
RayManD | In reply to @raymand1992:matrix.org
when runing in docker
2024-01-24T18:05:28Z DBG Request completed duration=9.340508 method=POST req_body={"inhibit_login":true,"type":"m.login.application_service","username":"facebookmetabot"} req_id=2 response_length=88 response_mime=application/json status_code=400 url=http://mx.grupotd.nat.cu:8008/_matrix/client/v3/register?user_id=%40facebookmetabot%3Amx.grupotd.nat.cu
2024-01-24T18:05:28Z FTL The as_token was accepted, but the /register request was not. Are the homeserver domain, bot username and username template in the config correct, and do they match the values in the registration?
my registration.yaml
sender_localpart: 1mdWdeGWat487FIziPsSt28qxEroeA9Q
rate_limited: false
namespaces:
users:
- regex: ^@facebookmetabot:mx\.grupotd\.nat\.cu$
exclusive: true
- regex: ^@facebookmeta_.*:mx\.grupotd\.nat\.cu$
exclusive: true
de.sorunome.msc2409.push_ephemeral: true
| 18:07:54 |
RayManD | In reply to @raymand1992:matrix.org
my registration.yaml
sender_localpart: 1mdWdeGWat487FIziPsSt28qxEroeA9Q
rate_limited: false
namespaces:
users:
- regex: ^@facebookmetabot:mx\.grupotd\.nat\.cu$
exclusive: true
- regex: ^@facebookmeta_.*:mx\.grupotd\.nat\.cu$
exclusive: true
de.sorunome.msc2409.push_ephemeral: true
my config.yaml
bot:
# Username of the appservice bot.
username: facebookmetabot
bridge:
# Localpart template of MXIDs for FB/IG users.
# {{.}} is replaced with the internal ID of the FB/IG user.
username_template: facebookmeta_{{.}}
| 18:09:05 |
RayManD | In reply to @raymand1992:matrix.org
my config.yaml
bot:
# Username of the appservice bot.
username: facebookmetabot
bridge:
# Localpart template of MXIDs for FB/IG users.
# {{.}} is replaced with the internal ID of the FB/IG user.
username_template: facebookmeta_{{.}}
synapse logs
2024-01-24 13:08:30,820 - synapse.access.http.8008 - 472 - INFO - GET-3456 - 172.17.0.6 - 8008 - {None} Processed request: 0.002sec/0.002sec (0.004sec, 0.000sec) (0.000sec/0.000sec/0) 323B 200 "GET /_matrix
/client/versions?user_id=%40facebookmetabot%3Amx.grupotd.nat.cu HTTP/1.1" "mautrix-meta/0.1.0+dev.4a57a0b7 mautrix-go/v0.17.0+dev.97d19484 go/1.21.6" [0 dbevts]
2024-01-24 13:08:30,844 - synapse.http.server - 130 - INFO - POST-3457 - <XForwardedForRequest at 0x7f6d9410fd00 method='POST' uri='/_matrix/client/v3/register?user_id=%40facebookmetabot%3Amx.grupotd.nat.cu
' clientproto='HTTP/1.1' site='8008'> SynapseError: 400 - Invalid user localpart for this application service.
| 18:09:59 |
RayManD | Redacted or Malformed Event | 18:21:24 |
Sami Olmari | Redacted or Malformed Event | 18:23:17 |
| Krtko joined the room. | 19:17:19 |