From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: google-calendar.el blocked? Date: Sun, 19 Aug 2012 16:59:40 +0100 Message-ID: <87r4r298k3.fsf@pank.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T37ur-00019r-6i for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 11:59:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T37up-0005Vh-TX for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 11:59:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:44168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T37up-0005Va-My for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 11:59:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T37up-00054j-0A for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 17:59:51 +0200 Received: from 93-96-208-164.zone4.bethere.co.uk ([93.96.208.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Aug 2012 17:59:50 +0200 Received: from rasmus by 93-96-208-164.zone4.bethere.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Aug 2012 17:59:50 +0200 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: emacs-orgmode@gnu.org Hi, For some time google-calendar.el hasn't been working for me. I looked into it, and it seems the user-agent has been blocked cf. the output below: Has anyone else experienced this? Or how to fix it? (I.e. how to change the user-agent of url-retrieve or something similar?) Thanks, Rasmus #+NAME: Debugging #+BEGIN_SRC emacs-lisp (defun my-url-retrieve (url) (with-current-buffer (url-retrieve-synchronously url) (buffer-substring (point-min) (point-max)))) (my-url-retrieve "http://www.google.com/ig/api?weather=London") #+END_SRC #+RESULTS: Debugging #+begin_example HTTP/1.1 403 Forbidden X-Frame-Options: SAMEORIGIN Content-Type: text/html; charset=UTF-8 Date: Sun, 19 Aug 2012 15:49:35 GMT Pragma: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Cache-Control: no-cache, no-store, must-revalidate X-Content-Type-Options: nosniff Server: igfe Content-Length: 970 X-XSS-Protection: 1; mode=block Error 403 (Forbidden)!!1 Google

403. That's an error.

Your client does not have permission to get URL /ig/api?weather=London from this server. That's all we know. #+end_example -- This space left intentionally blank