yinqiwen / hyk-proxy

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

Local Proxy设置的情况下,支持两级google proxy #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
我在公司内使用代理上网,公司的HTTP代理地址是ehome-A.efoxconn
.com:3128,
今天在网吧建了一个站点caoxueqin19871125.appspot.com,在网吧里测
试代理连接成功。回到公司,使用了公司的代理之后,就一��
�无法成功。显示Failed launch local proxy 
server.我不知道在哪里可以看到log文件,因此没有粘出来。

下面是我的配置文件,我使用的版本是0.86
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Configure>
    <localserver port="48100" host="localhost"/>
    <defaultLocalProxy>
        <host>ehome-A.efoxconn.com</host>
        <port>3128</port>
        <user>f1322455</user>
        <passwd>password</passwd>
    </defaultLocalProxy>
    <compressor>lzf</compressor>
    <connectionMode>2</connectionMode>
    <fetchLimitSize>250000</fetchLimitSize>
    <httpConnectionPoolSize>7</httpConnectionPoolSize>
    <httpUpStreamEncrypter>se1</httpUpStreamEncrypter>
    <localProxy>
        <host>ehome-A.efoxconn.com</host>
        <port>3128</port>
        <user>f1322455</user>
        <passwd>password</passwd>
    </localProxy>
    <hyk-proxy-server passwd="RW6024Z5" user="root" appid="caoxueqin19871125"/>
    <maxFetcherNumber>3</maxFetcherNumber>
    <proxyEventServiceFactory>GAE</proxyEventServiceFactory>
    <RPCTimeOut>90</RPCTimeOut>
    <simpleURLEnable>true</simpleURLEnable>
    <threadPoolSize>30</threadPoolSize>
    <XMPPAccount oldSSLEnable="false" serverHost="talk.google.com" serverPort="5222" passwd="19871125jamesben" user="caoxueqin1981125@gmail.com"/>
</Configure>

Original issue reported on code.google.com by caoxueqi...@gmail.com on 11 Dec 2010 at 5:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
你们公司的HTTP代理配置不对吧 密码就是password?
先确定你挂上公司代理后能用啊 能链接appspot吗 
挂上代理看看caoxueqin19871125.appspot.com网页能不能打开

Original comment by wqx...@gmail.com on 12 Dec 2010 at 3:01

GoogleCodeExporter commented 9 years ago
我现在使得就是公司的代理在上网,挂上公司的代理之后通��
�在线代理可以打开caoxueqin19871125.appspot.com网页。直接连接时��
�不到这个网页的。

Original comment by caoxueqi...@gmail.com on 12 Dec 2010 at 4:28

Attachments:

GoogleCodeExporter commented 9 years ago
请告诉我在哪里可以看到log文件,我可以把log文件粘出来!��
�谢!

Original comment by caoxueqi...@gmail.com on 12 Dec 2010 at 4:30

GoogleCodeExporter commented 9 years ago
右键托盘图标,有一个“View Log”选项

Original comment by yinqiwen@gmail.com on 12 Dec 2010 at 8:32

GoogleCodeExporter commented 9 years ago
1. 
如果在公司直接在浏览器地址栏输入caoxueqin19871125.appspot.com后
能够访问,则只需要配置<localProxy>....</localProxy>配置对就行了

2. 
如果不能直接访问caoxueqin19871125.appspot.com,先确认是否能通过
公司的浏览器访问mail.google.com,如果能,参照下面步骤看看是�
��可行:
(1) 配置<localProxy>....</localProxy>为正确值,可以通过GUI配置
(2) 更新下面这个patch, 
替换安装目录下plugins/gae/lib/hyk-proxy-gae-client.jar
(3) 手动编辑plugins/gae/etc/hyk-proxy-gae-conf.xml, 加入下面一行
   <googleNextHopServer>mail.google.com</googleNextHopServer>
最后重启
注:第二步限于0.9.1版本

Original comment by yinqiwen@gmail.com on 13 Dec 2010 at 1:33

Attachments:

GoogleCodeExporter commented 9 years ago
 更新jar

Original comment by yinqiwen@gmail.com on 14 Dec 2010 at 12:04

Attachments:

GoogleCodeExporter commented 9 years ago
昨天晚上起神奇般的好使了,无论是GappProxy,还是hyk,可能��
�公司内部关掉了某个代理服务器的缘故,或者是其他的原因�
��有没有好心人愿意解答一下这个现象呢?谢谢关注的帖子!

Original comment by caoxueqi...@gmail.com on 14 Dec 2010 at 1:55

GoogleCodeExporter commented 9 years ago
V0.9.2 released!

Original comment by yinqiwen@gmail.com on 2 Apr 2011 at 3:21