From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#35969: 26.2, Excorporate Date: Wed, 29 May 2019 13:02:23 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="71701"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35969@debbugs.gnu.org To: "tenspd137 ." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 29 19:03:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hW1yp-000IU5-Mp for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 19:03:11 +0200 Original-Received: from localhost ([127.0.0.1]:58169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW1yo-0002s0-EG for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 13:03:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW1yi-0002ri-2C for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 13:03:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW1yh-0007f7-1r for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 13:03:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hW1yg-0007ev-Mz for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 13:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hW1yg-0004Z9-Ic for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 May 2019 17:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35969 X-GNU-PR-Package: emacs Original-Received: via spool by 35969-submit@debbugs.gnu.org id=B35969.155914935917518 (code B ref 35969); Wed, 29 May 2019 17:03:02 +0000 Original-Received: (at 35969) by debbugs.gnu.org; 29 May 2019 17:02:39 +0000 Original-Received: from localhost ([127.0.0.1]:59760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hW1yI-0004YU-Do for submit@debbugs.gnu.org; Wed, 29 May 2019 13:02:38 -0400 Original-Received: from mail-it1-f170.google.com ([209.85.166.170]:38758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hW1yF-0004YD-U9 for 35969@debbugs.gnu.org; Wed, 29 May 2019 13:02:36 -0400 Original-Received: by mail-it1-f170.google.com with SMTP id i63so469071ita.3 for <35969@debbugs.gnu.org>; Wed, 29 May 2019 10:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=LWm9LAz4sFAMaARwz+Ugh4jeux2qsiadzR3GX1UGT1o=; b=yf2SVy48RjERjbi5AA5VYEfCO/YaB32BaGkN2Fo1T0IM5T5z48AaNYBks4shpCrRr5 bG8FWhzenAkkYeKfZT4kcm2sA4IrIJZ77CHiIAFmTwmsS+v29Webb76VFMyF91guA/63 w7hypXGG0OKLt+G4n4VGC4t/gq5OPG2lr3UXwY/6itnaNYGJSAvvssRSLBCKzagAC9I7 rVV7O0gc7/HtHFsf07OzUNrZu2l1qipPvP2lN0jUeIzA08OoXb60mjzHuFY3hg/QTws5 T1olwKEXNRfb/rDwQdg4xN1xCRtwWnvFBr9KCO+bQLBziikqc7/dCI4TtvZAweDmifm3 Zbww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=LWm9LAz4sFAMaARwz+Ugh4jeux2qsiadzR3GX1UGT1o=; b=B6SkCRO/d+nNhGXgAFzInIL6SkFOjbJMhk33UahAtQeFGrYj001uDtZsAsF0LBPg3J ie+F+xGFGXHTzuv0H6fMmA/5NWLrUSduPXD5sPbIPfzor8A6WU+8akb5TbnQxQi1EgZF 5cozDo3yty58zVlNQPzjiog79U/2syMMZ10XCVYBoa9EHXmi0VrvNchQ9X4z7MJi+i6v UDx1MegCXc0je2KC3+0G6w4LaIcox4kyndIePoQh08w53bYawNTz6pqy06tbuXpsxRxg ADHmDWMo/0V5p86zJKEvL0v8rWUQHjK8lGHIzgKDsnRuNlB/ifXQiiPTU8mHFH1EO71L /4og== X-Gm-Message-State: APjAAAWvy8QbO2sohx/zExUm/xwziFQY0eGPhI3f3mAdOGGj6rjbVOCO 0EVDWJMx7lcinxjkLt3yifJyhTXU9c0= X-Google-Smtp-Source: APXvYqwcFLRmrd4hlVuSbNi7fdF2M68a4kLIWnly30235JjuAzTr5vGTJ2k1GpqrWLk0D+vOX7sIVA== X-Received: by 2002:a24:641:: with SMTP id 62mr7976317itv.19.1559149349657; Wed, 29 May 2019 10:02:29 -0700 (PDT) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id b196sm1232369itb.30.2019.05.29.10.02.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 May 2019 10:02:27 -0700 (PDT) In-Reply-To: (tenspd's message of "Wed, 29 May 2019 10:17:05 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159886 Archived-At: Hi, "tenspd137 ." 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@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