Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 04 09:34
    sbilly synchronize #109
  • Feb 04 09:19
    sbilly synchronize #109
  • Nov 17 2020 17:11
    sbilly opened #109
  • Apr 28 2020 01:54
    jan4984 opened #108
  • Feb 07 2020 11:44

    yinqiwen on master

    Update README.md (compare)

  • Feb 07 2020 11:43

    yinqiwen on master

    Update README.md (compare)

  • Nov 26 2019 07:36
    distance00 commented #65
  • Nov 26 2019 07:36
    distance00 commented #65
  • Nov 26 2019 07:35
    distance00 commented #65
  • Nov 26 2019 07:29
    distance00 commented #65
  • Sep 21 2019 04:57
    addsun commented #68
  • Sep 21 2019 04:57
    addsun commented #68
  • Sep 21 2019 04:55
    addsun commented #68
  • Sep 12 2019 03:22
    zcmarkyoung edited #107
  • Sep 12 2019 03:22
    zcmarkyoung opened #107
  • Jul 28 2019 21:41
    Celthi commented #106
  • Jul 28 2019 21:31
    Celthi opened #106
  • Apr 17 2019 00:36
    hktalent closed #103
  • Mar 01 2019 10:15
    addsun commented #60
  • Mar 01 2019 10:15
    addsun commented #60
David Tai
@redfrog999
@yinqiwen 我在6代酷睿-3代酷睿平台上测试的,各个平台内存占用很完美,就是3代酷睿移动平台U有时候播放视频会冲到100%,但是也有可能是我的OS太乱了,各种虚拟机,编译工具装了一堆,有空了重装系统看看。除此之外的其他平台的性能表现很满意。
David Tai
@redfrog999
再请教各位,GAE Server上传成功了,但是浏览网页就是出现 gae.go:99 [ERROR] Event buffer not ready 这个提示是什么原因呢?
yinqiwen
@yinqiwen
@redfrog999 上传缺少了server.json
ccwufu
@ccwufu
0.26.1 pass 时 前置代理不能正常工作 ,相同的环境下, 0.25.1 可以
yinqiwen
@yinqiwen
@ccwufu 已经fix了
ccwufu
@ccwufu
@yinqiwen 太高效了, 等release后再试一下. (不想自己编译)
addsun
@addsun
@cxnaive 我也不会用。。
ccwufu
@ccwufu
0.26.1 pass 下 proxy 还是不能正常工作

2016/10/09 08:19:20 Proxy channel(DIRECT):Direct init success
2016/10/09 08:19:20 Proxy channel(DIRECT):TLSDirect init success
2016/10/09 08:19:20 Proxy channel(REJECT):Reject init success
2016/10/09 08:19:20 [PAAS]Connect 23.23.196.165:443
2016/10/09 08:19:25 dial websocket error:dial tcp 23.23.196.165:443: i/o timeout

2016/10/09 08:19:25 Channel[0] connect wss://appid0.herokuapp.com/ failed:dial
tcp 23.23.196.165:443: i/o timeout.

0.25.1 pass 下 proxy 能正常工作
2016/10/09 08:20:36 Proxy channel(DIRECT):Direct init success
2016/10/09 08:20:36 Proxy channel(DIRECT):TLSDirect init success
2016/10/09 08:20:36 [PAAS]Connect 1.1.1.1:8000
2016/10/09 08:20:41 Connect wss://appid0.herokuapp.com/ success.
2016/10/09 08:20:41 Channel[0] connect wss://appid0.herokuapp.com/ success.
2016/10/09 08:20:42 Server:wss://appid0.herokuapp.com/ authed success.
0.25.1 会先连接proxy 1.1.1.1.8000,
0.26.1 直接连接appid0.herokuapp 的IP 地址, 而没有先连接proxy IP 地址
ccwufu
@ccwufu
应该不是client.json 里httpproxy 配置格式的变化, 而是没有调用proxy.

