分页: 1 / 1

debian7有人成功配置好了goagent的吗?

发表于 : 2013-07-28 21:15
罗非鱼
我的系统是debian7 wheezy正式版。
使用goagent出现问题

GoAgent CA ,,
------------------------------------------------------
GoAgent Version : 3.0.2 (python/2.7.3 gevent/0.13.6 pyopenssl/0.13)
Listen Address : 127.0.0.1:8087
GAE Mode : https
GAE Profile : google_cn
GAE APPID : camstock2012
Pac Server : http://127.0.0.1:8086/proxy.pac
Pac File : file:///home/debian/goagent-3.0/local/proxy.pac
------------------------------------------------------
127.0.0.1 - - [28/Jul/2013 16:51:54] code 400, message Bad request syntax ('\x04\x01\x00PJ}\x1fg\x00')
127.0.0.1 - - [28/Jul/2013 16:51:54] "PJ}g" 400 -
127.0.0.1 - - [28/Jul/2013 16:51:54] code 400, message Bad request syntax ('\x04\x01\x00PJ}\x1fg\x00')
127.0.0.1 - - [28/Jul/2013 16:51:54] "PJ}g" 400 -
127.0.0.1 - - [28/Jul/2013 16:51:55] code 400, message Bad request syntax ('\x04\x01\x00P\xcal%f\x00')


请问,如何解决?
有debian7有人成功配置好了goagent的吗?

Re: debian7有人成功配置好了goagent的吗?

发表于 : 2013-07-28 21:49
l10x
成功了。
用 google_hk看油图笔速度快。
我是按这个链接,除了托盘,新立得有的都装了
https://code.google.com/p/goagent/wiki/GoAgent_Linux

Re: debian7有人成功配置好了goagent的吗?

发表于 : 2013-07-28 22:26
l10x
google的ip被间断性掐掉。这几天

Re: debian7有人成功配置好了goagent的吗?

发表于 : 2013-08-03 21:22
罗非鱼
root@debian:/home/debian# cd /home/debian/goagent-3.0/local
root@debian:/home/debian/goagent-3.0/local# python proxy.py
certutil: function failed: security library: bad database.
certutil: function failed: security library: bad database.
WARNING - [Aug 3 17:21:10] install root certificate failed, Please run as administrator/root/sudo
------------------------------------------------------
GoAgent Version : 3.0.2 (python/2.7.3 gevent/0.13.6 pyopenssl/0.13)
Listen Address : 127.0.0.1:8087
GAE Mode : https
GAE Profile : google_hk
GAE APPID :
Pac Server : http://127.0.0.1:8086/proxy.pac
Pac File : file:///home/debian/goagent-3.0/local/proxy.pac
------------------------------------------------------
我总是出现这样的问题,请问,如何解决?

Re: debian7有人成功配置好了goagent的吗?

发表于 : 2013-08-03 22:35
罗非鱼
查看了很多文献,就是不行

之前知道这个命令:
certutil -d sql:$HOME/.pki/nssdb -A -t TC -n "goagent" -i /opt/goagent/local/CA.crt

但后来不知道是文件损坏还是怎么回事,一运行就出错,比如:
certutil: function failed: security library: bad database.

或者:
certutil: could not authenticate to token NSS Certificate DB.: An I/O error occurred during security authorization.

重建目录和文件也不行,找了好几次终于找到初始化的命令:
modutil -changepw "NSS Certificate DB" -dbdir $HOME/.pki/nssdb

然后再运行
certutil -d sql:$HOME/.pki/nssdb -A -t TC -n "goagent" -i /opt/goagent/local/CA.crt

照做,没有用

Re: debian7有人成功配置好了goagent的吗?

发表于 : 2013-08-05 0:34
fanchengniang
正常配没什么问题,可能是google被墙了

Re: debian7有人成功配置好了goagent的吗?

发表于 : 2013-08-05 9:04
l10x
https://code.google.com/p/goagent/wiki/GoAgent_Linux

下载Windows版goagent,,goagent 3.0.2 正式版下载 https://codeload.github.com/goagent/goagent/zip/3.0

GoAgent目录下goagent-3.0\local\CA.crt证书直接导入iceweasel就行了,用嘛命令

安装PyOpenSSL或者是OpenSSL(现在win下上班,记不清了)

goagent-3.0\local\proxy.ini填入appid,goagent-3.0\local\proxy.py加上可执行权限之后直接双击proxy.py后即在后台运行。
退出我用lxtask杀后台进程

Re: debian7有人成功配置好了goagent的吗?

发表于 : 2013-08-05 9:05
l10x
据说新疆被墙强化保护

Re: debian7有人成功配置好了goagent的吗?

发表于 : 2013-10-06 16:54
北山渔公
本人debian testing( Jessie)- i386按照https://code.google.com/p/goagent/wiki/GoAgent_Linux中ubuntu方法安装,greenlet-0.4.0,gevent-1.0rc2,pyopenssl-0.13-2.1,openssl-1.0.1e-3,python-2.7.2-5,python-vte-1:0.28.2-5.goagent为上网站下载,上传成功,但是终端运行addto-startup.py出错信息如下
/usr/bin/python2.7
/home/xiaomao/goagent/local/goagent-gtk.py:186: Warning: /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./gobject/gsignal.c:2475: signal `child-added' is invalid for instance `0x96be0c8' of type `GtkMenu'
self.trayicon.set_menu(self.make_menu())
在win下一切正常求破