mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4278] frp返回错误的页面,访问不同子域名时返回错误页面 #3375
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#3375
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 @zackeryyy00 on GitHub (Jun 13, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4278
Bug Description
标题: 子域名路由问题:访问不同子域名时返回错误页面
描述:
我在使用FRP进行内网穿透时遇到一个问题,当访问不同的子域名时,会返回错误的页面。当我访问一个子域名(例如
https://subdomain1.example.com:3443)时,页面显示正常。但随后访问另一个子域名(例如https://subdomain2.example.com:3443)时,返回的却是第一个子域名的页面。这个问题在不同的设备和网络环境下都存在。关闭浏览器或使用无痕模式可以暂时解决问题,但在切换子域名后问题又会出现。预期行为:
每个子域名应该显示其对应的页面,不应被其他子域名干扰。
实际行为:
访问一个子域名后,再访问另一个子域名会返回错误的页面。
附加信息:
环境:
frpc Version
0.58.1
frps Version
0.58.1
System Architecture
linux/amd64,windows/amd64
Configurations
客户端配置 (
frpc.toml):服务端配置 (
frps.toml):Logs
日志似乎没什么特殊的(使用gpt隐去了域名ip等):
Steps to reproduce
https://subdomain1.example.com:3443,页面显示正常。https://subdomain2.example.com:3443,页面显示为https://subdomain1.example.com:3443的内容。https://subdomain2.example.com:3443,页面显示正常。https://subdomain1.example.com:3443,页面显示为https://subdomain2.example.com:3443的内容。Affected area
@xqzr commented on GitHub (Jun 13, 2024):
很早之前也遇到过,当时没有解决
应该是和 TLS Session Ticket 有关 https://cong5.net/post/nginx-ssl-session-tickets-error
@yuhuazhu commented on GitHub (Jun 27, 2024):
同样遇到了该问题,试着把TLS Session Ticket禁用了,还真可以了,真棒! @xqzr