Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridge libera.chat #1324

Closed
TheEvilSkeleton opened this issue May 19, 2021 · 68 comments
Closed

Bridge libera.chat #1324

TheEvilSkeleton opened this issue May 19, 2021 · 68 comments
Labels
matrix.org-support Matrix.org specific problem possibly unrelated to the bridge

Comments

@TheEvilSkeleton
Copy link

Is your feature request related to a problem? Please describe.

freenode has been acquired by a company, and the former owner switched to libera.chat.

Describe the solution you'd like

Bridge the new http://libera.chat/ network with appservice.

Additional context

https://www.kline.sh/

@ftyers
Copy link

ftyers commented May 19, 2021

It is underway. See IRC Matrix Bridges.

@Half-Shot Half-Shot pinned this issue May 21, 2021
@Half-Shot Half-Shot added the matrix.org-support Matrix.org specific problem possibly unrelated to the bridge label May 21, 2021
@Half-Shot
Copy link
Contributor

Hi folks, we're in talks with the libera folks but they are understandably massively busy starting up a brand new network.

@anarcat
Copy link

anarcat commented May 21, 2021

this is also being tracked in #libera-matrix on irc.libera.chat.

@eternaleye
Copy link

eternaleye commented May 24, 2021

An update on Twitter: https://twitter.com/liberachat/status/1396920289641091079

Libera Chat

A big thanks to the lovely folk at @ matrixdotorg who we just had a very constructive meeting with, we hope to be able to offer matrix bridging soon. Thank you for your patience

@Half-Shot
Copy link
Contributor

Half-Shot commented May 24, 2021

Yup, a lot of progress made on the call. A bit of work for me to do but we have two clear paths forwards and both lead to a fresh and exciting new bridge :)

@AdamWill
Copy link

I'm sure everyone's working as hard as they can, but just to note, now freenode is shutting down channels that post links to libera, this has become a bit more urgent :( the freenode incarnations of several channels I follow have been zapped, so I guess I'll have to fire up an IRC client for a bit until the libera bridge is ready.

@Half-Shot
Copy link
Contributor

Yup, I've personally dealt with a few Freenode takeovers myself today. We're hoping to have the bridge ready to go tomorrow.

@scottAnselmo
Copy link

scottAnselmo commented May 26, 2021

We're hoping to have the bridge ready to go tomorrow.

Just so one can have relevant resources lined up for tomorrow, is this something that will require a server update, and/or just an Element client update by whomever manages the room plumbing (to then select Liberachat from the bridges dropdown)?

@Half-Shot
Copy link
Contributor

@sanecito No update required on your side, it will be automatic.

@mcb30
Copy link

mcb30 commented May 27, 2021

I'm seeing the dropdown offer liberachat as an option, and the list of channel operators is populated correctly, but adding the bridge is repeatably failing with Bridge returned HTTP 500 Internal Server Error: Room failed validation. You may be attempting to "double bridge" this room. Error: 2. (I have already removed the Freenode bridge, so there are no existing IRC bridges).

Is this expected to work at this time, or is it still a work in progress?

Thanks!

@c-x-berger
Copy link

c-x-berger commented May 27, 2021

adding the bridge is repeatably failing with Bridge returned HTTP 500 Internal Server Error: Room failed validation. You may be attempting to "double bridge" this room. Error: 2. (I have already removed the Freenode bridge, so there are no existing IRC bridges).

We're noticing something similar in #purduelug:matrix.org. Interestingly, traces of the Freenode bridge are apparently still part of the room state:

image

Not sure how relevant that is for this particular issue though.

@Half-Shot
Copy link
Contributor

@mcb30 @c-x-berger can you report this in a new issue, we're trying to keep this one explictly about setting up the new bridge. Bugs / issues should go in separate issues.

@c-x-berger
Copy link

can you report this in a new issue, we're trying to keep this one explictly about setting up the new bridge. Bugs / issues should go in separate issues.

Done. #1351

@TheEvilSkeleton
Copy link
Author

Not exactly sure what is happening here. I read yesterday's blog post on Matrix and it mentioned that we can join libera.chat rooms: https://matrix.org/blog/2021/05/28/this-week-in-matrix-2021-05-28#liberachat-irc-network-news.

Does it mean the bridge is working?

@scottAnselmo
Copy link

According to Libera.chat's fediverse account, it has been officially released:

https://fosstodon.org/@liberachat/106320476905973945

@TheEvilSkeleton
Copy link
Author

I'll wait for a member of the team to close the issue.

@tohojo
Copy link

tohojo commented May 29, 2021 via email

@Half-Shot
Copy link
Contributor

Hi folks, the bridge is effectively live now and we're not going to monitor this thread for bug reports. We'd instead ask you interact via either the #libera-matrix:libera.chat Matrix room or create a new issue on this repo for us to triage.

@ghost
Copy link

ghost commented Jun 14, 2021

Did someone manage to connect a matrix room with a libera.chat room so that members can be connected with one of them, and all messages are synchronized?

@m1cl
Copy link

m1cl commented Jun 14, 2021

yes, it works as expected.

@MightyCreak
Copy link

MightyCreak commented Jun 14, 2021

Did someone manage to connect a matrix room with a libera.chat room so that members can be connected with one of them, and all messages are synchronized?

I did, you can watch the GamingOnLinux room here: https://matrix.to/#/#gamingonlinux-irc:matrix.org

Edit: Also it is an IRC room for registered users only, I tried to build up a documentation on how to register a nickname and authenticate using SASL: https://gist.github.com/MightyCreak/12c75f0ac123608060fb3d97cdaaee0f

@drybjed
Copy link

drybjed commented Jun 15, 2021

@MightyCreak Your explanation is for joining an existing IRC channel as a Matrix user, correct? Bridging is a bit different - both an IRC channel and Matrix room see the same messages and users. Any idea if that functionality works right now?

@ghost
Copy link

ghost commented Jun 15, 2021

@m1cl @MightyCreak Did you use matrix-appservice-irc to bridge the rooms?

@MightyCreak
Copy link

Oops sorry, I've put the wrong room link (I've re-edited my post)

