VaalaCat / frp-panel

a multi node frp webui and for [frp](https://github.com/fatedier/frp) server and client management, which makes this project a Cloudflare Tunnel or Tailscale Funnel open source alternative
GNU General Public License v3.0
633 stars 46 forks source link

启动时报错unknown field \"responseHeaders\"" #60

Open xiao-zie opened 2 months ago

xiao-zie commented 2 months ago

frp-panel-client-linux-arm64版本,启动时报错unknown field \"responseHeaders\""

启动过程日志如下: INFO[0000]/home/runner/work/frp-panel/frp-panel/cmd/frppc/client.go:22 main.runClient() start to run client
INFO[0000]/home/runner/work/frp-panel/frp-panel/biz/client/rpc_pull_config.go:16 github.com/VaalaCat/frp-panel/biz/client.PullConfig() start to pull client config, clientID: [root.c.test] ERRO[0001]/home/runner/work/frp-panel/frp-panel/biz/client/rpc_pull_config.go:41 github.com/VaalaCat/frp-panel/biz/client.PullConfig() cannot load client config error="unmarshal ProxyConfig error: json: unknown field \"responseHeaders\"" ERRO[0001]/home/runner/work/frp-panel/frp-panel/cmd/frppc/client.go:60 main.initClientOnce() cannot pull client config, wait for retry error="unmarshal ProxyConfig error: json: unknown field \"responseHeaders\"" INFO[0001]/home/runner/work/frp-panel/frp-panel/services/rpcclient/rpc_handler.go:95 github.com/VaalaCat/frp-panel/services/rpcclient.StartRPCClient() start to run rpc client
INFO[0001]/home/runner/work/frp-panel/frp-panel/services/rpcclient/rpc_handler.go:29 github.com/VaalaCat/frp-panel/services/rpcclient.RegistClientToMaster() start to regist client to master
INFO[0001]/home/runner/work/frp-panel/frp-panel/watcher/client.go:38 github.com/VaalaCat/frp-panel/watcher.(*client).Run() start to run scheduler, interval: 30s
INFO[0002]/home/runner/work/frp-panel/frp-panel/services/rpcclient/rpc_handler.go:52 github.com/VaalaCat/frp-panel/services/rpcclient.RegistClientToMaster() client get server register envent success, clientID:

后面的日志重复错误内容: ERRO[0241]/home/runner/work/frp-panel/frp-panel/biz/client/rpc_pull_config.go:41 github.com/VaalaCat/frp-panel/biz/client.PullConfig() cannot load client config error="unmarshal ProxyConfig error: json: unknown field \"responseHeaders\""

xiao-zie commented 2 months ago

临时解决方法: 在编辑隧道重新点提交后,client客户端会刷新,服务会重启,转发的隧道也没问题,但使用体验感觉不太方便,希望大佬能看看

image

image