GNU bug report logs - #35969
proxy + excorporate -> Failed: Failed to retrieve https://outlook.office365.com/EWS/Services.wsdl

Previous Next

Package: emacs;

Reported by: "tenspd137 ." <dcday137 <at> gmail.com>

Date: Tue, 28 May 2019 22:26:02 UTC

Severity: normal

Found in version 26.2

Done: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
To: "tenspd137 ." <dcday137 <at> gmail.com>
Cc: 35969 <at> debbugs.gnu.org
Subject: bug#35969: 26.2, Excorporate
Date: Wed, 29 May 2019 13:02:23 -0400
Hi,

"tenspd137 ." <dcday137 <at> gmail.com> writes:

> Hi - thanks for the reply.  Here are the steps I took (I had to
> configure the proxy as well....):
>
> M-: (setq url-proxy-services '(("http" . "web-proxy:8080") ("https" . "web-proxy:8080")))
> M-: (setq url-debug t)
> M-: (url-retrieve-synchronously "https://server/EWS/Exchange.asmx")
>
> -Asks for name and password-, I fill them in.....

OK, I think the buffer contents you pasted are fine/expected; it's the
web site saying you're unauthorized, which then causes "url" to prompt
for credentials.  That part seems to have worked through the proxies.

Then the url library created a second buffer:

" *http outlook.office365.com:443*-229815"

which I'm inferring from the logs contained "400 Bad Request" headers.
I'm not sure why that might be; I haven't tried Emacs's url proxy
support before.  That said, I'd like to keep trying to fix this since
I'd like Excorporate to work via proxies.

You could try an unauthenticated site to see if that works through the
proxies, e.g.:

[same initial steps]
M-: (url-retrieve-synchronously "https://www.gnu.org/")

and then a different authenticated site, like this test page:

M-: (url-retrieve-synchronously "https://httpbin.org/basic-auth/user/passwd")

Username: user
Password: passwd

If that all works, then we'll have to figure out why url proxy support
is not working with the Exchange server specifically.

[...]

> But - just for reference - here is what is in the file I receive when
> I use wget:
>
>  wget --user me <at> work --password xxxxxxxxxxx https://outlook.office365.com/EWS/Exchange.asmx
>
> [successful output]

Are you configuring wget to use the same proxies as in the Emacs
attempt, via the http_proxy and https_proxy environment variables?

Thanks,
Thomas




This bug report was last modified 5 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.