[GH-ISSUE #3865] 树莓派arm构架环境无限重启 #3071

Closed
opened 2026-05-05 13:59:22 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @zhaobingxiang on GitHub (Dec 20, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3865

Bug Description

树莓派4B下运行frpc,服务状态running,但是发现端口无法监听,./frpc -c frpc.toml报下方错误
error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string

frpc Version

0.53.0

frps Version

0.53.0

System Architecture

linux/arm64

Configurations

敏感的 用*代替了,两种键入格式的我都试了,localIp这种格式,local_ip
server_addr = ****
server_port = 999
token = ****
user= zbx
meta_token = 123

[测试]
type="tcp"
localIp="127.0.0.1"
localPort=55555
remotePort = 55556

[web]
type = tcp
local_ip = 127.0.0.1
local_port = 443
remote_port = 8443

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @zhaobingxiang on GitHub (Dec 20, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3865 ### Bug Description 树莓派4B下运行frpc,服务状态running,但是发现端口无法监听,./frpc -c frpc.toml报下方错误 error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string ### frpc Version 0.53.0 ### frps Version 0.53.0 ### System Architecture linux/arm64 ### Configurations 敏感的 用*代替了,两种键入格式的我都试了,localIp这种格式,local_ip server_addr = **** server_port = 999 token = **** user= zbx meta_token = 123 [测试] type="tcp" localIp="127.0.0.1" localPort=55555 remotePort = 55556 [web] type = tcp local_ip = 127.0.0.1 local_port = 443 remote_port = 8443 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [X] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@zhaobingxiang commented on GitHub (Dec 20, 2023):

同样的配置,在amd64环境下正常

<!-- gh-comment-id:1863970899 --> @zhaobingxiang commented on GitHub (Dec 20, 2023): 同样的配置,在amd64环境下正常
Author
Owner

@zhaobingxiang commented on GitHub (Dec 20, 2023):

已解决,写成json了,然后上面的所有字符串都加了“”

<!-- gh-comment-id:1864331281 --> @zhaobingxiang commented on GitHub (Dec 20, 2023): 已解决,写成json了,然后上面的所有字符串都加了“”
Author
Owner

@zhaobingxiang commented on GitHub (Dec 20, 2023):

就好了

<!-- gh-comment-id:1864331573 --> @zhaobingxiang commented on GitHub (Dec 20, 2023): 就好了
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#3071
No description provided.