mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4489] 很神奇的https代理问题 #3549
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3549
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hongnod on GitHub (Oct 14, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4489
Bug Description
在阿里云上买了一台上云服务器,部署frp,内网nginx反向代理seafile和git,提供内网https访问,然后用frp暴露该https到公网。
问题:在PC上chrome和edge访问都没问题,但seafile客户端就是和手机浏览器就是不通,frps的日志里会报join connections closed,如下:
10:16:07.135 [D] [vhost/vhost.go:249] [fdd41d805e96f2c0] [AllServices] new request host [x.y.z] path [] httpUser []
10:16:07.135 [I] [proxy/proxy.go:204] [fdd41d805e96f2c0] [AllServices] get a user connection [1.2.3.4:26645]
10:16:07.135 [D] [server/control.go:272] [fdd41d805e96f2c0] get work connection from pool
10:16:07.135 [D] [proxy/proxy.go:131] [fdd41d805e96f2c0] [AllServices] get a new work connection: [5.6.7.8:6128]
10:16:07.135 [T] [proxy/proxy.go:240] [fdd41d805e96f2c0] [AllServices] handler user tcp connection, use_encryption: true, use_compression: true
10:16:07.135 [D] [proxy/proxy.go:261] [fdd41d805e96f2c0] [AllServices] join connections, workConn(l[a.b.c.d:7117] r[5.6.7.8:6128]) userConn(l[a.b.c.d:443] r[1.2.3.4:26645])
10:16:07.135 [D] [proxy/proxy.go:271] [fdd41d805e96f2c0] [AllServices] join connections closed
10:16:07.152 [D] [server/control.go:243] [fdd41d805e96f2c0] new work connection registered
折腾了几天试了TCP、https、https2http都搞不定
frpc Version
0.60.0
frps Version
0.60.0
System Architecture
linux/amd64
Configurations
frps.toml:
bindPort = xxxx
vhostHTTPSPort = yyy
log.to = "frps.log"
log.level = "trace"
log.maxDays = 3
auth.method = "token"
auth.token = "*****"
frpc.toml:
serverAddr = "aa.bb.cc.dd"
serverPort = xxxx
transport.protocol = "tcp"
log.to = "/srv/frp/frpc.log"
log.level ="trace"
log.maxDays = 3
log.disablePrintColor = false
auth.method = "token"
auth.token = "*****"
transport.tls.enable = false
transport.tls.disableCustomTLSFirstByte = false
transport.poolCount = 1
proxies
name = "AllServices"
type = "https"
#type = "tcp"
localIP = "127.0.0.1"
localPort = yyy
#remotePort = yyy
transport.useEncryption = true
transport.useCompression = true
customDomains = ["a.ccc.com","b.ccc.com"]
Logs
10:16:07.135 [D] [vhost/vhost.go:249] [fdd41d805e96f2c0] [AllServices] new request host [x.y.z] path [] httpUser []
10:16:07.135 [I] [proxy/proxy.go:204] [fdd41d805e96f2c0] [AllServices] get a user connection [1.2.3.4:26645]
10:16:07.135 [D] [server/control.go:272] [fdd41d805e96f2c0] get work connection from pool
10:16:07.135 [D] [proxy/proxy.go:131] [fdd41d805e96f2c0] [AllServices] get a new work connection: [5.6.7.8:6128]
10:16:07.135 [T] [proxy/proxy.go:240] [fdd41d805e96f2c0] [AllServices] handler user tcp connection, use_encryption: true, use_compression: true
10:16:07.135 [D] [proxy/proxy.go:261] [fdd41d805e96f2c0] [AllServices] join connections, workConn(l[a.b.c.d:7117] r[5.6.7.8:6128]) userConn(l[a.b.c.d:443] r[1.2.3.4:26645])
10:16:07.135 [D] [proxy/proxy.go:271] [fdd41d805e96f2c0] [AllServices] join connections closed
10:16:07.152 [D] [server/control.go:243] [fdd41d805e96f2c0] new work connection registered
Steps to reproduce
...
Affected area
@xqzr commented on GitHub (Oct 15, 2024):
域名未备案
@hongnod commented on GitHub (Oct 17, 2024):
非常感谢!