[GH-ISSUE #753] [bug]1.8 mipsle 时间获取有问题。 #590

Closed
opened 2026-05-05 12:23:02 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @huoban on GitHub (May 8, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/753

[SLT /bin]# date
Tue May 8 10:44:39 CST 2018
[SLT /bin]# frps -c /tmp/frp/myfrps.ini
2018/05/08 02:44:43 [I] [service.go:96] frps tcp listen on 0.0.0.0:7000
2018/05/08 02:44:43 [I] [service.go:164] Dashboard listen on 0.0.0.0:7500
2018/05/08 02:44:43 [I] [root.go:190] Start frps success
2018/05/08 02:44:48 [ERR] yamux: Invalid protocol version: 1
2018/05/08 02:44:48 [W] [service.go:247] Accept new mux stream error: invalid protocol version
2018/05/08 02:44:53 [ERR] yamux: Invalid protocol version: 1
2018/05/08 02:44:53 [W] [service.go:247] Accept new mux stream error: invalid protocol version
^C

qq 20180508104608

路由器
mtk 7620
固件 Padavan(http://www.right.com.cn/forum/thread-161324-1-1.html)

疑似bug问题
frp的时间 +时区8 =date时间。。。

经测试 ,frpc 与 frps 都有同样的问题

frp没有增加时区的偏差。

建议!
在后续版本中。。
frp 内置获取时间。

在frp启动时,先获取时间。
之后在进行frp功能流
最后 在定时个每6小时 获取矫正下时间。

这样不管任何时区,任何电脑时间。
起码在frp之间 保证时间的统一性

Originally created by @huoban on GitHub (May 8, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/753 [SLT /bin]# date Tue May 8 10:44:39 CST 2018 [SLT /bin]# frps -c /tmp/frp/myfrps.ini 2018/05/08 02:44:43 [I] [service.go:96] frps tcp listen on 0.0.0.0:7000 2018/05/08 02:44:43 [I] [service.go:164] Dashboard listen on 0.0.0.0:7500 2018/05/08 02:44:43 [I] [root.go:190] Start frps success 2018/05/08 02:44:48 [ERR] yamux: Invalid protocol version: 1 2018/05/08 02:44:48 [W] [service.go:247] Accept new mux stream error: invalid protocol version 2018/05/08 02:44:53 [ERR] yamux: Invalid protocol version: 1 2018/05/08 02:44:53 [W] [service.go:247] Accept new mux stream error: invalid protocol version ^C ![qq 20180508104608](https://user-images.githubusercontent.com/3044514/39735194-09c6f410-52ad-11e8-9a83-96467d8b11a7.png) 路由器 mtk 7620 固件 Padavan(http://www.right.com.cn/forum/thread-161324-1-1.html) 疑似bug问题 frp的时间 +时区8 =date时间。。。 经测试 ,frpc 与 frps 都有同样的问题 frp没有增加时区的偏差。 建议! 在后续版本中。。 frp 内置获取时间。 在frp启动时,先获取时间。 之后在进行frp功能流 最后 在定时个每6小时 获取矫正下时间。 这样不管任何时区,任何电脑时间。 起码在frp之间 保证时间的统一性
gitea-mirror 2026-05-05 12:23:02 -06:00
Author
Owner

@rsd1987 commented on GitHub (May 9, 2018):

在MIAN函数增加时区设置即可

<!-- gh-comment-id:387611573 --> @rsd1987 commented on GitHub (May 9, 2018): 在MIAN函数增加时区设置即可
Author
Owner

@RezaFeng commented on GitHub (May 14, 2018):

同样出现这个问题,要在main函数里怎么改?

<!-- gh-comment-id:388720409 --> @RezaFeng commented on GitHub (May 14, 2018): 同样出现这个问题,要在main函数里怎么改?
Author
Owner

@RukawaKaede commented on GitHub (Aug 23, 2018):

同遇到这个问题,和huoban同样的情况,时区总是和系统时区不一致

<!-- gh-comment-id:415340573 --> @RukawaKaede commented on GitHub (Aug 23, 2018): 同遇到这个问题,和huoban同样的情况,时区总是和系统时区不一致
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#590
No description provided.