mhraga / hyk-proxy

Automatically exported from code.google.com/p/hyk-proxy
0 stars 0 forks source link

0.9.0一些问题 #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
用zip压缩包的0.9.0,只装了php和gae两个插件
1.php配置不了,按config没反应
2.要配置xmpp先要配置一个appid,否则报错
3.xmpp账号只能保存一个?

Original issue reported on code.google.com by gtoriz...@gmail.com on 13 Sep 2010 at 4:11

GoogleCodeExporter commented 8 years ago
1. phptunnel需要手动部署server, 
php文件在plugins/phptunnel/deploy目录下
   也需要手动配置,配置文件在plugins/phptunnel/etc下
2. 待查
3. 支持多个

Original comment by yinqiwen@gmail.com on 13 Sep 2010 at 4:49

GoogleCodeExporter commented 8 years ago
3.设置的时侯可以设置多个,但保存以后再打开config就只剩下
一个了

Original comment by gtoriz...@gmail.com on 13 Sep 2010 at 4:58

GoogleCodeExporter commented 8 years ago
2,3在0.9.0之前是没有问题的,若真有此问题,应该是此次重�
��引入的问题,待查

Original comment by yinqiwen@gmail.com on 13 Sep 2010 at 5:56

GoogleCodeExporter commented 8 years ago
php 部署了还是不行,有没有什么办法调试?

Original comment by DragonWa...@gmail.com on 13 Sep 2010 at 5:59

GoogleCodeExporter commented 8 years ago
1. 
确认选择PHPTunnel作为proxy实现,config对话框选择或者直接修改
配置文件(运行中修改后需要重启)
2. 检查配置,以及上传tunnel.php
3. 确认PHP 
server可以直接连接(通过浏览器检查,输入配置的tunnel.php的u
rl)
4. 
若是http可行而https不可行,需要检查当前网络条件,满足一��
�条件https才可用

Original comment by yinqiwen@gmail.com on 13 Sep 2010 at 8:54

GoogleCodeExporter commented 8 years ago
如果访问 http://www.xxx.com/tunnel.php, 
正常情况下会显示什么?我部署的2个server都是现实空白页.

Original comment by DragonWa...@gmail.com on 13 Sep 2010 at 1:04

GoogleCodeExporter commented 8 years ago
只要不是连接不可达就行,空白正常,不过需要在无代理情��
�下

Original comment by yinqiwen@gmail.com on 13 Sep 2010 at 1:58

GoogleCodeExporter commented 8 years ago
我布置phptunnel成功了,你们可以试试这个:
http://gs16.kilu.de/mytools/tunnel.php

Original comment by congxz6...@gmail.com on 13 Sep 2010 at 8:47

GoogleCodeExporter commented 8 years ago
PHPTunnel Plugin是不是只要能给出tunnel.php的地址就可以了?

Original comment by xubu...@gmail.com on 14 Sep 2010 at 12:40

GoogleCodeExporter commented 8 years ago
PHP server是不是要另外建立一个?

Original comment by xubu...@gmail.com on 14 Sep 2010 at 12:42

GoogleCodeExporter commented 8 years ago
http://gs16.kilu.de/mytools/tunnel.php
这个还是不行啊,没反应。

Original comment by DragonWa...@gmail.com on 14 Sep 2010 at 3:47

GoogleCodeExporter commented 8 years ago
phptunnel只能连接ftp,  http https均无效。

Original comment by DragonWa...@gmail.com on 14 Sep 2010 at 6:38

GoogleCodeExporter commented 8 years ago
回复11楼的DragonWarriorThree:
不知道你是怎么用的,应该到plugins\phptunnel\etc目录下,编辑ph
ptunnel.conf,把
http://gs16.kilu.de/mytools/tunnel.php放在最后一行,前面不能用"#"。
这样设置好以后,在客户端里就可以跟GAE一样用了。
这不是直接点着用的。不是在线代理。

Original comment by congxz6...@gmail.com on 15 Sep 2010 at 4:06

GoogleCodeExporter commented 8 years ago
congxz6688,, 这个我知道啊,我在我的php空间部署的其他php 
server都可以用,就这个tunnel.php不可以。

Original comment by DragonWa...@gmail.com on 15 Sep 2010 at 4:49

GoogleCodeExporter commented 8 years ago
phptunnel错误 附图

Original comment by DragonWa...@gmail.com on 15 Sep 2010 at 5:47

Attachments:

GoogleCodeExporter commented 8 years ago
把配置文件附上来吧,是plugins\phptunnel\etc\phptunnel.conf
这个只是运行过程中的一个断连异常,正常情况下也会有,��
�明不了任何问题

Original comment by yinqiwen@gmail.com on 15 Sep 2010 at 6:18

GoogleCodeExporter commented 8 years ago
phptunnel错误 附配置文件

Original comment by DragonWa...@gmail.com on 15 Sep 2010 at 9:08

Attachments:

GoogleCodeExporter commented 8 years ago
先看看只配置用一个php服务端是否可行,
http://gs16.kilu.de/mytools/tunnel.php我试过是可以的

Original comment by yinqiwen@gmail.com on 16 Sep 2010 at 1:43

GoogleCodeExporter commented 8 years ago
能不能像wallproxy那样同时用gae和php处理不同的请求? 
http://code.google.com/p/wallproxy/

Original comment by gtoriz...@gmail.com on 16 Sep 2010 at 4:14

