我的系统是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的吗?
debian7有人成功配置好了goagent的吗?
-
- 帖子: 980
- 注册时间: 2008-04-12 12:44
-
- 帖子: 447
- 注册时间: 2008-06-23 19:31
- 系统: debian+fedora+win10
-
- 帖子: 447
- 注册时间: 2008-06-23 19:31
- 系统: debian+fedora+win10
Re: debian7有人成功配置好了goagent的吗?
google的ip被间断性掐掉。这几天
-
- 帖子: 980
- 注册时间: 2008-04-12 12:44
Re: debian7有人成功配置好了goagent的吗?
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
------------------------------------------------------
我总是出现这样的问题,请问,如何解决?
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
------------------------------------------------------
我总是出现这样的问题,请问,如何解决?
-
- 帖子: 980
- 注册时间: 2008-04-12 12:44
Re: debian7有人成功配置好了goagent的吗?
查看了很多文献,就是不行
之前知道这个命令:
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
照做,没有用
之前知道这个命令:
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
照做,没有用
-
- 帖子: 61
- 注册时间: 2012-05-11 21:05
Re: debian7有人成功配置好了goagent的吗?
正常配没什么问题,可能是google被墙了
-
- 帖子: 447
- 注册时间: 2008-06-23 19:31
- 系统: debian+fedora+win10
Re: debian7有人成功配置好了goagent的吗?
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杀后台进程
下载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杀后台进程
上次由 l10x 在 2013-08-05 9:31,总共编辑 2 次。
-
- 帖子: 447
- 注册时间: 2008-06-23 19:31
- 系统: debian+fedora+win10
Re: debian7有人成功配置好了goagent的吗?
据说新疆被墙强化保护
-
- 帖子: 6
- 注册时间: 2008-09-04 11:50
Re: debian7有人成功配置好了goagent的吗?
本人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下一切正常求破
/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下一切正常求破