[GH-ISSUE #2326] 启用https2https/https2http插件,大概率报400 bad request #1845

Closed
opened 2026-05-05 13:11:33 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @h3110w0r1d-y on GitHub (Mar 23, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2326

启用插件时,访问网站,大概率会有几个请求时返回400,严重影响网页正常功能。这个400好像是frp直接返回的,nginx日志里没有请求的记录
image

之前用https2http插件也有这个情况

Originally created by @h3110w0r1d-y on GitHub (Mar 23, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2326 启用插件时,访问网站,大概率会有几个请求时返回400,严重影响网页正常功能。这个400好像是frp直接返回的,nginx日志里没有请求的记录 ![image](https://user-images.githubusercontent.com/52311174/112168161-04af9e80-8c2c-11eb-81de-ed3a5eb03c10.png) 之前用https2http插件也有这个情况
gitea-mirror 2026-05-05 13:11:33 -06:00
Author
Owner

@fatedier commented on GitHub (Mar 24, 2021):

有的网站不是简单映射下就能访问了,你的网站里的链接可能千奇百怪,需要保证所有的链接地址都会转发到 frps 所在的服务器才可以。

<!-- gh-comment-id:805448812 --> @fatedier commented on GitHub (Mar 24, 2021): 有的网站不是简单映射下就能访问了,你的网站里的链接可能千奇百怪,需要保证所有的链接地址都会转发到 frps 所在的服务器才可以。
Author
Owner

@ax2009live commented on GitHub (Mar 29, 2021):

@h3110w0r1d-y https2http 插件用于一些比较私人的简单网站,还能用用,( 静态网站是比较合适的 )
用于正规网站有些不合适,建议 frp 只 TCP 转发即可;frp 转发 TCP 是非常成熟的;

<!-- gh-comment-id:809272086 --> @ax2009live commented on GitHub (Mar 29, 2021): @h3110w0r1d-y https2http 插件用于一些比较私人的简单网站,还能用用,( 静态网站是比较合适的 ) 用于正规网站有些不合适,建议 frp 只 TCP 转发即可;frp 转发 TCP 是非常成熟的;
Author
Owner

@github-actions[bot] commented on GitHub (May 14, 2021):

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

<!-- gh-comment-id:840916405 --> @github-actions[bot] commented on GitHub (May 14, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d 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#1845
No description provided.