Comments (6)
我也是这个问题,具体错误如下。
但是同样是美国的另一个vps,线路比这个还差,没有这个问题。
从日志上看,我估计当该vps线路较差,丢包率等问题导致连接中断,中断次数多了以后某个固定大小数据结构溢出导致了这个问题。可能需要考虑国内恶劣的网络线路,放宽这个限制或者不限制该数据结构的大小,哪怕因此造成最后client崩了,也比现在很快就崩了无法联网要好得多。大家用这个更重视稳定性,网速,对于内存等资源占用没那么在意的。
C:\Tools\goflyway>goflyway.exe -k=MYPASSWORD -up cf://node1.myvps.com:2082 -p 8103
2020-09-04 22:11:01.237 CST,main.go:267, INFO ,goflyway 181021015134
2020-09-04 22:11:01.321 CST,main.go:436, INFO ,Upstream config: cf://node1.myvps.com:2082
2020-09-04 22:11:01.321 CST,main.go:416, INFO ,Client 7bfb660 started: you->0.0.0.0:8103->cloudflare->node1.myvps.com:2082
2020-09-04 22:11:01.321 CST,main.go:412, INFO ,Web console started at 127.0.0.1:8113
2020-09-04 22:12:47.745 CST,io.go:84, ERROR ,"Bridge: read [::1]:61978, Software caused connection abort"
2020-09-04 22:12:51.847 CST,io.go:68, ERROR ,"Bridge: write [::1]:61986, Software caused connection abort"
2020-09-04 22:17:49.977 CST,io.go:84, ERROR ,"Bridge: read [::1]:62671, Software caused connection abort"
2020-09-04 22:17:50.238 CST,io.go:84, ERROR ,"Bridge: read [::1]:62673, Software caused connection abort"
2020-09-05 08:30:50.189 CST,io.go:84, ERROR ,"Bridge: read [::1]:63360, Software caused connection abort"
2020-09-05 08:30:50.205 CST,io.go:84, ERROR ,"Bridge: read [::1]:63359, Software caused connection abort"
2020-09-05 08:30:50.206 CST,io.go:84, ERROR ,"Bridge: read [::1]:63385, Software caused connection abort"
2020-09-05 08:30:50.209 CST,io.go:84, ERROR ,"Bridge: read [::1]:63386, Software caused connection abort"
2020-09-05 08:30:50.222 CST,io.go:84, ERROR ,"Bridge: read [::1]:63374, Software caused connection abort"
2020-09-05 08:30:50.226 CST,io.go:84, ERROR ,"Bridge: read [::1]:63378, Software caused connection abort"
2020-09-05 08:30:50.230 CST,io.go:84, ERROR ,"Bridge: read [::1]:63362, Software caused connection abort"
2020-09-05 08:30:50.241 CST,io.go:84, ERROR ,"Bridge: read [::1]:63396, Software caused connection abort"
2020-09-05 08:30:50.242 CST,io.go:84, ERROR ,"Bridge: read [::1]:63369, Software caused connection abort"
2020-09-05 08:30:50.250 CST,io.go:84, ERROR ,"Bridge: read [::1]:63389, Software caused connection abort"
2020-09-05 08:30:50.251 CST,io.go:84, ERROR ,"Bridge: read [::1]:63363, Software caused connection abort"
2020-09-05 08:30:50.252 CST,io.go:84, ERROR ,"Bridge: read [::1]:63394, Software caused connection abort"
2020-09-05 08:30:50.262 CST,io.go:84, ERROR ,"Bridge: read [::1]:63388, Software caused connection abort"
2020-09-05 08:30:50.276 CST,io.go:84, ERROR ,"Bridge: read [::1]:63395, Software caused connection abort"
2020-09-05 08:30:50.278 CST,io.go:84, ERROR ,"Bridge: read [::1]:63397, Software caused connection abort"
2020-09-05 08:30:50.282 CST,io.go:84, ERROR ,"Bridge: read [::1]:63361, Software caused connection abort"
2020-09-05 08:30:50.308 CST,io.go:84, ERROR ,"Bridge: read [::1]:63391, Software caused connection abort"
2020-09-05 08:30:50.314 CST,io.go:84, ERROR ,"Bridge: read [::1]:63392, Software caused connection abort"
2020-09-05 08:30:50.317 CST,io.go:84, ERROR ,"Bridge: read [::1]:63372, Software caused connection abort"
2020-09-05 08:30:50.339 CST,io.go:84, ERROR ,"Bridge: read [::1]:63358, Software caused connection abort"
2020-09-05 08:30:50.459 CST,io.go:84, ERROR ,"Bridge: read [::1]:63398, Software caused connection abort"
2020-09-05 08:30:50.805 CST,io.go:84, ERROR ,"Bridge: read [::1]:63371, Software caused connection abort"
2020-09-05 08:30:50.845 CST,io.go:84, ERROR ,"Bridge: read [::1]:63373, Software caused connection abort"
2020-09-05 08:30:50.895 CST,io.go:84, ERROR ,"Bridge: read [::1]:63381, Software caused connection abort"
2020-09-05 08:30:51.715 CST,io.go:84, ERROR ,"Bridge: read [::1]:63645, Software caused connection abort"
2020-09-05 08:30:51.722 CST,io.go:84, ERROR ,"Bridge: read [::1]:63647, Software caused connection abort"
2020-09-05 08:31:04.014 CST,io.go:84, ERROR ,"Bridge: read [::1]:63375, Software caused connection abort"
2020-09-05 08:31:04.621 CST,io.go:84, ERROR ,"Bridge: read [::1]:63370, Software caused connection abort"
2020-09-05 08:31:13.332 CST,io.go:84, ERROR ,"Bridge: read [::1]:63735, Software caused connection abort"
2020-09-05 08:31:14.603 CST,io.go:84, ERROR ,"Bridge: read [::1]:63741, Software caused connection abort"
2020-09-05 08:36:41.234 CST,io.go:84, ERROR ,"Bridge: read [::1]:64390, Software caused connection abort"
panic: runtime error: slice bounds out of range
goroutine 1735 [running]:
github.com/coyove/goflyway/proxy.(*io_t).Copy(0xc04215e1a0, 0x119c8a8, 0xc0420942a0, 0x17f0000, 0xc04213c058, 0x6dda4eaf8ee463ae, 0x9f89065fbe18f61e, 0x0, 0x302000000, 0x0, ...)
/var/www/golib/src/github.com/coyove/goflyway/proxy/io.go:258 +0xa00
github.com/coyove/goflyway/proxy.(*io_t).Bridge.func1(0xc04215e1a0, 0x91d0e0, 0xc0420942a0, 0x91d260, 0xc04213c058, 0x6dda4eaf8ee463ae, 0x9f89065fbe18f61e, 0xc04214e120, 0x0, 0x302000000)
/var/www/golib/src/github.com/coyove/goflyway/proxy/io.go:67 +0xdd
created by github.com/coyove/goflyway/proxy.(*io_t).Bridge
/var/www/golib/src/github.com/coyove/goflyway/proxy/io.go:66 +0x15e
from goflyway.
把cf://
协议换成ws://
直连服务器能成功吗
from goflyway.
from goflyway.
确实是几分钟就报错了
from goflyway.
看来cf启用了permessage-deflate的ws压缩标准,导致以前写的ws解析代码出错了。
from goflyway.
permessage-deflate的ws压缩标准
有什么办法能避免这个问题吗, 仍然想继续使用cdn.
from goflyway.
Related Issues (20)
- 2.0.0 rc 版本, 安卓版本, 在miui 11国际版中无法正常ping通. HOT 12
- Mac配置goflyway问题 HOT 6
- 安卓手机使用termux自己编译后运行出错 HOT 5
- 有编译步骤吗? HOT 3
- KCP 客户端报Bridge: broken pipe
- 升级到安卓10后无法使用 HOT 6
- 使用完,关闭后。 无法正常访问国内网站了,重启也不行? HOT 2
- 服务器升级到V2.0.0.RC1后无法连接 HOT 8
- v2.0.0 rc1版本报错:Failed to decrypt host HOT 1
- 套CDN,几个小时候就不行了,要不停换二级域名
- 跪求一个2.0的命令行详细说明 HOT 3
- 建议web界面可配置监听地址,目前是127.0.0.1 建议监听0.0.0.0或可配置 HOT 1
- 【推荐】安卓/苹果/电脑均可用,超方便VPN.
- 用了CF加速最近一直闪退,一开就退 HOT 1
- 作者大佬,这个工具是不再更新了吗 HOT 3
- 可以在没有root的安卓机上跑吗
- MAC升级新版后程序打不开了 HOT 1
- Thnxs
- Thnjx 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 goflyway.