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

Connection to IRC times out with SASL enabled & No authorization with NickServ by plain messages #777

Closed
smbdspk opened this issue Jul 21, 2019 · 8 comments

Comments

@smbdspk
Copy link

smbdspk commented Jul 21, 2019

I'm running fully configured plain SASL-enabled inspircd locally, to which clients connect with no problems.
However, this bridge just gets stucked – tested on several machines. And when I'm trying to use PASS instead - it's clearly ignored, both with client and bot accounts. That could be possible because my server doesn't support user auth by server pass, but anyway, what's the problem with SASL?

@smbdspk
Copy link
Author

smbdspk commented Jul 22, 2019

Still no positive result with FreeNode and Rizon via registered accounts, ident and pass are fully working there

@Mikaela
Copy link
Contributor

Mikaela commented Jul 22, 2019

Duplicate of #470 which is blocked on #673.

If I understand correctly, the SASL support is currently broken as you can configure the password with !storepass, but not what username Matrix-appservice-IRC sends to the IRC server.

@smbdspk
Copy link
Author

smbdspk commented Jul 22, 2019

Nope, not this. Bridge simply doesn't connect – even with the bot account. Time out, again and again, so the only option is to disable SASL. Username changes just fine, as I can see.

@Mikaela
Copy link
Contributor

Mikaela commented Jul 23, 2019

#689 then?

@smbdspk
Copy link
Author

smbdspk commented Jul 23, 2019

I registered account with matrixirc ident manually from telnet, so it should be accessible initially. The problem is not usernames or somewhat, but the connection itself. 'cause it doesn't fail and doesn't succeed, it doesn't even establish. I guess I should look into packets.
Strange thing is that I had configured bridge from scratch on different machines – and surely missed something

ircService:
  servers:
   chat.freenode.net:
      name: "freenode"
      port: 6697
      ssl: true
      sslselfsign: false
      sasl: true
      allowExpiredCerts: false
      # password: 'pa$$w0rd'
      sendConnectionMessages: true
 
     botConfig:
        enabled: true
        nick: "sm5kMatrixBot"
        password: "[censored]"
        joinChannelsIfNoUsers: true

@smbdspk
Copy link
Author

smbdspk commented Jul 23, 2019

So it DOES connect, but timeouts registration with no response and gets disconnected. Weird.

@smbdspk
Copy link
Author

smbdspk commented Jul 23, 2019

Unrelated to bot. I'll try to figure out what's the trouble with inspircd then.

@smbdspk smbdspk closed this as completed Jul 23, 2019
@smbdspk
Copy link
Author

smbdspk commented Jul 23, 2019

Got FreeNode working, but Rizon is still broken. Closed, considering that first of all bridge was written for FN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants