From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Google weather Date: Tue, 07 Jun 2011 09:40:37 -0400 Message-ID: <11641.1307454037@alphaville.dokosmarshall.org> References: <2FDBB154-BCB9-4EB7-ABFD-A13B1A2028C2@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTwWa-0007sj-Cf for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 09:40:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTwWZ-0007qt-0v for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 09:40:52 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:58886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTwWY-0007ql-LF for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 09:40:50 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LMF002U89ZQW970@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 08:40:38 -0500 (CDT) In-reply-to: Message from Carsten Dominik of "Tue, 07 Jun 2011 08:53:11 +0200." <2FDBB154-BCB9-4EB7-ABFD-A13B1A2028C2@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: nicholas.dokos@hp.com, emacs-orgmode mailing list Carsten Dominik wrote: > Hi everyone, > > I am trying to use the google weather in Org-mode for the first time, = > but I am always getting a 443 error when I evaluate something like > > (org-google-weather "Amsterdam") > > I am not sure where to look for what might causing this - any pointers = > would be > appreciated.... > As Ian points out, the https: version of the URL might be causing you problems. I have this problem from work, where I'm behind the firewall and the proxy does not seem to be able or willing to forward the request - it works fine from home. But I would caution everybody that Google seems to be changing the data they return on a daily basis nowadays and google-weather cannot keep up. It might be a good idea to wait a few days for the volatility to die down. See the related thread "Icon problem with org-google-weather" for a blow-by-blow description of the fight. BTW, you can ask google-weather to use the http: protocol by (setq google-weather-use-https nil) Nick PS Here's a debugging function I wrote to bypass google-weather altogether and check what Google was sending me. This in combination with visiting the URLs in a browser, as Ian points out, should be enough to get you through http/https/SSL/proxy problems: (defun my-url-retrieve (url) (with-current-buffer (url-retrieve-synchronously url) (buffer-substring (point-min) (point-max)))) Try (my-url-retrieve "http://www.google.com/ig/api?weather=Amsterdam") and/or the https version of it.