local/handler/gae/http.go
if len(conf.Proxy) > 0 {
45 conn, err = helper.HTTPProxyDial(conf.Proxy, connAddr, dialTimeout)

local/handler/vps/tcp.go
if len(tc.conf.Proxy) > 0 {
84 c, err = helper.HTTPProxyDial(tc.conf.Proxy, hostport, timeout)

paas 没有调用HTTPProxyDial
local/handler/paas/ws.go

if len(wc.conf.Proxy) > 0 {
    proxyUrl, err := url.Parse(wc.conf.Proxy)
    if nil != err {
        return err
    }
    wsDialer.Proxy = http.ProxyURL(proxyUrl)
}
ccwufu
@ccwufu
我前面关于HTTPProxyDial的理解应该是错误的. 
0.26.1 vps 下的proxy 也不正常.相同的环境下0.25.1 正常
yinqiwen
@yinqiwen
配置名从HTTPProxy改为Proxy
ccwufu
@ccwufu
谢谢! 正常了
David Tai
@redfrog999
@yinqiwen 打开Appid.appspot.com 显示欢迎使用界面,应该成功了哇?server.json放到gae目录不是自动上传吗?难道还要特别指定?指点一下,thx。:)
yinqiwen
@yinqiwen
web显示只代表二进制部署成功了。 一般还连接不上都是两端的设置不一致引起的。 有一个需要注意的是gae端是不支持chacha20的,需要改成其它
cxnaive
@cxnaive
..
0.26.1...Direct模式socks5有问题,会连11.11.11.11:443然后挂掉..
yinqiwen
@yinqiwen
要把host.json的sni_proxy去掉,之前的都是假的ip
wz
@wz7465
2016/10/09 11:13:18 Connect wss://gsnova.herokuapp.com success.
2016/10/09 11:13:18 Channel[0] connect wss://gsnova.herokuapp.com success.
2016/10/09 11:13:20 Websocket read error:websocket: close 1006 (abnormal closure
): unexpected EOF
2016/10/09 11:13:20 Failed to read channel for reason:websocket: close 1006 (abn
ormal closure): unexpected EOF
2016/10/09 11:13:20 Channel[0] auth failed since remote server disconnect.
2016/10/09 11:13:20 [ERROR]Failed to connect [0]wss://gsnova.herokuapp.com for
reason:Server:wss://gsnova.herokuapp.com auth failed.
2016/10/09 11:13:20 Proxy channel(PAAS):heroku init failed with reason:Failed to
auth wss://gsnova.herokuapp.com
认证失败,不知哪里问题
David Tai
@redfrog999
关于GAE的部署和运行,能出个wiki或者说明就好了。Heroku我倒是用得很顺,不论是0.26.0还是.26.1。
@wz7465 你这个问题是Host.json里边的非注释的//要全部去掉,我也遇到了,用原来去掉//的client.json一点问题没有。
yinqiwen
@yinqiwen
@wz7465 两边的key设置不一致
wz
@wz7465
@yinqiwen 我用的你的原来设定,没改过
"Encrypt":{"Method":"auto", "Key":"809240d3a021449f6e67aa73221d42df942a308a"},
//user name auth
"Auth": "gsnova",
yinqiwen
@yinqiwen
这是client的,server和client的key要一致
wz
@wz7465
@yinqiwen 是啊,server.json里的key也是一样的
yinqiwen
@yinqiwen
那你看下server的日志是怎么回事吧,heroku有查看日志工具
wz
@wz7465
原服务端的
//user name auth
"Auth":["*", "gsnova"],
"Encrypt":{"Key":"809240d3a021449f6e67aa73221d42df942a308a"},
服务端显示,应该是部署成功的
GSnova by @yinqiwen
Welcome to use GSnova PAAS Server r4!
yinqiwen
@yinqiwen
heroku logs看下日志吧
wz
@wz7465
-auth string
Auth user setting, split by ',' (default "*")
Failed to decode event with err:No registe event found for [75] with len:139
Failed to decode event for reason:No registe event found for [75] 0
[ERROR]connection :0 error:No registe event found for [75]
Websoket read error:read tcp 172.17.63.78:12586->10.61.152.141:59963: use of closed network connection
Close websocket connection:0
yinqiwen
@yinqiwen
server
server.json没生效或者不存在