mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1544] Frpc启动后崩溃,显示Terminated #1219
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StudentWong on GitHub (Nov 29, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1544
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
(请不要在 issue 评论中出现无意义的 加1,我也是 等内容,将会被直接删除。)
(由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
Both frpc=0.27.1 frps=0.27.1
and
frpc=0.30.0 frps=0.30.0
have been tried
What operating system and processor architecture are you using (
go env)?client
server
Configures you used:
frpc.ini
frps.ini
Steps to reproduce the issue:
1.Use ssh login and Run frps on CentOS7.3 of Alibaba Cloud
2.Use ssh login Ubuntu 16.04.6 LTS desktop
3.Run frpc on Ubuntu 16.04.6 LTS desktop through ssh
Describe the results you received:
There is no obvious problem with the frps. But the frpc crashs a few seconds after it was started.Sometime it can keep alive until someone login by ssh.
服务端可以正常启动,客户端启动几秒后崩溃,有时可以维持住,但一有穿透的ssh连接,就只能维持几秒。客户端什么错误都不显示,只是终端提示terminated。服务端显示client exit success。
server:
client:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@deadlineOvO commented on GitHub (Dec 1, 2019):
是不是客户端被连带结束了?
试试用 systemd 服务单元文件看看
@fatedier commented on GitHub (Dec 1, 2019):
你需要查看下系统日志为什么进程会被杀掉,frpc 如果正常退出会有一些退出的日志。
@StudentWong commented on GitHub (Dec 2, 2019):
感谢!用自带的服务启动后很稳。
@ray-lee-94 commented on GitHub (May 15, 2020):
能说说具体怎么做吗?求指导
@StudentWong commented on GitHub (May 16, 2020):
我是按照这个博客的方法启动的,但是自己创建frps.service没用,把frp_0.XX.X_linux_amd64/systemd/frps.service复制过去就可以了。
https://blog.csdn.net/momo_mutou/article/details/85000056
@ray-lee-94 commented on GitHub (May 16, 2020):
我的frps是按博客方式启动的,正常启动也很稳定。但是经常断开的是frpc端,同样启动frpc.service无效,启动后很快就terminated
---原始邮件---
发件人: "Student X"<notifications@github.com>
发送时间: 2020年5月16日 11:18:18
收件人: "fatedier/frp"<frp@noreply.github.com>;
抄送: "Comment"<comment@noreply.github.com>;"Li Rui"<945193029@qq.com>;
主题: Re: [fatedier/frp] Frpc启动后崩溃,显示Terminated (#1544)
按照这个博客的方法启动,但是不用自己创建frps.service,把frp_0.XX.X_linux_amd64/systemd/frps.service复制过去就可以了。
https://blog.csdn.net/momo_mutou/article/details/85000056
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
@ray-lee-94 commented on GitHub (May 17, 2020):
最后应该是客户端ip和其他设备的ip冲突了