From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Domingo =?UTF-8?Q?G=C3=B3mez_?= =?UTF-8?Q?P=C3=A9rez?= Newsgroups: gmane.emacs.bugs Subject: bug#43566: 27.1; url-http and excorporate does not authenticate Date: Wed, 30 Sep 2020 19:00:59 +0200 Message-ID: <87y2krqjw4.fsf@menzobaran.matesco.unican.es> References: <87tuvqxdl8.fsf@menzobaran.matesco.unican.es> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39732"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43566@debbugs.gnu.org To: Thomas Fitzsimmons Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 30 19:13:26 2020 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 1kNffR-000ABD-Lk for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Sep 2020 19:13:25 +0200 Original-Received: from localhost ([::1]:36298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNffQ-0006Oe-LM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Sep 2020 13:13:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNff4-0006M0-5x for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 13:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49651) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNff3-00012y-RQ for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 13:13:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNff3-0001wX-KZ for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 13:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Domingo =?UTF-8?Q?G=C3=B3mez_?= =?UTF-8?Q?P=C3=A9rez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Sep 2020 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43566 X-GNU-PR-Package: emacs Original-Received: via spool by 43566-submit@debbugs.gnu.org id=B43566.16014859297407 (code B ref 43566); Wed, 30 Sep 2020 17:13:01 +0000 Original-Received: (at 43566) by debbugs.gnu.org; 30 Sep 2020 17:12:09 +0000 Original-Received: from localhost ([127.0.0.1]:32964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNfeC-0001vO-8k for submit@debbugs.gnu.org; Wed, 30 Sep 2020 13:12:09 -0400 Original-Received: from mhb02.unican.es ([193.144.193.152]:59156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNfTW-0001ed-83 for 43566@debbugs.gnu.org; Wed, 30 Sep 2020 13:01:10 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mhb02.unican.es (Postfix) with ESMTP id 228DAC0084E53; Wed, 30 Sep 2020 19:01:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=unican.es; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=20190415; t=1601485260; bh=re8BPQeJBNgcYIW ye0/NxY6sxnTUFfHCjVebwYajv1s=; b=KaywIC1IMJp+F4etLAzAdpxL9oyLlDt x4w2FFEVuIoq8FUAQ4hw8JXqLVB8PESUVFrEVpFwdm5QqddaM7yfFWi/OdkESrSf plH11Cs2bU/x/1bi6ijVC5V1bYEAapigHVbS2rN4BzMK6tSJRFNJBcXrkZv7fFNB uq0+HZqZBL6FaxGUUN5va8VIAEhJ9RdEpWs5c9jx9EzbnnM3sRZeZFgsxxfdLIFp Ui4JZ6CUIi6B3pTf4O2RbtXWG4dMsToZagT9744uHMWu5wwlvTWuDrcHX5YRyxPO Q6b8FArJfE2fL3LGazqIMGQdiwDcgY6HyLPWaDnuS32OVAbWshvN5HQ== Original-Received: from mhb02.unican.es ([127.0.0.1]) by localhost (mhb02.unican.es [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 7Q99hij3-oAD; Wed, 30 Sep 2020 19:01:00 +0200 (CEST) Original-Received: from correouc.unican.es (ex3.unican.es [193.144.193.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mhb02.unican.es (Postfix) with ESMTPS id A1392C0084E52; Wed, 30 Sep 2020 19:00:59 +0200 (CEST) Original-Received: from menzobaran.matesco.unican.es (193.144.180.101) by ex3.unican.es (193.144.193.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 30 Sep 2020 19:00:59 +0200 In-Reply-To: X-Originating-IP: [193.144.180.101] X-ClientProxiedBy: ex2.unican.es (193.144.193.141) To ex3.unican.es (193.144.193.142) X-EsetResult: clean, is OK X-EsetId: 37303A293C27706B6C7261 X-Mailman-Approved-At: Wed, 30 Sep 2020 13:12:06 -0400 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" Xref: news.gmane.io gmane.emacs.bugs:189401 Archived-At: --=-=-= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable En la fecha mar, 29 sep 2020, Thomas Fitzsimmons escribi=C3=B3: > Hi Domingo, > > Domingo G=C3=B3mez P=C3=A9rez writes: > >> I am trying to use excorporate, v. 0.7, so I am trying to locate the >> problem looking at the Info page, section Troubleshooting. > > Thanks for reporting. > > First, Excorporate 0.7.0 is an old release. Are you able to install > Excorporate 0.8.3 and its dependencies from GNU ELPA? There have been a > few compatibility improvements between 0.7.0 and 0.8.3, so it's worth a > try for your specific issue. Dear Thomas, First of all, thank you for your work in excorporate. I don't know what happen, because it used to work just fine for me. > If it doesn't work, can you retry the > Troubleshooting section? It's probably best if you redact the > Authorization headers with [...] before replying. > I remove the part where Authorization appear. I attach here the results of executing (setq URL-STRING "https://correo.unican.es/ews/exchange.asmx") (progn (setq url-debug 1) (url-retrieve-synchronously URL-STRING) (dolist (p (seq-filter (lambda (b) (string-match " *http*" (buffer-name b))) (buffer-list))) (message "HTTP result buffer: \"%s\"\n%s" (buffer-name p) (with-current-buffer p (buffer-string)))) "check *Messages*") --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename="output.txt" Content-Transfer-Encoding: 8bit http -> Contacting host: correo.unican.es:443 http -> Marking connection as busy: correo.unican.es:443 # http -> getting referer from buffer: buffer:# target-url:#s(url "https" nil nil "correo.unican.es" nil "/ews/exchange.asmx" nil nil t nil t nil) lastloc:nil http -> Request is: GET /ews/exchange.asmx HTTP/1.1 MIME-Version: 1.0 Connection: keep-alive Extension: Security/Digest Security/SSL Host: correo.unican.es Accept-encoding: gzip Accept: */* User-Agent: URL/Emacs Emacs/27.1 (X11; x86_64-redhat-linux-gnu) Authorization: Basic ... retrieval -> Spinning in url-retrieve-synchronously: nil (#) http -> Calling after change function `url-http-wait-for-headers-change-function' for `#' http -> url-http-wait-for-headers-change-function ( *http correo.unican.es:443*) http -> Saw end of headers... ( *http correo.unican.es:443*) http -> url-http-parse-response called in ( *http correo.unican.es:443*) http -> Got a content-length, being smart about document end. http -> Got 0-length content-length, activating callback immediately. http -> Marking connection as free: correo.unican.es:443 # http -> url-http-parse-headers called in ( *http correo.unican.es:443*) http -> url-http-parse-response called in ( *http correo.unican.es:443*) http -> Parsed HTTP headers: class=4 status=401 http -> Handling normal authentication http -> Found existing connection: correo.unican.es:443 # http -> Reusing existing connection: correo.unican.es:443 http -> Marking connection as busy: correo.unican.es:443 # http -> getting referer from buffer: buffer:# target-url:#s(url "https" nil nil "correo.unican.es" nil "/ews/exchange.asmx" nil nil t nil t nil) lastloc:nil http -> Request is: GET /ews/exchange.asmx HTTP/1.1 MIME-Version: 1.0 Connection: keep-alive Extension: Security/Digest Security/SSL Host: correo.unican.es Accept-encoding: gzip Accept: */* User-Agent: URL/Emacs Emacs/27.1 (X11; x86_64-redhat-linux-gnu) Authorization: Basic ... http -> Finished parsing HTTP headers: nil http -> Spinning waiting for headers... retrieval -> Spinning in url-retrieve-synchronously: nil (#) http -> Calling after change function `url-http-wait-for-headers-change-function' for `#' http -> url-http-wait-for-headers-change-function ( *http correo.unican.es:443*-164681) http -> Saw end of headers... ( *http correo.unican.es:443*-164681) http -> url-http-parse-response called in ( *http correo.unican.es:443*-164681) http -> Got a content-length, being smart about document end. http -> Got 0-length content-length, activating callback immediately. http -> Marking connection as free: correo.unican.es:443 # http -> url-http-parse-headers called in ( *http correo.unican.es:443*-164681) http -> url-http-parse-response called in ( *http correo.unican.es:443*-164681) http -> Parsed HTTP headers: class=4 status=401 http -> Handling normal authentication --=-=-= Content-Type: text/plain Best, Domingo. --=-=-=--