liudf0716 / xfrpc

The xfrpc project is a lightweight implementation of the FRP client written in C language for OpenWRT and IoT systems. It is designed to provide an efficient solution for resource-constrained devices such as OpenWRT routers and IoT devices, which often have limited ROM and RAM space.
GNU General Public License v3.0
719 stars 90 forks source link

连接frps出错,“type incorrect: it should be login response, but 124” #53

Closed Hnisec closed 4 months ago

Hnisec commented 8 months ago

编译和运行环境:Ubuntu 18.04.6 LTS [7][Fri Feb 2 19:04:22 2024]29772 Reading configuration file 'xfrpc_mini.ini' [7][Fri Feb 2 19:04:22 2024]29772 Section[common]: {server_addr:127.0.0.1, server_port:7993, auth_token:(null), interval:30, timeout:90} [7][Fri Feb 2 19:04:22 2024]29772 Proxy service 0: {name:ssh, local_port:22, type:tcp, use_encryption:0, use_compression:0, custom_domains:(null), subdomain:(null), locations:(null), host_header_rewrite:(null), http_user:(null), http_pwd:(null)} [6][Fri Feb 2 19:04:22 2024]29772 connect server [127.0.0.1:7993]... [7][Fri Feb 2 19:04:22 2024]29772 xfrp server connected [7][Fri Feb 2 19:04:22 2024]29772 send plain msg ----> [o: { "version": "0.43.0", "hostname": "", "os": "Linux", "arch": "x86_64", "user": "", "privilege_key": "df256a7763a32c0ea63c595ee36efb88", "timestamp": 1706871862, "run_id": "525400687ED2", "pool_count": 1, "metas": null }] [7][Fri Feb 2 19:04:22 2024]29772 start keep_control_alive [3][Fri Feb 2 19:04:22 2024]29772 type incorrect: it should be login response, but 124 [3][Fri Feb 2 19:04:22 2024]29772 type incorrect: it should be login response, but -28

liudf0716 commented 7 months ago

frps版本呢?看日志好像是frps不支持导致。

liudf0716 commented 4 months ago

已经修复