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

failed after connect success on linux/arm64 #3876

Closed
11 tasks
axolo opened this issue Dec 21, 2023 · 0 comments · Fixed by #3875
Closed
11 tasks

failed after connect success on linux/arm64 #3876

axolo opened this issue Dec 21, 2023 · 0 comments · Fixed by #3875

Comments

@axolo
Copy link

axolo commented Dec 21, 2023

Bug Description

failed after connect success on linux/arm64

frpc Version

0.53.0

frps Version

0.53.0

System Architecture

linux/arm64

Configurations

{
  "serverAddr": "frp.server",
  "serverPort": 7000,
    "auth": {
      "method": "token",
      "token": "token"
    },
    "proxies": [{
      "name": "jhit-deepin",
      "type": "tcp",
      "localIP": "127.0.0.1",
      "localPort": 22,
      "remotePort": 50022
    }]
}

Logs

/etc/frp$ sudo ./frpc -c frpc.json

2023/12/21 19:02:10 [I] [root.go:141] start frpc service for config file [frpc.json]
2023/12/21 19:02:10 [I] [service.go:288] try to connect to server...
2023/12/21 19:02:15 [I] [service.go:279] [d70a69d35a2e3cf8] login to server success, get run id [d70a69d35a2e3cf8]
2023/12/21 19:02:15 [I] [proxy_manager.go:173] [d70a69d35a2e3cf8] proxy added: [jhit-deepin]
2023/12/21 19:02:15 [I] [service.go:288] [d70a69d35a2e3cf8] try to connect to server...
2023/12/21 19:02:16 [I] [control.go:169] [d70a69d35a2e3cf8] [jhit-deepin] start proxy success
2023/12/21 19:02:21 [I] [service.go:279] [d70a69d35a2e3cf8] login to server success, get run id [d70a69d35a2e3cf8]
2023/12/21 19:02:21 [I] [proxy_manager.go:173] [d70a69d35a2e3cf8] proxy added: [jhit-deepin]
2023/12/21 19:02:21 [I] [panic.go:884] frpc service for config file [frpc.json] stopped
panic: close of closed channel

goroutine 1 [running]:
github.com/fatedier/frp/client.(*Service).loopLoginUntilSuccess.func1()
        github.com/fatedier/frp/client/service.go:331 +0x498
github.com/fatedier/frp/pkg/util/wait.BackoffUntil(0x40001f99e0, {0x862b40, 0x40000e9710}, 0x1, 0x4000098420)
        github.com/fatedier/frp/pkg/util/wait/backoff.go:135 +0xe0
github.com/fatedier/frp/client.(*Service).loopLoginUntilSuccess(0x4000032460, 0x2540be400, 0x1)
        github.com/fatedier/frp/client/service.go:336 +0x164
github.com/fatedier/frp/client.(*Service).Run(0x4000032460, {0x868a10?, 0x40000340e0?})
        github.com/fatedier/frp/client/service.go:166 +0xf8
github.com/fatedier/frp/cmd/frpc/sub.startService(0x40001b8840, {0x4000189cf0, 0x1, 0x1}, {0xc99300, 0x0, 0x0}, {0xfffff4ffe47f, 0x9})
        github.com/fatedier/frp/cmd/frpc/sub/root.go:159 +0x2a0
github.com/fatedier/frp/cmd/frpc/sub.runClient({0xfffff4ffe47f, 0x9})
        github.com/fatedier/frp/cmd/frpc/sub/root.go:129 +0x138
github.com/fatedier/frp/cmd/frpc/sub.glob..func2(0xc57fc0?, {0x6be840?, 0x2?, 0x2?})
        github.com/fatedier/frp/cmd/frpc/sub/root.go:69 +0x4c
github.com/spf13/cobra.(*Command).execute(0xc57fc0, {0x4000030190, 0x2, 0x2})
        github.com/spf13/cobra@v1.8.0/command.go:983 +0x7b0
github.com/spf13/cobra.(*Command).ExecuteC(0xc57fc0)
        github.com/spf13/cobra@v1.8.0/command.go:1115 +0x364
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.8.0/command.go:1039
github.com/fatedier/frp/cmd/frpc/sub.Execute()
        github.com/fatedier/frp/cmd/frpc/sub/root.go:100 +0x24
main.main()
        github.com/fatedier/frp/cmd/frpc/main.go:23 +0x1c

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
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

Successfully merging a pull request may close this issue.

1 participant