Code Monkey home page Code Monkey logo

Comments (20)

xtaci avatar xtaci commented on July 30, 2024 1

我只能猜测,校园网对udp非常不友好, 你可以尝试把服务器端口换为8000/4000/53/554/443/80这几个端口试试,另外client的 -sndwnd 256就够了,mtu用默认的1350

from kcptun.

LiR1cky avatar LiR1cky commented on July 30, 2024 1

试了默认的端口29900,554,1755都用不了,近乎绝望时试了一下443豁然开朗!
忘了说了,0701版,魔都电信。。。

from kcptun.

wxyzh avatar wxyzh commented on July 30, 2024

最好分别提供服务端、客户端的参数以及提示的信息

from kcptun.

sunnoy avatar sunnoy commented on July 30, 2024

服务端 ./server_linux_386 -l ":29912" -t "23.83.240.35:8883" --key "123" -mtu 1400 -sndwnd 2048 -rcvwnd 2048 --mode "fast2" > log 2>&1 &
客户端 start /b client_windows_amd64.exe -l ":2000" -r "23.83.240.35:29912" --key "123" -mtu 1400 -sndwnd 256 -rcvwnd 2048 --mode "fast2" > log 2>&1
服务端
2016/06/16 02:36:00 stream opened
2016/06/16 02:36:00 stream closed
2016/06/16 02:36:00 [ERR] yamux: keepalive failed: i/o deadline reached
2016/06/16 02:36:00 [ERR] yamux: Failed to read header: broken pipe
2016/06/16 02:36:00 keepalive timeout
2016/06/16 02:36:10 stream closed
2016/06/16 02:37:00 [ERR] yamux: keepalive failed: i/o deadline reached
2016/06/16 02:37:00 [ERR] yamux: Failed to read header: broken pipe
2016/06/16 02:37:00 keepalive timeout
2016/06/16 02:38:00 remote address: 61.157.97.83:42691
2016/06/16 02:38:00 stream opened
2016/06/16 02:38:00 stream opened
2016/06/16 02:38:00 stream closed
2016/06/16 02:38:10 stream closed
2016/06/16 02:39:00 [ERR] yamux: keepalive failed: i/o deadline reached
2016/06/16 02:39:00 [ERR] yamux: Failed to read header: broken pipe
2016/06/16 02:39:00 keepalive timeout
客户端
2016/06/16 14:37:21 stream closed
2016/06/16 14:37:23 stream closed
2016/06/16 14:37:29 stream closed
2016/06/16 14:37:32 stream opened
2016/06/16 14:37:33 stream opened
2016/06/16 14:37:35 stream opened
2016/06/16 14:37:37 stream closed
2016/06/16 14:37:38 stream opened
2016/06/16 14:37:39 stream opened
2016/06/16 14:37:44 [ERR] yamux: keepalive failed: i/o deadline reached
2016/06/16 14:37:44 [ERR] yamux: Failed to read header: broken pipe
2016/06/16 14:37:44 stream closed
2016/06/16 14:37:44 stream closed
2016/06/16 14:37:44 stream closed
2016/06/16 14:37:44 stream closed
2016/06/16 14:37:44 stream closed
2016/06/16 14:37:44 session shutdown
2016/06/16 14:37:44 stream opened
2016/06/16 14:37:44 stream opened

from kcptun.

sunnoy avatar sunnoy commented on July 30, 2024

都试过了 还是连不上 就刚开始配置好上了一会挺快的
服务端
2016/06/16 03:05:48 remote address: 61.157.97.83:3015
2016/06/16 03:05:48 stream opened
2016/06/16 03:06:48 [ERR] yamux: keepalive failed: i/o deadline reached
2016/06/16 03:06:48 [ERR] yamux: Failed to read header: broken pipe
2016/06/16 03:06:48 keepalive timeout
2016/06/16 03:06:48 stream closed
看着像是udp 被封了

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

你先把 -sndwnd -rcvwnd 都降到128, 稳定后,再慢慢往上加,极大可能是限流

from kcptun.

voq avatar voq commented on July 30, 2024

和你的问题一样,换成SNMP Millstone Version就好了,6月15号的新版本好像有问题。

from kcptun.

sunnoy avatar sunnoy commented on July 30, 2024

SNMP Millstone Version 在哪下载
换了机房 换了端口 还是不行 已累了

from kcptun.

D-Bood avatar D-Bood commented on July 30, 2024

点开release 最底下那个

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

校验过md5么? 是官方release么?

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

嗯,review了一下,确实发现了一个问题,这个问题和-conn参数有关,15号的版本,一定有问题。

from kcptun.

voq avatar voq commented on July 30, 2024

对了,xtaci大大,服务器和客户端的版本必须要一致么?

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

SNMP milestone之后的,都可以兼容, 等下提交新的release

from kcptun.

voq avatar voq commented on July 30, 2024

包括SNMP milestone吧?

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

包括, 但还是建议两端都更新到最新版本。

from kcptun.

voq avatar voq commented on July 30, 2024

嗯,谢谢你的程序,很好用。

from kcptun.

sunnoy avatar sunnoy commented on July 30, 2024

还是依旧连上不,整了一天该干工作了 等等后面版本再说吧 很期待后面的版本好整 效果还是很好的

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

@voq 可以试一下我刚修正的0616版本

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

thank you all!

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

good story

from kcptun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.