Comments (11)
端口被占用问题 把端口从10000起
from shadowsocks-go.
我这里不好重现,具体什么原因要在观察下。
from shadowsocks-go.
好奇怪,作者那边不会出现此问题么?
对了,我这边测试只有webapi模式会有此BUG,mysql模式正常。
但是好像只有webapi模式支持流量比例?所以我一直用webapi了。
希望作者排查一下BUG。
from shadowsocks-go.
目前我测试能比较好的解决这个问题的方法就是在 boot.go 里 runwith* 那个函数之前加个延时,然后 func.go 里那个出错退出那 改成 return,然后更改密码还有加密方式什么的就不会退出了,而且更改之后连接也一切正常。
from shadowsocks-go.
@glzjin 你那边改密码都会退出吗?
from shadowsocks-go.
目前不会了,改了改程序。
glzjin
2016年3月25日 下午10:46,mikaoras [email protected]写道:@glzjin 你那边改密码都会退出吗?
—You are receiving this because you were mentioned.Reply to this email directly or view it on GitHub
from shadowsocks-go.
同样是此错误,错误的时候几个服务器一起同时出现
INFO[6187] new user to run{2 1026 P3OXX8 rc4-md5 1 20210253824 0 3036585656}
ERRO[6187] error listening port 1026: listen tcp :1026: bind: address already in use
from shadowsocks-go.
这个问题目前有没有修复?
from shadowsocks-go.
我也遇到这个bug了,用的redis,而且反复出错导致ss反复重启
INFO[0066] new user to run{1 1026 vjkasdjf rc4-md5 1 14229176320 8513533 340086438}
ERRO[0066] error listening port 1026: listen tcp :1026: bind: address already in use
猜测是不是更新用户数据的时候本地某缓存把这个用户删了
出错中断
之后ss每次重启从远端读到用户,起了1026,然后再读本地缓存,发现1026被删了
想重启发现端口已经占用
from shadowsocks-go.
@adangadang 能否先看一下讨论的内容...本来我贴的日志里面端口就是17000+了,而且这个问题是该端口被SS自己占用了并且没及时释放,导致重新监听的时候出现被占用,而不是因为系统权限或者其它程序占用导致的问题,这与端口号是多少没有任何关系。
from shadowsocks-go.
@fsgmhoward 调了好几个小时的源码总算看出问题了,我这个是redis各个slave服务器都指向了master的redis地址,改为localhost就好了和 @Indexyz 的问题应该是一样的,和你的不知道是不是相同
还是文档不清楚的锅
from shadowsocks-go.
Related Issues (20)
- 可否公开下代码的设计文档,或者写一个类似这样的代码分析https://0x01.io/2016/02/28/shadowsocks-%E6%BA%90%E7%A0%81%E9%98%85%E8%AF%BB/
- Releases v2.1 go get时遇到如下错误 cannot use v (type *User) as type HOT 1
- unrecognized import path "shadowsocks/shadowsocks-go/mu/config" (import path does not begin with hostname) HOT 2
- unrecognized import path "shadowsocks/shadowsocks-go/mu/config" (import path does not begin with hostname) HOT 1
- 编译时go提示包循环 HOT 2
- ./mu debug 时,只有在 ss-panel 新增的用户才能生效,而数据库中原有的用户不生效 HOT 2
- 刷朋友圈时后端提示错误
- shadowsocks manyuser切换过来平滑吗?
- 在新服务器,新编译出来的mu用不了;把老服务器编译好的mu复制过来就可以用 HOT 3
- mu版无法初始化用户端口问题(已屏蔽) HOT 4
- supervisorctl 管理mu运行问题 HOT 2
- go版本支持udp吗 HOT 1
- mu有个用户报这个错误【error getting request[来路ip] [本地ip] addr type * not supported】 HOT 1
- 关于UDP和FASTOPEN HOT 1
- 安装 shadowsocks-go mu 一直卡住了 HOT 2
- 是否考虑支持混淆?
- 端口突然出现问题 HOT 5
- shadowsocks go mu can't starting, Get User Error%!(EXTRA *json.Unmarshal was reported HOT 1
- 这些也要删除了吧。昨晚才知道。。很郁闷 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 shadowsocks-go.