To answer your question, the room has been created by me and is bridged to an IRC chan

@alexxcons
Copy link

@TheEvilSkeleton Automatic auth on reconnect to libera working here. Open a private chat with appservice:


!username <your NickServ username>
!storepass irc.libera.chat <your password>

More details here: https://meta.wikimedia.org/wiki/Matrix.org#Authenticating_with_LiberaChat

@ghost
Copy link

ghost commented Jun 22, 2021

@m1cl @MightyCreak Can you share your matrix-appservice-irc config file for bridging the room?

@MightyCreak
Copy link

@benks-io I don't have a config file, I'm merely using the IRC bridge proposed directly in Element

@ghost
Copy link

ghost commented Jun 23, 2021

I am looking for a way to synchronize the messages of two rooms on two servers with different protocols. Namely a Matrix room with matrix users on the one hand and an IRC Room on an IRC server on the other.
@MightyCreak So, your solution is an IRC room on a server with a matrix bridge, where Matrix Users may join but not the above?

@MightyCreak
Copy link

@benks-io That's just it.

Create a room, clic on the "i" to get the information panel:

image

Then clic on "Add widgets, etc..." And clic on "Add integrations" at the bottom-left:

image

Select IRC bridge:

image

And fill the form (someone on the other side need to have the rights to allow the matrix bot).

@ghost
Copy link

ghost commented Jun 23, 2021

@MightyCreak too easy! 🚀 Thanks for that. 🙏

@ghost
Copy link

ghost commented Jul 2, 2021

@MightyCreak That worked out until the step of confirmation. Which IRC Client on libera-chat side did you use to accept the Invite?

@MightyCreak
Copy link

I wasn't on that side as I am not the moderator on the IRC chan, but I warned them before starting the process. As they didn't know much about Matrix, I guess it was easy to set up.

@legoktm
Copy link

legoktm commented Jul 12, 2021

It's been brought up in #libera-matrix:libera.chat that https://status.matrix.org/ has no entry for the Libera Chat bridge. Should it be listed there? Should I file a new ticket or support request for that?

@Xiretza
Copy link
Contributor

Xiretza commented Jul 13, 2021

It's been brought up in #libera-matrix:libera.chat that https://status.matrix.org/ has no entry for the Libera Chat bridge. Should it be listed there?

I don't think so, because it's hosted and operated by libera, not matrix.org. On the other hand Gimpnet is also there, which runs on gnome.org, so I'm not sure. It should definitely be in https://github.com/matrix-org/matrix-appservice-irc/wiki/Bridged-IRC-networks though, so I opened #1415.

@Mikaela
Copy link
Contributor

Mikaela commented Jul 13, 2021

I don't think so, because it's hosted and operated by libera, not matrix.org.

It is not hosted or operated by Libera.Chat. It's hosted and operated by Element Matrix Services as can be seen e.g. by using the federation tester.

I don't know if EMS has a status page where it could be listed, but the bridge administration definitely has more to do with Matrix.org than Libera.Chat.

@robbyoconnor
Copy link

Okay so I'm getting:

The person who invited you already left the room, or their server is offline.

When trying to join a channel after doing !join with the app service bot

slotThe added a commit to slotThe/xmonad-web that referenced this issue Dec 11, 2021
Matrix.org now has support for bridging to Libera.

Related:
  - matrix-org/matrix-appservice-irc#1324
  - Libera-Chat/libera-chat.github.io#20
@heyakyra
Copy link

From my matrix.org account I was kicked from Libera.chat inactivity, but I'm unable to (re-)join any libera.chat rooms because of "No known servers" …any ideas?

@binarymaster
Copy link

@heyakyra this happened for me before, I was able to join again after cleaning up cache in Element.

@heyakyra
Copy link

Thanks! Is there a bug report though? Most users won't go through the trouble to dig this up

@tgr
Copy link

tgr commented Oct 11, 2023

Given libera.chat was unbridged, should this task be reopened? Or is there a better place to look information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
matrix.org-support Matrix.org specific problem possibly unrelated to the bridge
Projects
None yet
Development

No branches or pull requests