turiya / gappproxy

Automatically exported from code.google.com/p/gappproxy
GNU General Public License v3.0
0 stars 0 forks source link

使用公司代理上网,报出504错误?? #111

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
我住在公司的宿舍里,使用的是公司的http代理上网,这是第�
��层的代理,然后又使用了GappProxy代理来翻墙,相当于是第二
层的代理
我的版本是GappProxy1.2,前几天突然用不了了。我到网吧重新弄�
��一个,新建的appid是lianrikangmei,版本是2.0,在网吧里,由于
没
有第一层的代理,直接使用GappProxy成功翻墙,但是回到宿舍��
�,怎么都连接不上。在网吧里连接成功后访问网页会打印很�
��连接的信息
,但是在寝室里一条连接的信息都没有打印,只是在最后报��
�一个504错误,gateway timeout,应该怎么解决这个问题?
下面是我的配置信息,再下面是连接失败后报出的错误。
# GAppProxy configuration

# listen_port
listen_port = 8000

# local_proxy
#local_proxy = host:port

# If local proxy needs authentication:
local_proxy = f1322455:password@ehome-A.efoxconn.com:3128

# fetch server
#fetch_server = http://127.0.0.1:8080/fetch.py
fetch_server = http://lianrikangmei.appspot.com/fetch.py

连接失败后报出的错误:
---------------------------------------------
localhost - - [12/Dec/2010 03:02:57] code 504, message Gateway Timeout
localhost - - [12/Dec/2010 03:02:57] "Get http://www.baidu.com/ HTTP/1.1" 504 -
----------------------------------------
Exception happened during processing of request from <'127.0.0.1',1071>
Traceback <most recent call last>:
  File "SocketServer.pyo", line 558, in process_request_thread
  File "SocketServer.pyo", line 320, in finish_request
  File "SocketServer.pyo", line 615, in __init__
  File "BaseHTTPServer.pyo", line 329, in handle
  File "BaseHTTPServer.pyo", line 323, in handle_one_request
  File "proxy.py", line 214, in do_METHOD
  File "BaseHTTPServer.pyo", line 357, in send_error
  File "BaseHTTPServer.pyo", line 384, in send_response
  File "BaseHTTPServer.pyo", line 390, in send_header
  File "socket.pyo", line 300, in write
  File "socket.pyo", line 286, in flush
error:[Error 10053]
-------------------------------------------------------------------
localhost - - [12/Dec/2010 03:02:58] code 504, message Gateway Timeout
localhost - - [12/Dec/2010 03:02:58] "Get http://www.baidu.com/ HTTP/1.1" 504 -
localhost - - [12/Dec/2010 03:03:02] code 504, message Gateway Timeout
localhost - - [12/Dec/2010 03:03:02] "Get http://www.baidu.com/ HTTP/1.1" 504 -

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

GoogleCodeExporter commented 9 years ago
今天又莫名其妙的好使了,也不知道是怎么回事???

Original comment by lianrika...@gmail.com on 13 Dec 2010 at 12:50

GoogleCodeExporter commented 9 years ago
我这里是始终不行的。 报的错误跟上面的一样。

Original comment by moonese on 5 Jan 2011 at 5:04