venliong / hyk-proxy Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/hyk-proxy
Automatically exported from code.google.com/p/hyk-proxy
RT
Original issue reported on code.google.com by [email protected]
on 30 May 2010 at 2:16
img.ly和自定义推特首页背景都不行
2个都没有反应,其他在墙外的上传图片的网站好像也不行
Original issue reported on code.google.com by [email protected]
on 4 Jun 2010 at 6:57
deploy时 到25%时就不动了 然后提示
java.net.SocketException: Software caused connection abort: recv failed
Unable to update app: Software caused connection abort: recv failed
要不就是
java.net.SocketException: Connection reset
Unable to update app: Connection reset
Original issue reported on code.google.com by [email protected]
on 14 Jun 2010 at 10:51
如果本地访问外网需要先走一个本地代理,这要怎么设置,��
�个代理才能用?
Original issue reported on code.google.com by [email protected]
on 26 Feb 2010 at 12:00
经过测试,使用多个appid,单个connection_pool下,会有像以前版
本的阻塞问题。
测试: 7个appid, connection_pool_size = 1。
附上log。
注意 2010-03-18 21:34:42,607,
是其中一个hyk-proxy-client完全阻塞的时间(那时候
hyk-proxy-client没有任何network activity)。
还有阻塞的时候,运行stop.bat,需要等几秒的时间,client才收
到stop client的命令,才会关
闭client。
这种情况在使用1个appid,7个connection pool 的时候没有出现。
希望可以解决,不然就失去可以使用多个appid的意义/优势了��
�
Original issue reported on code.google.com by [email protected]
on 18 Mar 2010 at 2:00
Attachments:
Exception during event dispatch:
java.lang.NoSuchMethodError: setLocationByPlatform
at com.hyk.proxy.client.launch.gui.GUILauncher.initComponents(GUILauncher.java:119)
at com.hyk.proxy.client.launch.gui.GUILauncher.<init>(GUILauncher.java:60)
at com.hyk.proxy.client.launch.gui.GUILauncher$16.run(GUILauncher.java:669)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:200)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:615)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
Original issue reported on code.google.com by [email protected]
on 9 Aug 2010 at 7:53
在Youtube观看影片是,有时会出现'An error occurred, please try again
later.'
无法载入影片。
Original issue reported on code.google.com by [email protected]
on 26 Feb 2010 at 11:38
和GAPP一样,在打开如https://twitter.com的这样的网站时无法显示
头像,页面也会错位
Original issue reported on code.google.com by [email protected]
on 16 May 2010 at 11:12
Attachments:
小白提问
Original issue reported on code.google.com by [email protected]
on 20 Aug 2010 at 1:50
chrome连Google Docs打不开
所有基于Google的https加密连接,打开都提示ssl链接出错
这可如何是好。。
Original issue reported on code.google.com by [email protected]
on 6 Aug 2010 at 1:14
小白提问
Original issue reported on code.google.com by [email protected]
on 20 Aug 2010 at 1:35
在使用hyk-proxy的时候,会有全部连接(thread)都没反应,在等待
respond的问题。
如果用asynchronous requests, The application can perform other tasks while
the URL is being fetched. http://goo.gl/9hZk
这样能不能解决这个问题?
代码例子:
Simple, Complete, Tested Example Of Fetching 10 HTTP Requests In Parallel
Asynchronously Using Google App Engine For Java
-------------------------------------------------------------------------
package org.appEngineAsync.server;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.Future;
import org.appEngineAsync.client.GreetingService;
import com.google.appengine.api.urlfetch.HTTPHeader;
import com.google.appengine.api.urlfetch.HTTPRequest;
import com.google.appengine.api.urlfetch.HTTPResponse;
import com.google.appengine.api.urlfetch.URLFetchServiceFactory;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
@SuppressWarnings("serial")
public class GreetingServiceImpl extends RemoteServiceServlet implements
GreetingService
{
private HTTPRequest request = null;
HTTPHeader acceptCharsetHeader = new HTTPHeader("Accept-Charset", "utf-8");
// All three of these data types are synchronized for thread safety
List<Future<HTTPResponse>> responses = new
CopyOnWriteArrayList<Future<HTTPResponse>>();
protected List<String> tempSingleUrl = new CopyOnWriteArrayList<String>();
StringBuffer sb = new StringBuffer();
public String greetServer(String input) throws Exception
{
List<String> urlsToFetchInParrallel = new ArrayList<String>();
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=1&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=11&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=21&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=31&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=41&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=51&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=61&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=71&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=81&max-results=10&v=2");
urlsToFetchInParrallel.add("http://gdata.youtube.com/feeds/api/channels?q="
+ input + "&start-index=91&max-results=10&v=2");
return performHttpRequest(urlsToFetchInParrallel);
}
// pass in 10 urls at a time
private final String performHttpRequest(List<String> urls) throws
NumberFormatException, Exception
{
URL url = null;
request = null;
byte[] tempBuffer = null;
byte[] buffer = null;
ByteArrayInputStream memoryStream = null;
ByteArrayOutputStream baos = null;
final int buffSize = 8192;
int size = 0;
sb.setLength(0);
responses.clear();
try
{
for (String urlString : urls)
{
url = new URL(urlString);
request = new HTTPRequest(url);
request.addHeader(acceptCharsetHeader);
responses.add(URLFetchServiceFactory.getURLFetchService().fetchAsync(reques
t));
}
for (Future<HTTPResponse> futureResponse : responses)
{
try
{
memoryStream = new ByteArrayInputStream(futureResponse.get().getContent());
tempBuffer = new byte[buffSize];
baos = new ByteArrayOutputStream();
while ((size = memoryStream.read(tempBuffer, 0, buffSize)) != -1)
{
baos.write(tempBuffer, 0, size);
}
buffer = baos.toByteArray();
} catch (Exception ex)
{
// TODO: log or take other action
return null;
} finally
{
try
{
baos.close();
} catch (Exception ex)
{
// TODO: log
}
}
// TODO: put this on one line when done debugging
String responseString = new String(buffer, "UTF-8");
sb.append(responseString);
}
// TODO: put this on one line when done debugging
String allResponsesString = sb.toString();
return allResponsesString;
} catch (Exception ex)
{
// TODO: log
return null;
} finally
{
try
{
request = null;
url = null;
memoryStream = null;
tempBuffer = null;
baos = null;
} catch (Exception ex)
{
// TODO: log
return null;
}
}
}
}
-------------------------------------------------------------------------
来源:http://developeradvocate.appspot.com/id/10001/Simple,-Complete,-
Tested-Example-Of-Fetching-10-HTTP-Requests-In-Parallel-Asynchronously-
Using-Google-App-Engine-For-Java
http://code.google.com/p/googleappengine/issues/detail?id=1899
Original issue reported on code.google.com by [email protected]
on 21 Mar 2010 at 7:11
hyk-proxy是个很快的代理,用着很好
前几天还用的好好的,今天发现hyk-proxy连不上了,是自己的��
�理被封了还是?
Original issue reported on code.google.com by [email protected]
on 9 Jun 2010 at 12:15
关于localserver.http.connection_pool_size,如果=7
如果appid只有1个,pool连接是7个;
如果用2个appid,pool连接就变成14个。
如果用3个appid,pool连接就变成21个……
.
.
.
Original issue reported on code.google.com by [email protected]
on 3 Mar 2010 at 3:03
Attachments:
What steps will reproduce the problem?
1.
登录https的网站,无法登入,console界面出现以下错误提示:
What is the expected output? What do you see instead?
javax.net.ssl.SSLHandshakeException: no cipher suites in common
What version of the product are you using? On what operating system?
hyk-proxy-client-0.3.0 ,win7, jre,1.6.0_10 also jdk1.6
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Apr 2010 at 4:00
校园网的网络不好,更新到8.6会出现响应的状态,
2010-06-28 21:15:04,203 ERROR
[com.hyk.proxy.client.framework.httpserver.HttpLocalProxyRequestHandler.exceptio
nCaught(HttpLocalProxyRequestHandler.java:116)] - exceptionCaught.
javax.net.ssl.SSLException: Received fatal alert: bad_certificate
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1402)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1370)
at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1532)
at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1003)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:823)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:697)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at org.jboss.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:757)
at org.jboss.netty.handler.ssl.SslHandler.decode(SslHandler.java:491)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:282)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69)
at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
2010-06-28 21:24:05,186 ERROR
[com.hyk.proxy.client.framework.httpserver.HttpLocalProxyRequestHandler.exceptio
nCaught(HttpLocalProxyRequestHandler.java:116)] - exceptionCaught.
javax.net.ssl.SSLException: Received fatal alert: bad_certificate
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1402)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1370)
at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1532)
at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1003)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:823)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:697)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at org.jboss.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:757)
at org.jboss.netty.handler.ssl.SslHandler.decode(SslHandler.java:491)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:282)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69)
at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Original issue reported on code.google.com by [email protected]
on 28 Jun 2010 at 1:41
服务器端一直在运行,这样正常吗?
我这个ID没用共享过的。
http://i50.tinypic.com/2ij6geh.png
Original issue reported on code.google.com by [email protected]
on 29 Jun 2010 at 6:51
最近从Gappproxy换到hyk代理,总感觉同样是GAE上的代理,Gappprox
y比hyk快很多,是不是python语言的执行效率高于java语言?对于
提高代理速度hyk还有需要特别设置的吗?
谢谢Q
Original issue reported on code.google.com by [email protected]
on 24 Jun 2010 at 5:50
What steps will reproduce the problem?
1. Twitter 官网
2. 把一个推友加入List(勾)
3. undo list
4. undo不成功
在Twitter, delete user from list 的 HTTP request methods是 DELETE
hyk-proxy 不支持 DELETE request 吗?
From appengine docs: http://goo.gl/GeQk
The fetch can use any of the following HTTP methods: GET (common for
requesting web pages and data), POST (common for submitting web forms),
PUT, HEAD, and DELETE. The fetch can include HTTP request headers and a
payload (an HTTP request body).
hyk-proxy 支持那一种,不支持那一种?
Original issue reported on code.google.com by [email protected]
on 6 Apr 2010 at 11:44
建议XMPP使用443端口, SSL协议。
Original issue reported on code.google.com by [email protected]
on 30 Jan 2010 at 12:12
证书无效,证书仅对hyk.com有效。证书已过期。
Original issue reported on code.google.com by [email protected]
on 28 Jul 2010 at 8:23
用hyk-proxy+Firefox上网速度有些慢,而且图片经常会混乱……
用opera就没有这个问题……
不知道是不是个案……
Original issue reported on code.google.com by [email protected]
on 11 Jun 2010 at 9:08
最小化能不能图标化?
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 10:12
图片混乱,有时甚至会跑出其他网站缓存的图片,怀疑跟hyk-p
roxy的缓存处理有关?我是0.8.6客户端,同时用3个appid
PS:用GAPPPROXY之类的代理时图片正常,所以我才怀疑是hyk-proxy��
�问题
http://club.kdnet.net/newbbs/list.asp?boardid=1&page=1
Original issue reported on code.google.com by [email protected]
on 23 Jun 2010 at 5:31
Attachments:
环境为ubuntu 10.04
通过ssh -D 7070 绑定了7070端口。
修改了config文件:
<proxyEventServiceFactory>SPAC</proxyEventServiceFactory>
spac.csl配置下:
http://pastebin.com/EReDapN8
不过spac插件没有发生作用。。
如何处理?
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 1:38
发现如果appID中有一个被墙的话客户端就一直处于“starting”�
��态,无法连接而且响
应会变慢。
能不能自动剔除无效的appid,或者给个错误提示?
另外,客户端可以最小化到托盘吗?
Original issue reported on code.google.com by [email protected]
on 7 Jun 2010 at 1:04
facebook和youtube都登录不上,一直在显示waiting for proxy tunnel
Original issue reported on code.google.com by [email protected]
on 16 Jun 2010 at 11:30
不知道作者能够实现一个PHP服务端吗?
用来解决DELETE, PUT, 上传等等的问题。
Original issue reported on code.google.com by [email protected]
on 9 Jun 2010 at 5:56
I found that the transfer data size is more larger then the file size we
download, about 2 times larger.
hyk-proxy server should compress the data before send the data to client
right?
but the transfer size seen like more larger then original file size.
see attachment for testing detail.
Original issue reported on code.google.com by [email protected]
on 3 Feb 2010 at 3:21
Attachments:
有没LInux的客户端?
Original issue reported on code.google.com by [email protected]
on 30 Jun 2010 at 1:40
编辑页面,然后点保存,黄色标签一直显示正在保存,但是��
�终没有完成。
等了很久也是这样。试了很多次也是这样。
Original issue reported on code.google.com by [email protected]
on 7 May 2010 at 4:28
0.8时用w3m通过http://127.0.0.1:48100访问被墙网站是可行的,
但升级后只能载入文字,无法载入图像,
w3m一直显示“载入中”。
使用firefox就一直正常。
不知道是否与User-Agent有关
Original issue reported on code.google.com by [email protected]
on 23 May 2010 at 5:30
能不能根据Content Types来trigger压缩?
这样可以减少latency,也减少CPU usage。
http://www.iana.org/assignments/media-types/
比如说不压缩本来就已经压缩了的Content Types,如:
audio
video
image/gif
image/jpg
image/png
application/zip
application/x-gzip
application/x-zip-compressed
application/x-compress
application/x-compressed
application/x-spoon
等等……
压缩可以压缩的Content Types,如:
text
image
image/svg+xml
multipart
model
message
application
等等……
Original issue reported on code.google.com by [email protected]
on 21 Mar 2010 at 6:42
我原来用gap的,能看youtube,但是不能下载大于1M的文件。这��
�代理程序能解决这
个问题吗?
Original issue reported on code.google.com by [email protected]
on 23 May 2010 at 6:55
小白提问
Original issue reported on code.google.com by [email protected]
on 20 Aug 2010 at 1:34
我还是用回0.85新
版本太多问题了。
Original issue reported on code.google.com by [email protected]
on 18 Jun 2010 at 8:02
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Jul 2010 at 4:31
Hi, this is not an issue but I was wondering if there was a plan to develop the
client side for iphone. That would be really great stuff. Thank you very much.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2010 at 3:01
每当下载文件时,没有反应。
看Youtube/Facebook Video时,影片无法加载。
HTTP/XMPP都有这个问题。
Original issue reported on code.google.com by [email protected]
on 31 Jan 2010 at 4:36
如果可以,就很爽了。
Original issue reported on code.google.com by [email protected]
on 21 Jul 2010 at 12:13
我知道这听上去也许很疯狂XD
但hyk基于java运行,java本身不是跨平台的嘛,Andeoid应用程序��
�基于Java开发,应该可行吧。我最近在学习自制修改版的opera
mini,这需要申请一个free
hosting然后将其作为opera的连接服务器,但专门为手机购买付��
�空间不值得,免费空间往往稳定性和速度很成问题。如果能�
��opera的服务器地址指向本地48100端口或者GAE服务器的话,3G上
网岂不是要飞起来?
Original issue reported on code.google.com by [email protected]
on 30 Jun 2010 at 2:02
正在看视频/下载文件的同时,浏览网页没反应,
直到正在fetch的视频/文件data下载完毕后,才开始fetch网页。
Original issue reported on code.google.com by [email protected]
on 26 Feb 2010 at 11:30
现在好多论坛都是discuz7的,然后我试着下载附件的时候总是�
��不动。
附件大小小于1M。
顺便提个别的小bug:图片大小大于1M的时候无法加载,也无法
下载。。。(但rar类型的文件大于1M能下载)
Original issue reported on code.google.com by [email protected]
on 4 Aug 2010 at 4:56
升级到0.8.6后,有部分Google的服务页面无法访问(如app
engine的管理页面),总提示载入中,没弹出错误信息
我尝试新开一个app装会0.8.5,发现可以访问
会是0.8.6的问题吗?还是个案?
P.s.还有AppCfgWrapper去deploy旧的app发现总出错,总是说connection
reset,是被gfw盯上了吗?但是开新app又可以deploy……不知道是
怎么回事……
Original issue reported on code.google.com by [email protected]
on 17 Jun 2010 at 11:11
总之终于把这个装进自己的gae了,用的也很好,想咨询几个��
�高手见笑的问题,望不
吝赐教。
1.关于分享appid,是个好想法,除非app整个被封,我是想问,�
��个本地端是有控制
功能的,如果我共享了id,具体是在哪里可以控制这些?那个
admin.cmd输入正确的信
息后就一闪而过了,gui界面上也找不到类似的地方。
2.关于gui,设置了自己的appid在里面,还有个高级选项,可以�
��自己的app帐号密码
的,但是我发现我不填,可以连上自己的app,但是只要填了��
�号密码,反而连不上
了,不知道为什么。
3.还有xmpp,实在对不起我不太懂,请问开启了会怎么样,xmpp�
��户又是什么?
4.还有高级选项里面那些东西是什么意思。
5.英文苦手。
不好意思尽是小白问题,orz,请赐教。
Original issue reported on code.google.com by [email protected]
on 23 May 2010 at 10:14
”听说“
google的443端口被大量封锁,现在我已经无法https链接了,
并且log中没有提示。
请问这是个别问题吗?如果不是,是否有解决办法?
谢谢!
Original issue reported on code.google.com by [email protected]
on 18 Jun 2010 at 11:08
您好,您的web
proxy做的非常棒,功能也非常强大,我也经常关注项目的更新
,最近看到可以支持
Seattle,看上去概念很新,弄了半天也没有搞明白怎么用,能�
��在Wiki中解释下如何使用,谢谢!
Original issue reported on code.google.com by [email protected]
on 23 May 2010 at 2:44
到现在为止,上传到数个空间,还没有试过成功上传超过fetch
limitsize大小的文件(除了Google
doc,显示服务器错误,但是成功上传)…………
Original issue reported on code.google.com by [email protected]
on 15 Mar 2010 at 3:41
不知道这个问题是不是小白了,但是没有这文件确实就无法up
date了。
谢谢!
Original issue reported on code.google.com by [email protected]
on 5 Jul 2010 at 1:12
在正常模式下可以下载,一旦开启XMPP后下载就没响应了,浏�
��网页正常。求助。
Original issue reported on code.google.com by [email protected]
on 7 Jul 2010 at 10:39
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.