Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STCP local listener closed #4682

Open
11 tasks
1900zpf opened this issue Feb 20, 2025 · 1 comment
Open
11 tasks

STCP local listener closed #4682

1900zpf opened this issue Feb 20, 2025 · 1 comment

Comments

@1900zpf
Copy link

1900zpf commented Feb 20, 2025

Bug Description

I encountered a problem where the STCP connection would disconnect every 90 seconds after it was established. I reviewed the manual but found no relevant description. I am sure that my configuration is correct because I can use it normally before the disconnection. The connection will automatically reconnect after the disconnection, and the error message is as follows:
“stcp local listener closed”
”stcp internal listener closed“

frpc Version

0.61.0

frps Version

0.61.0

System Architecture

windows/amd64

Configurations

[common]

[]
type=stcp
role = visitor
server_name = xxxx
sk = xxxx
bind_addr =
bind_port =

Logs

“stcp local listener closed”
”stcp internal listener closed“

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
@superzjg
Copy link

superzjg commented Feb 20, 2025

Please use the conf file to test:

frps:

bindPort = 7000
auth.token = "xxx"

frpc_server:

serverAddr = "xxx.xxx.xxx"
serverPort = 7000
loginFailExit = false
auth.token = "xxx"
user = "user1"

[[proxies]]
name = "test"
type = "stcp"
secretKey = "asdf"
localIP = "127.0.0.1"
localPort = 80

frpc_visitor:

serverAddr = "xxx.xxx.xxx"
serverPort = 7000
auth.token = "xxx"
loginFailExit = false
user = "user1"

[[visitors]]
name = "stcp_visitor"
type = "stcp"
serverUser = "user1"
serverName = "test"
secretKey = "asdf"
bindAddr = "127.0.0.1"
bindPort = 81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants