unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Domingo Gómez Pérez" <domingo.gomez@unican.es>
To: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Cc: 43566@debbugs.gnu.org
Subject: bug#43566: 27.1; url-http and excorporate does not authenticate
Date: Wed, 30 Sep 2020 19:00:59 +0200	[thread overview]
Message-ID: <87y2krqjw4.fsf@menzobaran.matesco.unican.es> (raw)
In-Reply-To: <m3eemkcihy.fsf@fitzsim.org>

[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]

En la fecha mar, 29 sep 2020, Thomas Fitzsimmons <fitzsim@fitzsim.org>
escribió:
> Hi Domingo,
>
> Domingo Gómez Pérez <domingo.gomez@unican.es> 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*")


[-- Attachment #2: output.txt --]
[-- Type: text/plain, Size: 3165 bytes --]

http -> Contacting host: correo.unican.es:443
http -> Marking connection as busy: correo.unican.es:443 #<process correo.unican.es>
http -> getting referer from buffer: buffer:#<buffer *scratch*> 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 (#<buffer  *http correo.unican.es:443*>)
http -> Calling after change function `url-http-wait-for-headers-change-function' for `#<process correo.unican.es>'
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 #<process correo.unican.es>
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 #<process correo.unican.es>
http -> Reusing existing connection: correo.unican.es:443
http -> Marking connection as busy: correo.unican.es:443 #<process correo.unican.es>
http -> getting referer from buffer: buffer:#<buffer  *http correo.unican.es:443*> 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 (#<buffer  *http correo.unican.es:443*>)
http -> Calling after change function `url-http-wait-for-headers-change-function' for `#<process correo.unican.es>'
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 #<process correo.unican.es>
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

[-- Attachment #3: Type: text/plain, Size: 17 bytes --]



Best, Domingo.

  reply	other threads:[~2020-09-30 17:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 11:20 bug#43566: 27.1; url-http and excorporate does not authenticate Domingo Gómez Pérez
2020-09-24 15:22 ` Lars Ingebrigtsen
2020-09-25 11:38   ` Domingo Gómez Pérez
2020-09-25 11:41     ` Lars Ingebrigtsen
2020-12-04 23:29       ` Thomas Fitzsimmons
2020-12-05 12:40         ` William Xu
2020-12-06 13:14         ` Lars Ingebrigtsen
2021-01-31 15:03           ` Thomas Fitzsimmons
2021-01-31 15:13             ` Eli Zaretskii
2021-02-01  8:43             ` Lars Ingebrigtsen
2021-02-01 13:28               ` Thomas Fitzsimmons
2021-02-19  1:58                 ` Thomas Fitzsimmons
2021-02-19 12:31                   ` Lars Ingebrigtsen
2021-02-19 14:18                     ` Thomas Fitzsimmons
2021-02-19 15:00                       ` Lars Ingebrigtsen
2021-02-19 16:35                         ` Thomas Fitzsimmons
2021-02-19 22:26                           ` Thomas Fitzsimmons
2020-09-29 22:19   ` Thomas Fitzsimmons
2020-09-29 22:42 ` Thomas Fitzsimmons
2020-09-30 17:00   ` Domingo Gómez Pérez [this message]
     [not found] <a84cfa50-5e21-4d75-a0bd-c6dc4d8763bc@email.android.com>
2020-09-26 13:15 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2krqjw4.fsf@menzobaran.matesco.unican.es \
    --to=domingo.gomez@unican.es \
    --cc=43566@debbugs.gnu.org \
    --cc=fitzsim@fitzsim.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).