From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#65384: 29.1; ERC 5.5.0.29.1: twitch integration broken Date: Sat, 19 Aug 2023 13:55:13 -0500 Message-ID: References: <878ra7xbth.fsf@aleksas.ru> <878ra6c3u8.fsf@neverwas.me> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32555"; mail-complaints-to="usenet@ciao.gmane.io" To: 65384-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 19 20:56:34 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qXR7g-0008HK-JC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Aug 2023 20:56:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXR7D-0007Xr-KP; Sat, 19 Aug 2023 14:56:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXR7B-0007XW-Ik for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 14:56:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXR7B-0006BK-Aa for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 14:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXR7C-0007hM-EU for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 14:56:02 -0400 Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2023 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65384 X-GNU-PR-Package: emacs Mail-Followup-To: 65384@debbugs.gnu.org, corwin@bru.st, mail@aleksas.ru Original-Received: via spool by 65384-done@debbugs.gnu.org id=D65384.169247133329551 (code D ref 65384); Sat, 19 Aug 2023 18:56:02 +0000 Original-Received: (at 65384-done) by debbugs.gnu.org; 19 Aug 2023 18:55:33 +0000 Original-Received: from localhost ([127.0.0.1]:52278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXR6i-0007gZ-Nv for submit@debbugs.gnu.org; Sat, 19 Aug 2023 14:55:33 -0400 Original-Received: from mail-ot1-f49.google.com ([209.85.210.49]:59513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXR6h-0007gN-3x for 65384-done@debbugs.gnu.org; Sat, 19 Aug 2023 14:55:32 -0400 Original-Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-6bd045336c6so1632956a34.2 for <65384-done@debbugs.gnu.org>; Sat, 19 Aug 2023 11:55:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692471324; x=1693076124; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aVO3NqVt5tWtbDlI3JU/pNn0cifTi6ok9Ryr7uhUVuk=; b=ScQYoy9wHFNrWsMa9oB5TU3Z2apev6PzkuvDafXXeSpxAmEe9EIerkynf4UEOK/tKR lTygcLZIkGwVCqV/dQ6UGVNk/ObzWZjbIPejrLNP3lJHMZNJqlJYO3ci8kArB+Gyp3cU o0LOxtOdqulf8jDYHAqSaljqSEDCeC5ht4ZCrPn8DVVZEgE/zmcPzK6IohQltVXSXS37 xe1J+yAWe6w5vIwO+iXg1iPH/D3QghshnIO2Nhxp6X598WN6ARKe+2mCo9UM0dhnDQv2 Mzd0Q0cW8nQEhR1tpAtxXlElq1+eaIgsdJdHHV8bHe86HxN8whvvbOEK5GvI5Rcw1g4Q 9IAQ== X-Gm-Message-State: AOJu0Yzml8hVEovIVOYbeCUBdIbGL5a4rlTboMD0qojGjbj5L4MgKhtI AHGp8GMjnetnzbuiT8fjXPMru6vW8sBoJ1QHwZvGk/C/FDw= X-Google-Smtp-Source: AGHT+IGgBDN9i+wNoFUXhj+d3GJgXRWZ2aWOLZLyjIXEYoNvXNgEW1ZGfayec9S+eWfPRxGBXmcbiXfjiImwwXqh7CY= X-Received: by 2002:a9d:7f01:0:b0:6b7:206e:edf7 with SMTP id j1-20020a9d7f01000000b006b7206eedf7mr3200531otq.1.1692471323677; Sat, 19 Aug 2023 11:55:23 -0700 (PDT) In-Reply-To: <878ra6c3u8.fsf@neverwas.me> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267903 Archived-At: tags 65384 notabug thanks TL;DR: my fault for suggesting a bug report here, I think; and I've therefore closed. On Sat, Aug 19, 2023 at 12:57=E2=80=AFPM J.P. wrote: > > Hi Aleksas, > > Aleksas Tunikas writes: > > > it used to work now it doesnt it gives this error, asked on an irc emac= s > > group on libre there was another person experiencing this, tried irssi > > and it works fine! thank you for all your work! http://ix.io/4DYd > > On the surface, the problem appears to be that Twitch doesn't send vital > identifying information needed by ERC. Have you tried either workaround > In case it's not clear, that's asking you to try something like > > (push '(twitch "-") erc-networks-alist) > > before connecting, or, alternatively, connecting with something like > > (erc-tls :server "irc.chat.twitch.tv" > :port 6697 > :nick "me" > :password "..." > :id 'twitch) > > Unfortunately, I don't have access to Twitch credentials, so I can't try I was able to test this approach by adding :id 'twich; shown off below. Although I'm curious how this worked before, I've closed despite the "regression"; if that wasn't TRT I believe replying to the original bug address (not the -done@debbugs... variant), will reopen it. My test: (defun auth-for (host) "Get the password for HOST." (let ((found (nth 0 (auth-source-search :host host)))) (let ((secret (plist-get found :secret))) (if (functionp secret) (funcall secret) secret)))) (defun twitch-irc () "Connect to twitch IRC via twitch." (interactive) (erc-tls :server "irc.chat.twitch.tv" :port 6697 :nick "me" :id 'twitch :password (auth-for "twitch"))) M-x twich-ircRET FTR, I didn't try adjusting `erc-network-alist' > > Thanks, > J.P. >