matrix-org / libera-chat

Support requests for the libera.chat IRC bridge hosted by matrix.org
7 stars 2 forks source link

Bridge completely broken for Ubuntu Studio #7

Open eeickmeyer opened 1 year ago

eeickmeyer commented 1 year ago

ubuntu-studio:matrix.org (!WrIMvxmmVJPgAYrBut:matrix.org) was bridged to #ubuntustudio on libera.chat, but the bridge was having issues so I attempted to sever the bridge and delete the extension. However, when I attempt to delete the extension, I get the following error:

Something went wrong

Failed to delete this extension from the room: MatrixError: [403] You don't have permission to remove ops level equal to your own (https://matrix-client.matrix.org/_matrix/client/r0/rooms/!WrIMvxmmVJPgAYrBut%3Amatrix.org/state/m.room.power_levels)

Even though there are no ops in the channel other than me.

When attempting to reinstate the bridge:

Could not request link. Error IRC_DOUBLE_BRIDGE: Room failed validation. You may be attempting to "double bridge" this room. Error: Error: M_FORBIDDEN: Appservice not in room

Thanks in advance.

Half-Shot commented 1 year ago

Hm, this looks like a whole bunch of confused problems.

Failed to delete this extension from the room: MatrixError: [403] You don't have permission to remove ops level equal to your own (https://matrix-client.matrix.org/_matrix/client/r0/rooms/!WrIMvxmmVJPgAYrBut%3Amatrix.org/state/m.room.power_levels)

I'm assuming this is because the bridge has admin in the room or something and the bridge doesn't de-op itself. Looks like an integration manager issue @justinbot ?

Could not request link. Error IRC_DOUBLE_BRIDGE: Room failed validation. You may be attempting to "double bridge" this room. Error: Error: M_FORBIDDEN: Appservice not in room

The error is a little misleading, we can't check the members of the room because we've not managed to join the room (yet). This might now work as the cache should have expired.

eeickmeyer commented 1 year ago

The error is a little misleading, we can't check the members of the room because we've not managed to join the room (yet). This might now work as the cache should have expired.

Sadly, every time I try it I get the same result. Usually I wait at least 24 hours, in this case I tried just before I commented here just now. :(

In a previous iteration of the room (!xmgKQfBvHjTMsDGIBb:matrix.org), appservice is there and has admin privs for some reason. Could that have something to do with it?

erciccione commented 1 year ago

Having the same problem and it does seem to be a bunch of different issues, at least in my case: https://github.com/matrix-org/matrix-appservice-irc/issues/1721#issuecomment-1581981373

eeickmeyer commented 1 year ago

I'm thinking if the appservice user could simply be removed from !xmgKQfBvHjTMsDGIBb:matrix.org, the issue may be resolved.

erciccione commented 1 year ago

Any suggestions on how to resolve this? I admin a matrix room that heavily relies on the IRC bridge. The Matrix and Libera rooms have been disconnected for a while now. Every attempt to re-bridge results in the "double bridge" error mentioned here

progval commented 1 year ago

You could host your own bridge

erciccione commented 1 year ago

@progval Sadly, that's not an option. I did initially, but then i got rate-limited by Libera, practically making impossible for my bridge to interact with their servers. Their team told me that the official matrix bridge got an exception and isn't limited, factually making it the only way to bridge Matrix-Libera, unless you have very few users in the room.

Unless things changed recently, there is no option than using Matrix' bridge if you want to bridge Matrix/Libera rooms.

progval commented 1 year ago

You can ask Libera to grant you an exception

eeickmeyer commented 1 year ago

Bumping this. Users are joining from the web and from the support link in the OS itself only to be greeted by this: image

Sadly, we're having to forward them to IRC Webchat until this gets cleared up, but it's been a month since I opened this. I'd hate to have to close this down, but as it stands, people can't even join the portaled room from Matrix (#ubuntustudio:libera.chat) much less the plumbed room I had initially set-up. Essentially, it's completely broken, and it needs to be fixed urgently. I'm sorry to have to put pressure here, but I'm out of options. :(

thibaultamartin commented 1 year ago

@eeickmeyer the room has been manually rebridged and the problem should be sorted out. Please reopen the issue if it didn't work

progval commented 1 year ago

@thibaultamartin eeickmeyer isn't the only person with this issue

eeickmeyer commented 1 year ago

@thibaultamartin Messages aren't making it across the bridge and appservice has a full admin role for some reason (I know that's not right).

eeickmeyer commented 1 year ago

@progval You should probably open your own issue. This was specific for the room that I administer.

eeickmeyer commented 1 year ago

@thibaultamartin The option to reopen doesn't exist for me.

eeickmeyer commented 1 year ago

Ok, so the good news is that, after some time, the bridge is now working properly. The bad news is that the 'appservice' user has admin powers, and I know it's only supposed to have moderator powers. Is there any way the owner of 'appservice' can demote the bot? I feel like this is what caused the problems to begin with.

erciccione commented 1 year ago

@eeickmeyer how did you manage to solve? I try to rebridge the broken rooms from time to time but i still get

Could not request link. Error IRC_DOUBLE_BRIDGE: Room failed validation. You may be attempting to "double bridge" this room. Error: Error: M_FORBIDDEN: Appservice not in room

eeickmeyer commented 1 year ago

@erciccione I didn't. It had to be manually rebridged. You should probably file your own issue.

erciccione commented 1 year ago

i've been trying unsuccessfully to contact Matrix' support to resolve my issue since quite some time. I don't see the point in opening exactly the same issue but related to another room.Regardless, if f that would help resolve my problem i'll happily do it.

Not having Libera and Matrix bridged is creating issues. The room i refer too is used for development coordination and having half of the devs and maintainers cut out from each others is being very frustrating.

quite commented 1 year ago

I have a similar long-running problem in https://github.com/matrix-org/matrix-appservice-irc/issues/1652 -- I see in the room in question that @appservice:libera.chat is sitting there with Admin powers. If that's the issue, and appservice has to leave first, then how can we solve it? An admin cannot remove another admin from a room, right.