[GH-ISSUE #4524] https 无法连接 #3575

Closed
opened 2026-05-05 14:17:50 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @CloudMW on GitHub (Nov 4, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4524

Bug Description

http 服务都能连上,就是https 服务死活都连不上
网页显示jellyfin.x.x 花了太长时间进行响应

[proxies.plugin]
type = "https2http"
localAddr = "127.0.0.1:8096"
中的本地端口指向别的服务也不行

frpc Version

0.61

frps Version

0.61

System Architecture

linux/amd64

Configurations

服务器

bindPort = 17000
auth.token = "x"

webServer.addr = "0.0.0.0"
webServer.port = 17001
webServer.user = "x"
#enablePrometheus = true
webServer.password = "x"
#subdomainHost = "x.x"
vhostHTTPPort = 80
vhostHTTPSPort = 8080
tcpmuxHTTPConnectPort = 29538

客户端
部分配置
proxies
name = "jellyfins"
type = "https"
customDomains = ["jellyfin.x.x"]
[proxies.plugin]
type = "https2http"
localAddr = "127.0.0.1:8096"
#HTTPS 证书相关的配置
crtPath = "./jellyfin.mitty.cloud_public.crt"
keyPath = "./jellyfin.mitty.cloud.key"
hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"

Logs

11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:17000
11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [server/service.go:305] http service listen on 0.0.0.0:80
11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [server/service.go:319] https service listen on 0.0.0.0:8080
11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [frps/root.go:114] frps started successfully
11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [server/service.go:351] dashboard listen on 0.0.0.0:17001
11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.740 [I] [server/service.go:576] [277361190dc5f8ed] client login info: ip [ ] version [0.61.0] hostname [] os [linux] arch [amd64]
11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.763 [I] [proxy/https.go:67] [277361190dc5f8ed] [jellyfins] https proxy listen for host [jellyfin.x.x]
11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.763 [I] [server/control.go:399] [277361190dc5f8ed] new proxy [jellyfins] type [https] success
11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.763 [I] [proxy/http.go:111] [277361190dc5f8ed] [frp] http proxy listen for host [frpcweb.x.x] location [] group [], routeByHTTPUser []
11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.763 [I] [server/control.go:399] [277361190dc5f8ed] new proxy [frp] type [http] success

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 @CloudMW on GitHub (Nov 4, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4524 ### Bug Description http 服务都能连上,就是https 服务死活都连不上 网页显示jellyfin.x.x 花了太长时间进行响应 把 [proxies.plugin] type = "https2http" localAddr = "127.0.0.1:8096" 中的本地端口指向别的服务也不行 ### frpc Version 0.61 ### frps Version 0.61 ### System Architecture linux/amd64 ### Configurations 服务器 bindPort = 17000 auth.token = "x" webServer.addr = "0.0.0.0" webServer.port = 17001 webServer.user = "x" #enablePrometheus = true webServer.password = "x" #subdomainHost = "x.x" vhostHTTPPort = 80 vhostHTTPSPort = 8080 tcpmuxHTTPConnectPort = 29538 客户端 部分配置 [[proxies]] name = "jellyfins" type = "https" customDomains = ["jellyfin.x.x"] [proxies.plugin] type = "https2http" localAddr = "127.0.0.1:8096" #HTTPS 证书相关的配置 crtPath = "./jellyfin.mitty.cloud_public.crt" keyPath = "./jellyfin.mitty.cloud.key" hostHeaderRewrite = "127.0.0.1" requestHeaders.set.x-from-where = "frp" ### Logs 11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:17000 11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [server/service.go:305] http service listen on 0.0.0.0:80 11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [server/service.go:319] https service listen on 0.0.0.0:8080 11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [frps/root.go:114] frps started successfully 11月 04 20:32:41 ubuntu frps[13652]: 2024-11-04 20:32:41.646 [I] [server/service.go:351] dashboard listen on 0.0.0.0:17001 11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.740 [I] [server/service.go:576] [277361190dc5f8ed] client login info: ip [ ] version [0.61.0] hostname [] os [linux] arch [amd64] 11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.763 [I] [proxy/https.go:67] [277361190dc5f8ed] [jellyfins] https proxy listen for host [jellyfin.x.x] 11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.763 [I] [server/control.go:399] [277361190dc5f8ed] new proxy [jellyfins] type [https] success 11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.763 [I] [proxy/http.go:111] [277361190dc5f8ed] [frp] http proxy listen for host [frpcweb.x.x] location [] group [], routeByHTTPUser [] 11月 04 20:32:43 ubuntu frps[13652]: 2024-11-04 20:32:43.763 [I] [server/control.go:399] [277361190dc5f8ed] new proxy [frp] type [http] success ### 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
Author
Owner

@CloudMW commented on GitHub (Nov 4, 2024):

服务器https端口是打开的,http配置都可以正常打开

<!-- gh-comment-id:2454626487 --> @CloudMW commented on GitHub (Nov 4, 2024): 服务器https端口是打开的,http配置都可以正常打开
Author
Owner

@CloudMW commented on GitHub (Nov 4, 2024):

已解决,防火墙端口不能是TCP&UDP

<!-- gh-comment-id:2454803389 --> @CloudMW commented on GitHub (Nov 4, 2024): 已解决,防火墙端口不能是TCP&UDP
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#3575
No description provided.