Comments (20)
我只能猜测,校园网对udp非常不友好, 你可以尝试把服务器端口换为8000/4000/53/554/443/80这几个端口试试,另外client的 -sndwnd 256就够了,mtu用默认的1350
from kcptun.
试了默认的端口29900,554,1755都用不了,近乎绝望时试了一下443豁然开朗!
忘了说了,0701版,魔都电信。。。
from kcptun.
最好分别提供服务端、客户端的参数以及提示的信息
from kcptun.
服务端 ./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.
都试过了 还是连不上 就刚开始配置好上了一会挺快的
服务端
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.
你先把 -sndwnd -rcvwnd 都降到128, 稳定后,再慢慢往上加,极大可能是限流
from kcptun.
和你的问题一样,换成SNMP Millstone Version就好了,6月15号的新版本好像有问题。
from kcptun.
SNMP Millstone Version 在哪下载
换了机房 换了端口 还是不行 已累了
from kcptun.
点开release 最底下那个
from kcptun.
校验过md5么? 是官方release么?
from kcptun.
嗯,review了一下,确实发现了一个问题,这个问题和-conn参数有关,15号的版本,一定有问题。
from kcptun.
对了,xtaci大大,服务器和客户端的版本必须要一致么?
from kcptun.
SNMP milestone之后的,都可以兼容, 等下提交新的release
from kcptun.
包括SNMP milestone吧?
from kcptun.
包括, 但还是建议两端都更新到最新版本。
from kcptun.
嗯,谢谢你的程序,很好用。
from kcptun.
还是依旧连上不,整了一天该干工作了 等等后面版本再说吧 很期待后面的版本好整 效果还是很好的
from kcptun.
@voq 可以试一下我刚修正的0616版本
from kcptun.
thank you all!
from kcptun.
good story
from kcptun.
Related Issues (20)
- json文件中多实例运行配置 HOT 4
- target不能为udp端口嘛? HOT 1
- The official docker image is obsoleted. HOT 2
- 20230728 release was not completed? HOT 2
- udpsession read 优化
- 能否开发一个非插件形式的单独运行安卓APK程序 HOT 1
- Does the latest version support reverse connections? HOT 3
- 多连接乱序 HOT 2
- DSCP
- DSCP 功能测试不生效
- 关于kcptun的多端口跟udp2raw结合的配置问题 HOT 3
- client/main.go里没有显式关闭session会不会引起内存泄露 HOT 2
- 连接成功后突发长时间卡顿(可重现,卡顿较长时间自动恢复) HOT 3
- win7下面运行服务端报异常(Go 1.21开始不支持win7了T.T) HOT 8
- Any plans to support tun/tap device on X86/64 systems?
- he writes that the port is busy, why and how to configure it correctly to log in to ssh via "46.174.53.140" getting to ssh "81.50.60.330". HOT 1
- 希望能增加监听UDP的功能 HOT 3
- how do I connect wireguard on kcptunnel?
- 有没有其他提升网络质量的技术? 或者KCPTUNclient和server通信的时候能使用TCP隧道吗? HOT 3
- KCPTUN for data diode? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kcptun.