mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3367] Get HTTP/2 error on my fiveM server proxied through FRP #2692
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#2692
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 @samskrillz on GitHub (Mar 19, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3367
Bug Description
Hi all, I'm getting a little bit out of idea, and would like to see if anyone here could help me ...
So I have a FiveM server. I want to use FRP to tunnel the connection and then protect it against ddos attack (the server where frp is, are protect against ddos attack). My problem is, sometime I get this error ; Failed handshake to server https://play.destiny-roleplay.com:30120/ - HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) - CURL error code 92 (Stream error in the HTTP/2 framing layer) when trying to connect on my FiveM Server. I tried to troubleshoot, but without success... I'm wondering if there is something I forget to activate and I get this error? Any help would be very appreciated Thank you!!
frpc Version
0.47.0
frps Version
0.47.0
System Architecture
linux/adm64
Configurations
[common]
server_addr = 45.79.xxx.xxx
server_port = 7000
tls_enable = true
tls_cert_file = ./certificate.crt
tls_key_file = ./certificate.key
tls_trusted_ca_file = ./ca.crt
http2_enabled = true
[RDP1]
type = tcp
remote_port = 13388
local_ip = 10.0.2.15
local_port = 3389
[RDP2]
type = udp
remote_port = 13388
local_ip = 10.0.2.15
local_port = 3389
[RDP3]
type = tcp
remote_port = 13389
local_ip = 192.168.2.22
local_port = 3389
[RDP4]
type = udp
remote_port = 13389
local_ip = 192.168.2.22
local_port = 3389
[DESTINY1]
type = udp
remote_port = 30120
local_ip = 23.137.xx.xx
local_port = 301xx
use_encryption = true
[DESTINY2]
type = tcp
remote_port = 30120
local_ip = 23.137.xx.xx
local_port = 301xx
use_encryption = true
Logs
No response
Steps to reproduce
...
Affected area
@Becods commented on GitHub (Mar 19, 2023):
You are using tcp instead of http.
That means the problem is caused by FIVEM or the client.
Try a direct connection to check if the error is caused by FIVEM.
@samskrillz commented on GitHub (Mar 19, 2023):
You seems right. Because the error only occur if I try to connect on the server with the "history"
but there is another way to connect, in FIVEM if you do "F8" you can do connect play.destiny-roleplay.com per example and it work each time... the only thing it's we want to let the user to reconnect with the "server history" as well. But, you seems right when you say that it's probably caused by Fivem. Thank you very much, will investigate more.
Have a nice one
@samskrillz commented on GitHub (Mar 19, 2023):
Okay, I investigated a little bit more. I was curious, I installed Nginx and did the config. All work well. I got the same error. I tried another thing, I did F8 connect http/https://play.destiny-roleplay.com(instead of only play.destiny-roleplay.com) it connect and ... as well in the server history !!! So I conclude it's a bug in the FIVEM client, which nobody here have control over that. Thanks for the reply very appreciate. Also FRPS it's a goat !!! Work so well to proxy thing under NAT. Have a nice one
@ax2009live commented on GitHub (Apr 15, 2023):
@samskrillz Is that the reason?
if you do not want connection sharing to happen, have a different IP address and/or ensure no overlaps in certificates,