[GH-ISSUE #4946] failed to connect to the local service when use tcp mode #3900

Closed
opened 2026-05-05 14:29:20 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @showeriszero on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4946

Bug Description

local service is a Nginx server.
It can work on chrome in the macos system, but not on safari and iOS chrome.
use curl -vk https:// show error:

  • Connected to (xxx.xxx.xx.xx) port 443
  • ALPN: curl offers h2,http/1.1
  • (304) (OUT), TLS handshake, Client hello (1):
  • Recv failure: Connection reset by peer
  • LibreSSL/3.3.6: error:02FFF036:system library:func(4095):Connection reset by peer
  • Closing connection
    curl: (35) Recv failure: Connection reset by peer

frpc Version

0.64.0,0.61_1

frps Version

0.64.0,0.61_1

System Architecture

linux/amd64

Configurations

fprs.toml
bindPort = 8000

fprc.toml
serverAddr = "xxx.xxx.xx.xx"
serverPort = 8000

log.to = "/usr/local/frp_0.61.1_linux_amd64/frpc.log"

trace, debug, info, warn, error

log.level = "debug"
log.maxDays = 3

proxies
name = "test-tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 9000

proxies
name = "test-tcp1"
type = "tcp"
localIP = "127.0.0.1"
localPort = 443
remotePort = 443

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 @showeriszero on GitHub (Aug 19, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4946 ### Bug Description local service is a Nginx server. It can work on chrome in the macos system, but not on safari and iOS chrome. use curl -vk https://<my domain > show error: * Connected to <my domain>(xxx.xxx.xx.xx) port 443 * ALPN: curl offers h2,http/1.1 * (304) (OUT), TLS handshake, Client hello (1): * Recv failure: Connection reset by peer * LibreSSL/3.3.6: error:02FFF036:system library:func(4095):Connection reset by peer * Closing connection curl: (35) Recv failure: Connection reset by peer ### frpc Version 0.64.0,0.61_1 ### frps Version 0.64.0,0.61_1 ### System Architecture linux/amd64 ### Configurations fprs.toml bindPort = 8000 fprc.toml serverAddr = "xxx.xxx.xx.xx" serverPort = 8000 log.to = "/usr/local/frp_0.61.1_linux_amd64/frpc.log" # trace, debug, info, warn, error log.level = "debug" log.maxDays = 3 [[proxies]] name = "test-tcp" type = "tcp" localIP = "127.0.0.1" localPort = 22 remotePort = 9000 [[proxies]] name = "test-tcp1" type = "tcp" localIP = "127.0.0.1" localPort = 443 remotePort = 443 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:29:20 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 3, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3247243953 --> @github-actions[bot] commented on GitHub (Sep 3, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#3900
No description provided.