pombreda / gcalcli

Automatically exported from code.google.com/p/gcalcli
0 stars 0 forks source link

No Work Thru Proxy Server #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!
I install gcalcli (apt-get install gcalcli), and make config file in 
~/.gcalclirc with 
[gcalcli]
user: myusername without gmail.com )))
pw: my_pass

What steps will reproduce the problem?
1. gcalcli agenda
#  Error: Failed to authenticate with Google Calendar!

Im use proxy server authentication. In /etc/bash.bashrc add 

export HTTP_PROXY=http://my_real_name:my_real_pass@10.25.112.2:8080/
export HTTPS_PROXY=https://my_real_name:my_real_pass@10.25.112.2:8080/
in /etc/environment i add
http_proxy="http://10.25.112.2:8080/"
ftp_proxy="ftp://10.25.112.2:8080/"
https_proxy="https://10.25.112.2:8080/"

And no have succes, the problem have still!
Im try find solution at google.com and code.google.com, but in no have succes. 

What version of the product are you using? On what operating system?
Package: gcalcli
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 88
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: all
Version: 1.4-2
Depends: python, python-gdata (>= 1.0.7), python-dateutil

Distributor ID: Ubuntu
Description:    Ubuntu 10.04.1 LTS
Release:    10.04
Codename:   lucid

Please help me. 
BIG THX !!!

Original issue reported on code.google.com by vklimov1...@gmail.com on 27 Aug 2010 at 12:18

GoogleCodeExporter commented 9 years ago
In my /usr/bin/gcalcli at 226 string feedPrefix    = 
'http://www.google.com/calendar/feeds/' , http is correct for me, but when use 
tcpdump -i eth1 dst google.com, and run "gcalcli list" im find next 
10:13:16.032583 IP spongebob.34278 > 74.125.87.105.https: Flags [S], seq 
2524636656, win 5840, options [mss 1460], length 0
10:13:19.031041 IP spongebob.34278 > 74.125.87.105.https: Flags [S], seq 
2524636656, win 5840, options [mss 1460], length 0
10:13:25.031022 IP spongebob.34278 > 74.125.87.105.https: Flags [S], seq 
2524636656, win 5840, options [mss 1460], length 0
10:13:43.554583 IP spongebob.34280 > 74.125.87.105.https: Flags [S], seq 
2954665857, win 5840, options [mss 1460], length 0
10:13:46.551044 IP spongebob.34280 > 74.125.87.105.https: Flags [S], seq 
2954665857, win 5840, options [mss 1460], length 0
 Why gcalcli try connect thru https ? Whe and whay i need change? 
When i change http on https problem still unchanged.

Original comment by vklimov1...@gmail.com on 31 Aug 2010 at 6:36

GoogleCodeExporter commented 9 years ago
I'm pretty sure the python gdata module does not support auth info embedded in 
the url. You need to set the following environment variables.  This has been 
tested and works.

   http_proxy
   https_proxy
   proxy-username or proxy_username
   proxy-password or proxy_password

Original comment by eda...@insanum.com on 5 Aug 2011 at 5:12