GoogleCodeExporter commented 8 years ago
换了6个php空间,终于有一个可以连上了,看来phptunnel对php空�
��的要求很高啊。但是https还是不行,路由器和xp3的upnp都已经
开通。

Original comment by DragonWa...@gmail.com on 16 Sep 2010 at 4:32

GoogleCodeExporter commented 8 years ago
To gtorizuka:
 Read the wiki page http://code.google.com/p/hyk-proxy/wiki/SpecialProxyAutoConfig
To DragonWarriorThree:
 http方式下和APJP的要求一致,https则有很多额外限制,包括你的网络条件以及PHP空间

Original comment by yinqiwen@gmail.com on 16 Sep 2010 at 5:51

GoogleCodeExporter commented 8 years ago
我在heliohost上部署apjp 和 hyk phptunnel。 
apjp可以用,hyk不可以。

Original comment by DragonWa...@gmail.com on 16 Sep 2010 at 7:30

GoogleCodeExporter commented 8 years ago
我试过好多免费的空间了,只有kilu.de和toypark.in能配置hyk。

另外,说一下,http://gs16.kilu.de/mytools/tunnel.php    
这个我已经撤了,因为有被利用的可能。想用的话,自己去��
�请,也不难的。

Original comment by congxz6...@gmail.com on 16 Sep 2010 at 7:44

GoogleCodeExporter commented 8 years ago
phptunnel只是验证利用PHP空间构建完全https 
tunnel的试验之作,相对于其它基于PHP的proxy并无太多优势;如
果对伪造证书的https proxy安全性不在意的话,推荐用APJP。
另外,部署phptunnel需要PHP空间支持以下函数
fsockopen
stream_set_blocking (https)
stream_select (https)

Original comment by yinqiwen@gmail.com on 16 Sep 2010 at 8:02

GoogleCodeExporter commented 8 years ago
现在hyk最大的优点就是XMPP吧

Original comment by DragonWa...@gmail.com on 16 Sep 2010 at 9:26

GoogleCodeExporter commented 8 years ago
XMPP只是从最初版本就有的很小的一个feature,用的机会不多
优点一般要靠自己去比较,至少本人说的是不算的 :)

Original comment by yinqiwen@gmail.com on 16 Sep 2010 at 9:41

GoogleCodeExporter commented 8 years ago
在上传后出现以下错误,求解:
D:\gae\app\appengine-java-sdk-1.3.7\bin>appcfg.cmd update war
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/ap
pengine/tools/admin/AppCfg (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Original comment by dizzy...@gmail.com on 20 Sep 2010 at 2:34

GoogleCodeExporter commented 8 years ago
更新你的JRE,需要1.6

Original comment by yinqiwen@gmail.com on 20 Sep 2010 at 3:22

GoogleCodeExporter commented 8 years ago
to yinqiwen
  已经更新JRE到1.6,还是提示相同错误?

Original comment by dizzy...@gmail.com on 20 Sep 2010 at 8:59

GoogleCodeExporter commented 8 years ago
在命令行下执行java -version看看当前java版本,

Original comment by yinqiwen@gmail.com on 20 Sep 2010 at 12:04

GoogleCodeExporter commented 8 years ago
很遗憾,xmpp今天连接不上了,昨天还可以的,两种mail都不行,http�
��式可以连接.

Original comment by ggttf...@gmail.com on 20 Sep 2010 at 2:27

GoogleCodeExporter commented 8 years ago
XMPP != Gtalk/Gmail
网络上有很多提供XMPP服务
http://xmpp.org/services/

Original comment by yinqiwen@gmail.com on 20 Sep 2010 at 2:51

GoogleCodeExporter commented 8 years ago
俺并没有单单使用gtalk,而是使用了GTALK/jabber.org两种,都连接不
上,而用gtunnel的gtalk方式验证,可以连接,不知是何原因.

Original comment by ggttf...@gmail.com on 20 Sep 2010 at 11:08

GoogleCodeExporter commented 8 years ago
Gtalk支持两个端口,5222和433, 
hyk-proxy用的是5222,你可以用433试试

Original comment by yinqiwen@gmail.com on 21 Sep 2010 at 1:23

GoogleCodeExporter commented 8 years ago
谢谢,xmpp又连上了,还是5222,不过,需要花不少时间才能连上.另�
��,平时使用xmpp中发现,虽然在连通状态,但有时打不开网页,而�
��没有什么提示,需要退出hyk重新进入并连接后,才能重新正常�
��作.

Original comment by ggttf...@gmail.com on 21 Sep 2010 at 2:08

GoogleCodeExporter commented 8 years ago
这个应该是网络中断情况下XMPP协议栈没有检测出来重连

Original comment by yinqiwen@gmail.com on 21 Sep 2010 at 3:29

GoogleCodeExporter commented 8 years ago
xmpp只能有一个账号,手动改设置报错,8.6和9.0都是。

Original comment by x00...@gmail.com on 6 Oct 2010 at 5:47

GoogleCodeExporter commented 8 years ago
xmpp帐号可以设置多个,这个是没有问题的,和appid的个数也��
�有关系
这个bug是GUI的一个问题,目前的规避之法就是一次GUI设置过��
�中把所有xmpp帐号都填上再apply或者直接修改配置文件

Original comment by yinqiwen@gmail.com on 7 Oct 2010 at 2:08

GoogleCodeExporter commented 8 years ago
Fixed in V0.9.1

Original comment by yinqiwen@gmail.com on 11 Dec 2010 at 7:47