matrix-org / matrix-appservice-irc

Node.js IRC bridge for Matrix
Apache License 2.0
461 stars 149 forks source link

Libera to Matrix Bridge Won't Unlink (likely federation issue) #1509

Open Zuberlan opened 2 years ago

Zuberlan commented 2 years ago

When I try to unlink the bridge I get this error:

Nabulec !unlink !MZRGSyAiqsoMdkfcwy:matrix.org irc.libera.chat ##videogames appservice Nabulec !unlink !MZRGSyAiqsoMdkfcwy:matrix.org irc.libera.chat ##videogames Failed to unlink room. Check the logs for details.

Can someone unlink for me so I can get it linked again?

Half-Shot commented 2 years ago

(Wrong repo)

jaller94 commented 2 years ago

Notes for the team

Official Matrix room for ##videogames is !GemPMvhAPgWmUyJvgM:libera.chat.

There are 57 people joined to !MZRGSyAiqsoMdkfcwy:matrix.org and the libera bridge bot is still joined.

jaller94 commented 2 years ago

I think this is "failing" because the link no longer exists.

2022-01-27 06:24:25 DEBUG:req [3sotaftup7c00] [[M->I]] Message body: Failed to unlink room. Check the logs for details.
2022-01-27 06:24:25 DEBUG:req [d29a5ny7atk00] [[M->I]] Message body: !unlink !MZRGSyAiqsoMdkfcwy:matrix.org irc.libera.chat ##videogames
2022-01-27 06:24:25 INFO:AdminRoomHandler Provisioning unlink for room !MZRGSyAiqsoMdkfcwy:matrix.org <-/-> irc.libera.chat/##videogames
2022-01-27 06:24:26 ERROR:AdminRoomHandler Failed to handle !unlink command: Provisioned room mapping does not exist (!MZRGSyAiqsoMdkfcwy:matrix.org <-/-> irc.libera.chat/##videogames)

Previous unlink commands had been successful.

2022-01-27 06:23:48 DEBUG:req [jheswbnnqls00] [[M->I]] Message body: !unlink !MZRGSyAiqsoMdkfcwy:matrix.org irc.libera.chat ##videogames
2022-01-27 06:23:48 INFO:req [jheswbnnqls00] [[M->I]] Received admin message from @nabulec:matrix.org
2022-01-27 06:23:48 INFO:req [jheswbnnqls00] [[M->I]] Handling command from @nabulec:matrix.org
2022-01-27 06:23:48 INFO:AdminRoomHandler Provisioning unlink for room !MZRGSyAiqsoMdkfcwy:matrix.org <-/-> irc.libera.chat/##videogames
2022-01-27 06:23:48 INFO:IrcBridge [-] GET https://libera.ems.host/_matrix/client/r0/rooms/!MZRGSyAiqsoMdkfcwy%3Amatrix.org/state (AS) Body:
2022-01-27 06:23:54 INFO:IrcBridge [jheswbnnqls00] [M->I] SUCCESS  (5763ms)
jaller94 commented 2 years ago

The room !MZRGSyAiqsoMdkfcwy:matrix.org isn't properly federating between matrix.org and libera.chat.

On libera.chat it has 57 joined members and @appservice:libera.chat is not in the room. On matrix.org it has 98 joined members and @appservice:libera.chat is in the room.

Mikaela commented 2 years ago

Potential duplicate of https://github.com/matrix-org/matrix-appservice-irc/issues/1357 ?

jaller94 commented 2 years ago

I moved the alias ##videogames:libera.chat from !GemPMvhAPgWmUyJvgM:libera.chat to !KzPyWRkwasnmgjtWCC:matrix.org.

This is to promote the room admin's new, plumbed room over the portal room.

Todos